Change:
<!-- Please search existing issues to avoid creating duplicates. --<!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: --Since the 1.36 update, every single time i click on anything inside VS Code, the onscreen keyboard pops up and the VS code window resizes to fit the screen that's left. I tried reinstalling 1.35 and that fixed the issue. I also tried installing the insider build and the issue was there too. VS Code is the only program or window it seems that makes the onscreen keyboard appear so it's not an issue with the keyboard. Plus going to the earlier version fixed it. I am using a 2-in-1 tablet pc and this is happening when the screen is docked with a keyboard attached. Basically, it seems like VS code doesn't know a keyboard is attached and keeps making the onscreen keyboard pop up when it thinks you want to enter text. <!-- Use Help Report Issue to prefill these. --- VSCode Version: 1.36 OS Version: Windows 10 32-bit Does this issue occur when all extensions are disabled?: Yes
did we do anything special here for the Web.
can you check if this happens in other applications too? E.g. Chrome?
They on-screen keyboard only comes up with the newest VS code version. 1.36 and the insider build which i tried. It's really consistent with just this program. And every time i click on anything where it might expect me to enter text. I made sure the setting for "Show the touch keyboard when not in tablet mode " is set to off in typing settings. I tried turning it on and when i do, the onscreen keyboard still pops up all the time in VS code but for other programs, it only pops up if i click something with my finger on the touchscreen and not the mouse. I also tried the trackpad on the keyboard and its the same with the onscreen keyboard popping up in just VS Code.
Somewhat related:
any clues?
whats the build version of windows 10 you are running ? Also can you try launching vscode with the following flag see if there is a difference. Thanks!
I tried launching vscode insiders from the command line with those flags and it didn't make a difference. The only thing that seems to stop the keyboard from popping up is disabling the touch keyboard from services but then I cant use it for anything else. Im using windows version 1511 build .1176 Its an older computer with an Atom processessor. Z3735F 2GB Ram.
thanks for testing, but based on this chromium issue comment , it seems there are issues with windows version less than RS4 . But the fact that you are seeing this issue only with vscode and not chrome is a bit confusing. I will get a touch device tomorrow and try to narrow down the source of this issue. In the meantime is it possible for you to update the windows version ?
I didn't realize my windows version was so old. I'm using an old tablet. It doesn't seem to be able to update windows beyond what I have now.
can you also mention the windows 10 build version you are running ? Also can you download the chromium browser from here which is the same version stable release uses and check if the issue is present. Thanks! I tried to verify the issue on Lenovo thinkpad X1 Carbon with windows 10 build version 1903 but wasn't able to.
Can you also see if you are able to workaround the issue temporarily by launching vscode with /cc
I couldn't run the version of chromium you linked because i'm using 32-bit windows but I did find a version with a similar date that was 32 bit and it's causing the same issue of the on-screen keyboard popping up. I downloaded win32rel579575_chrome- Also i tried launching vscode the way you said to disable usb keyboard input and it made no difference. Im using windows version 1511 build .1176
I'm using Windows 8.1 - Windows_NT x64 6.3.9600
Thanks for testing! I was able to find a similar issue in upstream , will try to backport the fix and see if it resolves the issue.
Thanks for replying so quickly. Version: 1.35.1 (system setup) Commit: Date: 2019-06-12T14:30:02.622Z Electron: 3.1.8 Chrome: 66.0.3359.181 10.2.0 V8: 6.6.346.32 OS: WindowsNT x64 6.3.9600 Sorry, but I had to downgrade to 1.35.1 so that I could continue development. Let me know if Yeppoh's feedback isn't sufficient and I'll try the other things you suggested. Regards, itbgcthate __ From: Robo <: Friday, July 5, 2019 2:43 PM To: microsoft/vscode Cc: itbgcthate; Mention Subject: Re: [microsoft/vscode] The on-screen keyboard opens anytime i click on anything inside VS Code () you also mention the windows 10 build version you are running ? Also can you download the chromium browser from here which is the same version 1.36 stable release uses and check if the issue is present. Thanks! I tried to verify the issue on Lenovo thinkpad X1 Carbon with windows 10 build version 1903 but wasn't able to. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread
Should this have been fixed in 1.36.1? I'm seeing the same behavior.
the fix from electron has not been released yet, will update here once we have a release with the fix. Thanks!
Same issue here. I'm also using an older Windows tablet with an older 32-bit build. Thanks for investigating this!
Same issue, downgraded to 1.35.1 and the issue went away

Discussion:
disturl "https://atom.io/download/electron" <del> target "4.2.5" </del> <ins> target "4.2.7" </ins> runtime "electron"

"git": { "name": "electron", "repositoryUrl": "https://github.com/electron/electron", <del> "commitHash": "5d67ec3da5376a5058990e8a9557bc9124ad59a8" </del> <ins> "commitHash": "36ea114ac0616e469e75ae94e6d53af48925e036" </ins> } }, "isOnlyProductionDependency": true, "license": "MIT", <del> "version": "4.2.5" </del> <ins> "version": "4.2.7" </ins> }, { "component": {

<del> // Type definitions for Electron 4.2.5 </del> <ins> // Type definitions for Electron 4.2.7 </ins> // Project: http://electronjs.org/ // Definitions by: The Electron Team <https://github.com/electron/electron> // Definitions: https://github.com/electron/electron-typescript-definitions

* Creates a new NativeImage instance from the NSImage that maps to the given image * name. See NSImageName for a list of possible values. The hslShift is applied to * the image with the following rules This means that [-1, 0, 1] will make the <del> * image completely white and [-1, 1, 0] will make the image completely black. In * some cases, the NSImageName doesn't match its string representation; one example * of this is NSFolderImageName, whose string representation would actually be * NSFolder. Therefore, you'll need to determine the correct string representation * for your image before passing it in. This can be done with the following: echo * -e '#import <Cocoa/Cocoa.h>nint main() { NSLog(@"%@", SYSTEM_IMAGE_NAME); }' | * clang -otest -x objective-c -framework Cocoa - && ./test where SYSTEM_IMAGE_NAME * should be replaced with any value from this list. </del> <ins> * image completely white and [-1, 1, 0] will make the image completely black. In * some cases, the NSImageName doesn't match its string representation; one example * of this is NSFolderImageName, whose string representation would actually be * NSFolder. Therefore, you'll need to determine the correct string representation * for your image before passing it in. This can be done with the following: echo * -e '#import <Cocoa/Cocoa.h>nint main() { NSLog(@"%@", SYSTEM_IMAGE_NAME); }' | * clang -otest -x objective-c -framework Cocoa - && ./test where SYSTEM_IMAGE_NAME * should be replaced with any value from this list. </ins> */ static createFromNamedImage(imageName: string, hslShift: number[]): NativeImage; /**

once(event: 'unlock-screen', listener: Function): this; addListener(event: 'unlock-screen', listener: Function): this; removeListener(event: 'unlock-screen', listener: Function): this; <ins> /** * Calculate the system idle state. idleThreshold is the amount of time (in * seconds) before considered idle. callback will be called synchronously on some * systems and with an idleState argument that describes the system's state. locked * is available on supported systems only. */ querySystemIdleState(idleThreshold: number, callback: (idleState: 'active' | 'idle' | 'locked' | 'unknown') => void): void; /** * Calculate system idle time in seconds. */ querySystemIdleTime(callback: (idleTime: number) => void): void; </ins> } interface PowerSaveBlocker extends EventEmitter {

* The new RGBA color the user assigned to be their system accent color. */ newColor: string) => void): this; <del> /** * NOTE: This event is only emitted after you have called * startAppLevelAppearanceTrackingOS */ on(event: 'appearance-changed', listener: ( /** * Can be `dark` or `light` */ newAppearance: ('dark' | 'light')) => void): this; once(event: 'appearance-changed', listener: ( /** * Can be `dark` or `light` */ newAppearance: ('dark' | 'light')) => void): this; addListener(event: 'appearance-changed', listener: ( /** * Can be `dark` or `light` */ newAppearance: ('dark' | 'light')) => void): this; removeListener(event: 'appearance-changed', listener: ( /** * Can be `dark` or `light` */ newAppearance: ('dark' | 'light')) => void): this; </del> on(event: 'color-changed', listener: (event: Event) => void): this; once(event: 'color-changed', listener: (event: Event) => void): this; addListener(event: 'color-changed', listener: (event: Event) => void): this;

* The type of media access being requested, can be video, audio or unknown */ mediaType: ('video' | 'audio' | 'unknown'); <ins> /** * The last URL the requesting frame loaded */ requestingUrl: string; /** * Whether the frame making the request is the main frame */ isMainFrame: boolean; </ins> } interface PermissionRequestHandlerDetails { /** * The url of the openExternal request. */ <del> externalURL: string; </del> <ins> externalURL?: string; </ins> /** * The types of media access being requested, elements can be video or audio */ <del> mediaTypes: Array<'video' | 'audio'>; </del> <ins> mediaTypes?: Array<'video' | 'audio'>; /** * The last URL the requesting frame loaded */ requestingUrl: string; /** * Whether the frame making the request is the main frame */ isMainFrame: boolean; </ins> } interface PluginCrashedEvent extends Event {

"@types/webdriverio": "4.6.1", "concurrently": "^3.5.1", "cpx": "^1.5.0", <del> "electron": "4.2.5", </del> <ins> "electron": "4.2.7", </ins> "htmlparser2": "^3.9.2", "mkdirp": "^0.5.1", "mocha": "^5.2.0",

semver "^5.4.1" sumchecker "^2.0.2" <del> electron@4.2.5: version "4.2.5" resolved "https://registry.yarnpkg.com/electron/-/electron-4.2.5.tgz#1d1432c38e2b2190318f7ca30897cdfdcf942e5a" integrity sha512-P132MXzTtyn2ZaekhKi5JeHzmTAMuR/uQt4hrg3vfJV7fpncx9SL6UFwHAK1DU13iiyZJqqIziNUu+o8nODHsA== </del> <ins> electron@4.2.7: version "4.2.7" resolved "https://registry.yarnpkg.com/electron/-/electron-4.2.7.tgz#bdd2dbf489a4a4255405bd8330cc8509831d29ba" integrity sha512-Azpkw0OPzKVipSsN9/0DrBQhXOpG48Q1gTG7Akchtv37s8TijMe403TUgHxGGhw2ti117ek51kYf7NXLhjXqoA== </ins> dependencies: "@types/node" "^10.12.18" electron-download "^4.1.0"