View Single Post
Old 12-17-2024, 01:36 PM   #37
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,701
Karma: 5703586
Join Date: Nov 2009
Device: many
Okay I have a way to set a shortcut on the Saved Search find button but it can not include the Control keyboard modifier or the Shift as those have an impact in Find And Replace itself (to limit to Current File, etc.)

So we would need to hard code the shortcut. Allowing users to override it would just create chaos. On MacOS I plan on using Meta-F which Qt maps to Ctrl-F just for Macs.

I can either use Alt-F or Meta-F on Windows ... Is there a reason to select one over the other? Should I stay away from the Alt key on Windows? I seem to remember something about that?

Note: this shortcut would be limited to the Saved Searches dialog as it is the only one with keyboard focus at that time.

Of course, hitting tab to move focus to the Find button first would allow spaces to be used with no restrictions at all. Right now on Linux and MacOS that is broken because using Tab or Shift-Tab while focus is in the Saved Searches TreeView actually changes the current selection which no one wants. The arrow keys are reserved for inside the tree movement.

Last edited by KevinH; 12-17-2024 at 01:40 PM.
KevinH is online now   Reply With Quote