Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The on-screen keyboard opens anytime i click on anything inside VS Code #76560

Closed
murckee opened this issue Jul 4, 2019 · 19 comments · Fixed by #77620
Closed

The on-screen keyboard opens anytime i click on anything inside VS Code #76560

murckee opened this issue Jul 4, 2019 · 19 comments · Fixed by #77620
Assignees
Labels
electron Issues and items related to Electron upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
Milestone

Comments

@murckee
Copy link

murckee commented Jul 4, 2019

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.

  • VSCode Version: 1.36
  • OS Version: Windows 10 32-bit

Does this issue occur when all extensions are disabled?: Yes

@dbaeumer
Copy link
Member

dbaeumer commented Jul 4, 2019

@bpasero @rebornix did we do anything special here for the Web.

@bpasero bpasero added electron Issues and items related to Electron electron-4.0.x-update upstream Issue identified as 'upstream' component related (exists outside of VS Code) labels Jul 4, 2019
@bpasero
Copy link
Member

bpasero commented Jul 4, 2019

@murckee can you check if this happens in other applications too? E.g. Chrome?

@murckee
Copy link
Author

murckee commented Jul 4, 2019

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.

@bpasero
Copy link
Member

bpasero commented Jul 4, 2019

Somewhat related: electron/electron#6430

@bpasero
Copy link
Member

bpasero commented Jul 4, 2019

@deepak1556 any clues?

@deepak1556
Copy link
Contributor

@murckee 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!

> code <file/path> --enable-features=InputPaneOnScreenKeyboard

@murckee
Copy link
Author

murckee commented Jul 4, 2019

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 10586.1176

Its an older computer with an Atom processessor. Z3735F 2GB Ram.

@deepak1556
Copy link
Contributor

deepak1556 commented Jul 5, 2019

@murckee thanks for testing, but based on this chromium issue comment https://bugs.chromium.org/p/chromium/issues/detail?id=497381#c135 , 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 ?

@murckee
Copy link
Author

murckee commented Jul 5, 2019

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.

@deepak1556
Copy link
Contributor

@itbgcthate @Yeppoh can you also mention the windows 10 build version you are running ? Also can you download the chromium browser from here https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Win_x64/576753/ 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.

@deepak1556
Copy link
Contributor

deepak1556 commented Jul 5, 2019

Can you also see if you are able to workaround the issue temporarily by launching vscode with

> code <file/path> --disable-usb-keyboard-detect

/cc @murckee

@murckee
Copy link
Author

murckee commented Jul 5, 2019

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 win32_rel_579575_chrome-win32.zip.

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 10586.1176

@Yeppoh
Copy link

Yeppoh commented Jul 5, 2019

@deepak1556 I'm using Windows 8.1 - Windows_NT x64 6.3.9600

@deepak1556
Copy link
Contributor

Thanks for testing! I was able to find a similar issue in upstream https://bugs.chromium.org/p/chromium/issues/detail?id=871756 , will try to backport the fix and see if it resolves the issue.

@itbgcthate
Copy link

itbgcthate commented Jul 6, 2019 via email

@deepak1556 deepak1556 added this to Unsorted Issues in Electron Jul 8, 2019
@deepak1556 deepak1556 moved this from Unsorted Issues to In Progress in Electron Jul 8, 2019
@deepak1556 deepak1556 moved this from In Progress to Fixed in Electron Jul 10, 2019
@itbgcthate
Copy link

Should this have been fixed in 1.36.1? I'm seeing the same behavior.

@deepak1556
Copy link
Contributor

@itbgcthate the fix from electron has not been released yet, will update here once we have a release with the fix. Thanks!

@joelzehring
Copy link

Same issue here. I'm also using an older Windows tablet with an older 32-bit build. Thanks for investigating this!

@dseeker
Copy link

dseeker commented Jul 31, 2019

Same issue, downgraded to 1.35.1 and the issue went away

@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
electron Issues and items related to Electron upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

10 participants