Style for part not persistent across sessions
Windows 7, GIT commit: b23746f
1) edit / preferences / score
2) set "style for part"
3) close MuseScore
4) restart
5) edit / preferences / score
Result: "style for part" is blank
Expected result: value set last session is remembered
I have often mentioned I think "Style for parts" should be a score style setting (not just the name of the style file, but the actual style setting). However, if it *is* to remain just a preference, it needs to be persistent like other preferences. Currently, if you set this, it is not remembered across sessions.
I see in PreferenceDialog::Apply that this preference is saved using QSettings, whereas other preferences are saved in the "Preferences" structure. Is there a reason for this? At least on my system, QSettings doesn't seem to be working.
Comments
Aha! The "Style for part" setting actually *is* persistent. The preferences dialog is just failing to pick up the value, so it looks like it isn't set when it really is.
It seems I've actually had a "Style for part" set for a while now, unbeknownst to me because the dialog isn't reflecting reality.
No doubt this will also explains some of the other strange style-related behaviors I've been reporting lately, but at least some of that is probably real. I'm investigating, and plan to submit a PR to fix what I can.
I have a combined fix for this and #24631: General style settings not propagated from scores to parts:
https://github.com/musescore/MuseScore/pull/706
Fixed in 0aba0eb3dc
Automatically closed -- issue fixed for 2 weeks with no activity.