-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Delete, Insert, Home, End, PgUp, PgDn, and arrow keys no longer work editor in 1.11 #24107
Comments
I just logged in here to post this very same issue. Exact same story here using same Ubuntu version. Downgraded to same as workaround. Showstopper bug. Big test escape! |
Windows appears okay |
Which keyboard layout are you using? |
I've the same problem but with keys on numpad keyboard. "Normal" keys work fine. |
@chrmarti I'm using default/QWERTY, and the physical keyboard is US English |
I'm seeing the same issue as @CameronAckermanSEL, same Ubuntu version and VScode version. |
QWERTY here too. Nothing weird keyboard wise. Cursor keys work in other code windows (like the Search edit boxes) but not in the editor pane. |
Hi, can you please try: Attach what the C++ node module reads
Check what values we get from Chromium
Check what Chromium does on your distribution
Read more about keybindingshttps://github.com/Microsoft/vscode/wiki/Keybindings Possible workaround
RelatedDo you use Linux on actual hardware or do you run it in a VM/connect to it via some remoting software? |
My mappings are: Chromium is returning the wrong keycodes for some reason: In all cases, we are getting the correct Key property. My linux OS is on physical hardware but I am accessing it over remote desktop XVNC The work around functions as expected. Thanks! |
@CameronAckermanSEL Given this has been reported once before in #21780 and it turned out to be an issue within Chromium, where we received garbage scan codes, could you please continue the troubleshooting in the following direction: Check what values we get from Chromium
Check what Chromium does on your distribution
|
@alexandrudima Firefox is totally nonfunctional on my system so maybe someone else can try it, sorry! |
@CameronAckermanSEL This confirms that it is indeed a case of invalid values coming in from Chromium in the Here is a workaround: force us to go back to Could you also pretty please open an issue against Chromium. They might have all the know-how in driving and finding the root cause of this. In other words, |
@alexandrudima I'm somewhat reluctant to do that because I don't have any domain experience in Chromium or how it's consumed in VSCode, and I'm not sure I'd be able to articulate a functional bug report. It's one thing for me to report something against this project as I'm consuming it directly and seeing a problem here. It's another thing to report a defect in an API that I'm using indirectly at best. |
@CameronAckermanSEL e.g. of bug report:
Steps to reproduce:
Those steps have nothing to do with VS Code and will impact anybody using Chromium or any browser based on Chromium (e.g. Chrome) on Linux. Someone from the Chromium team will pick up the issue and perhaps ask you more information such that they are able to reproduce (same as I'm doing here). My problem is: I cannot reproduce this bug. I cannot provide more information to the Chromium developers about the setup that leads to this bug. They are competent, they have an interest for Chromium to work correctly on all platforms and configurations and will ask you the right questions. i.e. I have no clue what OS settings might lead to this bug reproducing, but they might. |
https://bugs.chromium.org/p/chromium/issues/detail?id=709242 @alexandrudima Also thanks for helping me with the verbage of that report, really appreciate the assistance. |
I reinstalled 1.11 and can confirm the workaround "keyboard.dispatch": "keyCode" resolves the issue. |
Maybe It is happen on remote desktop. |
Yes, I am using X2Go on Windows to a remote VM running Linux. |
There's a high probability that it's related to RDP |
Thanks for this. I can confirm the keyboard.dispatch setting resolved the issue on my system as well. (Fedora 25 w/ MATE Desktop). |
Can someone please verify this works on the latest Insiders release (from today). i.e. this should now work even without the setting |
verified by code review |
I am having this issue again with VS Code 1.13.1 on linux (xubuntu 16.04) over xrdp. |
Steps to Reproduce:
When I started up Visual Studio Code after upgrading I got a warning that it messed with my keybindings. I've inspected them and I don't see anything that has changed. Downgrading to 1.10.2 resolves the issue.
The text was updated successfully, but these errors were encountered: