-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Fix logic for changing keybindings in shortcut editor #16214
Fix logic for changing keybindings in shortcut editor #16214
Conversation
Thanks for making a pull request to jupyterlab! |
The data for use by commands were set on level of individual keys rather than on the level of individual keybindings which let to context menu working on a different item than one would expect (based on key number, not keybinding number).
Hi Mike, Screen.Recording.2024-04-20.at.21.37.40.mov |
From the recording, it appears that in Safari you end up clicking on the "Default" text because the accept button is moved to under the "Default". It appears that latest Safari switched to a new (and apparently not quite ready) inline layout implementation - is this the Safari version you are using?
Can you open a dedicated issue for magnifying glass? I think replacing the search component with jupyter-ui-toolkit one would solve the issue. Can you also check if this is happening in released versions already (in that issue). |
Yep, I'm using that new version -> Safari 17.4.1.
I'll do that! :) |
This is a separate issue tracked in #16233 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
* Fix keybinding logic * Fix shortcut/keybinding being set at wrong level The data for use by commands were set on level of individual keys rather than on the level of individual keybindings which let to context menu working on a different item than one would expect (based on key number, not keybinding number).
References
Fixes #16211
Code changes
User-facing changes
Repalcing shortcuts in settings work when a mix of default and non-default shortcuts is used, and when multiple keybindings are used.
Backwards-incompatible changes
None