-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Quick Open: arrow keys don't work with certain German keyboard #5344
Quick Open: arrow keys don't work with certain German keyboard #5344
Comments
I can't reproduce these problems on Win 7 at work or Win 8 at home. (Except for the cursor jumping when you hit the up arrow, which I think is a known issue). Also @SAplayer I assume you meant Ctrl+Shift+O, right? If not, do you have some sort of keyboard shortcut customizer extension running? It would be good to see if these problems occur with all your extensions disabled. (You can do that via Help > Show Extensions Folder and then temporarily moving everything from "user" into the "disabled" folder). |
Oops, I see you already tested with extensions disabled. It seems unlikely this is due to OS locale, but... do you have access to another German Windows machine to see if it occurs there? Or alternatively to a non-German machine to see if it doesn't occur there? You could also put a breakpoint in Also, make sure this occurs on the very first launch of Quick Open, e.g.:
Do those steps open the wrong file? If not, what other steps do you need to do first? (There might be some precursor steps that get Quick Open into a bad state). |
Yes, I meant Ctrl+Shift+O, sorry for that. |
It works on my old computer (vista, german), but as I said it works not on my normal pc (just restarted and so on...) As I logged events with Is there maybe anyone who has a similar problem? EDIT: Okay, I've tested a bit more and my result is, that the failed second call comes from EDIT 2: With |
Okay, I just found the reason but I don't know if I can fix it myself (I will try tomorrow): |
Ok, I just tested this with a Win7 (german) pc, it works and I only get _handleShowResults when I type, but not when I focus an entry. So this IS the problem. On my "normal" pc (I haven't got access to it until sunday...) _handleShowResults is also called when the focus changed. It seems to be a problem in there, but I'm sure it can also be fixed within brackets. |
Ok, now it gets weird. I have tested it with some more console.log(). The most important is this one:
(just search for the first line to find it). But I gets weirder: Can anyone please help me fixing this? Can this be fixed within brackets or must smart-autocomplete be updated? EDIT: Just pushed to the original repo, hope it will be fixed soon |
@dangoor - you got it. |
I hardly know anything about submodules, so my question is: Can we run code that is not in the main repo (to fix this issue)? |
@SAplayer submodules refer to an external repository at a given commit, so we can't patch our copy alone the way we have things set up. We could fork the original repository and change our submodule to report to that if we had to. Ultimately, as you noticed, we'd like to migrate to a cleaner autocompletion mechanism. |
Yes, maybe we can take a fork of the current submodule as a base to edit it to our preferences. But this has no priority as it seems this only happens to me. |
FYI, see the comments in #4791 - we're going to go ahead and pull smart-autocomplete into our repo and fix the keydown/keyup issue you noted. Once that's merged, if you'd like to look into this further, please do. |
I've read along as long as it existed - silently. FYI, in the current version of smart autocomplete, this bug is already fixed. And if you want me to, I can create a PR to pull smart autocomplete in. |
Yup, I just noticed that you had submitted a patch previously. I'll take care of pulling it in. Thanks. |
Yes, it works! (with #5872) |
#5872 is merged into master now, so closing this - let us know if you're still seeing it. |
Steps:
Results:
At step 4, the visual focus (blue) of the element flashes shortly, then it returns to gray.
Also, the cursor jumps from the beginning (arrow-up) to the end (arrow-down) of the input field.
At step 6, the file mentioned in the first entry is opened every time - no matter what you really have selected
If you do this with the mouse, everything works just fine.
Expected:
The entries can be selected and entered with just the keyboard
ENV: Windows 8 German
Build: 0.31.0-9569 (On branch sprint-31-hotfix,sprint-31-hotfix dd28c6a), 0.32.0-0 (master a6f426c99) -- (both tested)
Tested with extensions disabled
The text was updated successfully, but these errors were encountered: