Skip to content

Enable some DEBUG actions and commands for online RELEASE builds - Part 2#199

Open
worldwideweary wants to merge 3 commits into
3.x-worldwidewearyfrom
3.x-www-0125-EnableSomeDebugForRelease-2
Open

Enable some DEBUG actions and commands for online RELEASE builds - Part 2#199
worldwideweary wants to merge 3 commits into
3.x-worldwidewearyfrom
3.x-www-0125-EnableSomeDebugForRelease-2

Conversation

@worldwideweary

@worldwideweary worldwideweary commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Should fix the debug issue with #197 — Some how missed some macros to remove.

Aside: Fix reading Double from workspace file - this will make sure to include the Font Size of the UI. Some how that got omitted. This resolves linked issue #200

@worldwideweary

worldwideweary commented Jun 18, 2026

Copy link
Copy Markdown
Owner Author

Update: Store all user-defined Preferences (Advanced Preferences) into the user's workspace. Previously it was apparently storing a small subset of values that were seemingly getting defaults.

For example, after this change, this is what is stored after running the thing on my local machine (where [...] is a placeholder for the local folder layout to save space here):

    <Preferences>
      <Preference name="application/keyboardLayout">US-QWERTY</Preference>
      <Preference name="application/paths/myExtensions">…MuseScore/Extensions</Preference>
      <Preference name="application/paths/myImages">…MuseScore/Images</Preference>
      <Preference name="application/paths/myPlugins">…MuseScore/Plugins</Preference>
      <Preference name="application/paths/myScoreFonts">…MuseScore/NotationFonts</Preference>
      <Preference name="application/paths/myScores">/Documents/Sheet Music/MSCZ</Preference>
      <Preference name="application/paths/mySoundfonts">/Audio/Soundfonts</Preference>
      <Preference name="application/paths/myStyles">…MuseScore/Styles</Preference>
      <Preference name="application/paths/myTemplates">…MuseScore/Templates</Preference>
      <Preference name="application/playback/defaultMasterVolume">0</Preference>
      <Preference name="application/startup/firstStart">0</Preference>
      <Preference name="application/startup/sessionStart">1</Preference>
      <Preference name="application/useSinglePalette">0</Preference>
      <Preference name="application/workspace">WWW</Preference>
      <Preference name="score/fingering/autoForwardWithAlphaNumerics">0</Preference>
      <Preference name="ui/application/altMenu/bypass">0</Preference>
      <Preference name="ui/application/globalStyle">0</Preference>
      <Preference name="ui/application/hideMenuOnFullscreen">0</Preference>
      <Preference name="ui/application/hideToolbarsOnFullscreen">0</Preference>
      <Preference name="ui/application/language">system</Preference>
      <Preference name="ui/application/nudge/ijkl">0</Preference>
      <Preference name="ui/application/startup/showStartCenter">0</Preference>
      <Preference name="ui/application/startup/showTours">0</Preference>
      <Preference name="ui/canvas/background/useColor">0</Preference>
      <Preference name="ui/canvas/background/wallpaper">…MuseScore/Images/BG/nature-horizon-cloud-black-and-white-sky-sunlight-620418-pxhere.com.jpg</Preference>
      <Preference name="ui/canvas/foreground/useColor">0</Preference>
      <Preference name="ui/canvas/foreground/wallpaper">…MuseScore/Images/MuseScore Paper.png</Preference>
      <Preference name="ui/score/currentSystemAlwaysOnTop">0</Preference>
      <Preference name="ui/score/currentSystemAlwaysOnTop/considerSkylines">0</Preference>
      <Preference name="ui/score/elements/noteheads/behindLedgerLines">0</Preference>
      <Preference name="ui/score/elements/noteheads/behindStaff">0</Preference>
      <Preference name="ui/score/elements/override/color/all" r="0" g="0" b="0" a="255"/>
      <Preference name="ui/score/elements/override/color/invisible" r="130" g="100" b="138" a="106"/>
      <Preference name="ui/score/elements/override/color/onlyAll">0</Preference>
      <Preference name="ui/score/fadeFocusUsesInvisibleColor">0</Preference>
      <Preference name="ui/score/fingering/omitTightening">0</Preference>
      <Preference name="ui/score/fingering/omitVoicing">0</Preference>
      <Preference name="ui/score/frameMarginColor" r="160" g="160" b="164" a="255"/>
      <Preference name="ui/score/gripsColor" r="100" g="100" b="100" a="10"/>
      <Preference name="ui/score/lines/linked/omit">0</Preference>
      <Preference name="ui/score/mouse/behavior/disableNoteDragVertical">0</Preference>
      <Preference name="ui/score/mouse/behavior/hoverColor" r="234" g="201" b="255" a="255"/>
      <Preference name="ui/score/mouse/behavior/hoverEnabled">0</Preference>
      <Preference name="ui/score/mouse/behavior/lasso/annotations">0</Preference>
      <Preference name="ui/score/noteEntry/autoSwitchRhythmRepitch">0</Preference>
      <Preference name="ui/score/noteEntry/disableMouseEntry">0</Preference>
      <Preference name="ui/score/noteEntry/octaveTendencyIsTopNote">0</Preference>
      <Preference name="ui/score/noteEntry/octaveUpwardFifth">0</Preference>
      <Preference name="ui/score/noteEntry/toggleStatus">0</Preference>
      <Preference name="ui/score/playback/highlightMore">0</Preference>
      <Preference name="ui/score/playbackCursor/color" r="0" g="101" b="191" a="255"/>
      <Preference name="ui/score/playbackCursor/entireMeasure">0</Preference>
      <Preference name="ui/score/selection/unifiedColor" r="255" g="85" b="85" a="255"/>
      <Preference name="ui/score/selection/unifiedColor/enabled">1</Preference>
      <Preference name="ui/theme/fontSize">11</Preference>
      </Preferences>

Store [Master Volume] preference as a double (float apparently is not handled by the XML Reader during save)
@worldwideweary worldwideweary force-pushed the 3.x-www-0125-EnableSomeDebugForRelease-2 branch from 7ceb883 to fcb7a03 Compare June 18, 2026 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant