Find: make it a toggle command?
Reported version
3.0
Type
Functional
Frequency
Once
Severity
S5 - Suggestion
Reproducibility
Always
Status
PR created
Regression
No
Workaround
No
Project
OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.0.0, revision: 32c4c4c
Ctrl + F opens the find bar at the bottom of the page. Is it possible to make it toggle so that the same command closes it again?
Comments
+1
I have started looking into this.
What other software behaves like this? I just tested this in a couple other applications, and Ctrl+F does not work like a toggle there either. Pressing Esc seems to be the common way to dismiss the find bar, and that is how it works in MuseScore.
EDIT: That is to say that pressing Esc while the find bar is in focus dismisses the find bar. Pressing Ctrl+F while the find bar is not in focus brings the focus back to the find bar, which, in my opinion is the right thing to do. I do not think it should dismiss the find bar as suggested.
In reply to What other software behaves… by mattmcclinch
I agree with the suggestion. If the find bar has focus, ctrl+f should turn it off. If it doesn't have focus, ctrl+f should return focus to the find bar.
See https://github.com/musescore/MuseScore/pull/4129
In reply to What other software behaves… by mattmcclinch
I agree with mattmcclinch. In Mac apps, the shortcut does not toggle, as far as I can tell. So MuseScore shouldn't either.