-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
User keybindings break if conditions on the default binding change #53730
Comments
Also, by default, Ctrl+Down is bound to
If we accept the following goals:
Then it's clear we need to separate the current Ctrl+Up and Ctrl+Down into two separate sets Up/Down pairs: one for moving and one for jumping. Up and Down are moves. Move smoothly between input boxes and results
Ctrl+Up and Ctrl+Down are jumps. Jump between sections (input boxes and results) without changing the selected result
and EDIT Ctrl+direction is often used for jumping focus in larger increments: jump cursor by word, jump between suggestions, jump between input boxes Alt+direction seems to be a little more ad hoc. Sometimes it jumps, sometimes it navigates, sometimes it makes modifications. It generally seems to be the 'secondary action' modifier. Therefore, it appears that Alt+Up/Down should be used for navigating through the search history, Up/Down should move to adjacent UI, and Ctrl+Up/Down should jump between regions. |
We should have documented this better in the release notes, thanks for clarifying this in case someone else runs into this issue. There is no intent to change this again but we should avoid these issues in the future if possible. /cc @sandy081 I think #53730 (comment) is for you |
@bpasero Should I open a separate issue for my second comment? Ctrl+Up and Ctrl+Down bindings in the search panel are...problematic. |
@akbyrd Thanks for your explanation about how navigation with up and down arrows with ctrl/alt modifiers. Using up/down arrows for history navigation is the intuitive way (e.g., navigating commands in debug console) and also most users wanted #12645. Hence, we used up/down arrows consistently for navigating history across the product. I am bit lost with overall description, So can you please file a separate issue for how you expect ctrl+up and ctrl+down keybindings should work in search view and what is missing in it? Thanks |
Issue Type: Bug
Before upgrading to 1.25 I had the following keybinding:
This binding was generated by VS Code when I removed the default keybinding that I did not want.
After upgrading I find that Ctrl+W once again closes the window. It turns out the condition changed on the default binding, which breaks the disabled binding VS Code itself generated. So I manually updated it to match.
The issue here is that my keybindings should not break when upgrading VS Code. This is a workflow interruption and it makes me apprehensive about updating. I can imagine a number of solutions to this:
VS Code version: Code 1.25.0 (0f080e5, 2018-07-05T13:11:58.697Z)
OS version: Windows_NT x64 10.0.17134
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: enabled
video_encode: enabled
vpx_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (15)
(1 theme extensions excluded)
The text was updated successfully, but these errors were encountered: