gpui: Hide XF86 keybindings from menus and keybinding hints#50540
gpui: Hide XF86 keybindings from menus and keybinding hints#50540ConradIrwin merged 3 commits intozed-industries:mainfrom
Conversation
SummaryXF86 multimedia keysyms (XF86New, XF86Save, XF86Open, etc.) are mapped to key names like "New", "Save", "Open" on the Linux platform layer. When Zed What changed
Impact
Trade-offs
|
|
Open to recommendations about that. |
|
@Dnreikronos Instead of doing this, can we re-order the keymap file to acheieve the same effect - that must be what we do with other cases where there are multiple bindings for one action. |
Thanks a lot! |
Hi @ConradIrwin! |
|
Looks good! I don't think we need those tests. Are there other keys except save that need moving? |
No, save in I also removed the two tests as you suggested! |
|
Thanks! And glad it ended up being a simple fix. |
…stries#50540) Closes zed-industries#50436 Before you mark this PR as ready for review, make sure that you have: - [x] Added a solid test coverage and/or screenshots from doing manual testing - [x] Done a self-review taking into account security and performance aspects - [ ] Aligned any UI changes with the [UI checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) Release Notes: - Fixed XF86 multimedia key names ("New", "Save", "Open") being shown as keybinding hints in menus instead of the actual keyboard shortcuts.
Closes #50436
Before you mark this PR as ready for review, make sure that you have:
Release Notes: