shortcuts not saving or loading

• Feb 16, 2019 - 05:55
Reported version
3.0
Type
Functional
Frequency
Many
Severity
S3 - Major
Reproducibility
Always
Status
needs info
Regression
Yes
Workaround
No
Project

1) Preferences > Shortcuts
2) Change any shortcut, e.g. "Add lyrics" shortcut from "Ctrl + L" to "Ctrl + Shift + J"
3) Apply / OK
4) Shortcut works while MuseScore is running
5) Close and re-open MuseScore

Result: "Add lyrics" shortcut is reset to Ctrl + L.
Expected result: Shortcut modification persists across program restart.


I also tried exporting the shortcuts XML with the Save button, and noticed it always exports an identical (default) XML file.

I edited the shortcuts XML file manually, but loading it has no effect.


OS: macOS High Sierra (10.13), Arch.: x86_64, MuseScore version (64-bit): 3.0.2.20666, revision: 8ca4d2c

This works properly in MuseScore 2.


Comments

Status active needs info

I cannot reproduce using the most current build of 3.0.2 (5315, for Windows anyhow). Is it possible you have a permissions problem preventing the shortcuts file from being written (this was what the most recent bug fix had to do with)? Or, is it possible MuseScore is crashing on exit and this is preventing the file from being written? I know some Mac users have seen this.

In reply to by Marc Sabatella

I can't reproduce on Linux either, only on Mac. I don't think it's a permissions issue, since all other preferences persist properly, only shortcuts are missing. Unless shortcuts are saved somewhere different from everything else?

This seems like a bug in the shortcut XML generation / loading, since the export feature always saves an identical "shortcuts.xml" without any custom shortcuts. Strange that would only affect Mac.

I ran MuseScore through the terminal, but didn't see any errors when saving or loading shortcuts. I did notice a segfault each time I quit (see attached log), which may be related.

Attachment Size
mscore_log.txt 4.85 KB
Reported version 3.0 3.2

Just to report that on 3.0.2 AppImage on Xubuntu, and on 3.2.3 from the Arch repos, no changes get saved when I try to save the shortcuts to shortcuts.xml. shortcut.xml remains bit-identical after saving a new collection of shortcuts.

What may be of interest is that it used to work on the AppImage, and I don't think I've updated that. I made a lot of changes, saved it to a file, and that file has the changes. Any subsequent changes don't get exported, and it just keeps producing the same shortcuts.xml that I produced after the first batch of changes.