Comma as a shortcut won't get saved
Priority
P2 - Medium
Type
Functional
Frequency
Many
Severity
S1 - Blocker
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project
Musescore Version 2.0.1-b25f81d (German)
Windows Version 8.1 (6.3.9600) (German)
Problem description:
1) Open Edit → Preferences... → Shortcuts (I have German version, so it actually is "Bearbeiten -> Einstellungen -> Tastenkuerzel"
2) Change something, e.g. assign note duration "double dot" to a comma.
3) New shortcut is now working as long as MuseScore is running. But if you
4) Close MuseScore and restart
5) Assignment is lost.
Thanks for your help / suggestions.
I found a thread for Apple System (subdirectory was missing), but this can not be applied to Windows.
Fix version
3.1.0
Comments
Confirmed, with Windows 7 (Enterprise, 64bit), but so far with the comma only.
And I think this may be by design, as the comma is the delimiter of multi keystroke shortcuts
Right...
This seems to be an oddity of the German version:
The separator is (in my version) the semicolon, this key is is assigned as a shortcut, too.
The comma is not the separator, but it is lost when preferences are saved. If you select several shortcuts (including a comma in the middle of the list) you see - after restarting - an empty space between semicolons.
Anyway, I selected another key.
Maybe someone will fix this minor bug in future so I leave the issue open, but I am happy with the workaround.
Thank you for your help!
semicolon is the separator for alternate shortcuts, comma for multi-key shortcuts.
For example you can have a shortcut "A,B,C;D,E,E", meaning you either press A B and C in that order or press D E and F in that order to trigger the action behind that shortcut
The real bug might be that the dialog at first accepts that comma (and even works with it)
See also #59051: Alt+, does not work for custom shortcut (works at first, reset on program restart)
> The real bug might be that the dialog at first accepts that comma
No, please don't take away my comma shortcut. BTW this worked perfectly on Musescore 1.3
so that's why I am already used to pressing that key. (For the curious, I use "," and "'" for
down-octave and up-octave because those are the characters that Lilypond uses. They're
next to each other on a Dvorak keyboard. I can't use the default shortcuts for these because
my window manager steals the Ctrl+arrow keys.)
In reply to #5 by Ian Collier
What about using something else as delimiter? E.g. a UTF character not present on keyboards. The comma key has such a convenient placement on many keyboards that it should be possible to use it as a shortcut.
Or 'escape' the comma with e.g. a backslash
In reply to Or 'escape' the comma with e… by Jojo-Schmitz
Sure, but we need a visible character for the delimiter. The code is Utf-8, right? So there is no problem using utf characters in strings?
Came up again in https://musescore.org/de/node/286203, here the comma on a German NumPad, which as of MuseScore 3 doesn't work as the shortcut for "Note duration: Dotted", together with the regular dot, like it did in MuseScore 2 and 1
Often these sort of things are out of our control, as they depend on how Qt reports the info to us. But worth investigating for sure.
Maybe we could encode a comma entered by a user differently? Or at least special-case the NumPad comma?
https://github.com/musescore/MuseScore/pull/4820
Implemented using escape characters in this PR :)
Came up again in #287331: Keybord shortcut comma (,) not remembered between restarts
and again in #288196: Shortcut NumPad+, doesn't work
Came up again in https://musescore.org/de/node/289521
While the lack of being able to use comma as a shortcut is a regression between MuseScore 1 and 2, the fact that NumPad dot can't get used as a shortcut in locales that don't have a dot as the decimal separator is a MuseScore 2 to 3 regression, and makes it a much more serious issue that it was before in MuseScore 2. Not being able to use NumPad to enter note durations is a pretty bad thing
Fixed in branch master, commit 3bcc078415
fix #63301: comma shortcuts now save
Fixed in branch master, commit 236e74cf2d
_Merge pull request #4820 from peterhieuvu/63301-comma-shortcut
fix #63301: comma shortcuts now save_
Automatically closed -- issue fixed for 2 weeks with no activity.