-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Cannot navigate the file using keyboard arrows #21780
Comments
Same issue, no extensions in common.
|
I bisected the versions available:
|
I installed
None, should I run it with a command line argument to see some output?
The initial |
In case it's relevant:
|
Thank you very much for following through with this information. From the From us printing unknown, it also appears that our code interpretation logic is correct, i.e. we have no clue what to do with the keys The problem is that, under your system, Electron/Chromium completely messes up Moreover, it looks like Action for me:I will add a setting (off by default) which will force keyboard dispatching to use Action for you:Since the root cause of this issue appears to be in Electron/Chromium, could you please use Chromium and try the arrow keys at https://jsfiddle.net/v1gz5c5m/1/ . You could also compare the output with Firefox (the output should be the same, i.e. scan codes should match what you press ). If Chromium prints good scan codes in the jsfiddle, it means that Chromium has already fixed this issue and once we adopt newer versions (we are now on version 53), we should at some point get the fix. If Chromium prints crazy scan codes, then please consider creating an issue against them at https://bugs.chromium.org/p/chromium/issues/list |
|
This is probably not good, right? My Chromium on Linux is also showing weird keycodes on arrow presses. This is Google Chrome on Windows: One last quirk of my environment: I am using X11 forwarding. Is that possibly what the issue is? I would guess not, because it's reading the appropriate "key" value, it's the "code" that's very strange. And my locale, keyboard configuration, and so on are identical between the Windows OS and the Ubuntu 16.10 VM. |
This appears to be a similar issue with Atom: [1] https://discuss.atom.io/t/ctrl-arrow-key-sends-unrelated-combination-to-atom/36405/3 But it also looks to be slightly different, their issue seems to be that the code is incorrect when using modifiers. My arrow keys don't work when not using modifiers. As with their articles, my X keyboard map appears correct:
Since my X11 remoting is working just fine, and old versions of Chromium work fine, I don't think it's related to me using X11 forwarding. The other bugs do not include it, and have the same symptoms. (Down arrow is NumpadEnter, other arrows are IME codes, apparently "Lang3" is for Hiragana?!) |
@AaronFriel Having the issue reproducing under Chromium is somewhat of a good thing. It means you are fully equipped to file a bug against https://bugs.chromium.org/p/chromium/issues/list All that would be needed for you to prove it is a Chromium issue is to run the same test under Firefox and show that Firefox does the right thing. If you create an issue, please link to it here in the comments. Thanks! P.S. starting with today's insiders you should be able to use |
Should |
@alexandrudima Could you help me out by describing what a good bug report would look like? It would be very helpful! |
I am very confused! Firefox has the same issue? But if I use the
I can even rebind arrows with Note that Chromium and Firefox agree:
But what on earth is |
@AaronFriel Even if both browsers show the same weird values for I am no expert in this topic, but a quick search in Chromium's sources shows how they extract these values from an
|
@roblourens Thanks for trying to verify. On OSX, the 1.10 behaviour was more complicated than using |
@roblourens I am still perplexed by what causes the weird keycode values. |
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: