Workspaces don't restore correctly after palette customizations

• Jun 23, 2021 - 21:10
Reported version
3.6
Type
Graphical (UI)
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

1) Reset to factory settings, or start with a fresh install
2) Create a new workspace
3) Hide some panels (inspector etc.) and toolbars
4) Verify that when you switch to Basic, the panels/toolbars reappear as expected
5) In Basic, customize one of the palettes (e.g. add an extra Clef to the Clefs palette)
6) Now switch to your new workspace - panels/toolbars should disappear again
7) Now switch back to Basic - panels/toolbars don't re-appear! Nor does Reset Workspace restore them.

Simpler repro steps:
do 1), 5), 2), 3) then 7)

Also what does "Reset workspace" mean for a custom workspace? At one point when I tried it returned to something like the "Basic" layout and hence I lost all my customizations with no apparent way to redo or recover them at all. Also even deleting all the files under C:\Users{username}\AppData\Local\MuseScore\MuseScore3\workspaces didn't seem to fix the issue after this, only reset to factory settings.

MuseScore 3.6.2/Windows 10.


Comments

Status active needs info

Could you provide more precise steps? Maybe just list a specific toolbar or palette that seems relevant, so we can retrace your steps exactly.
Also be sure to let us know, when you create your workspace, which checkboxes you are clicking. The combinations I have tried all work for me with the single exception of the play panel, which seems to not honor the settings of the GUI Components checkbox.

BTW, I believe the reset goes back the initial state of the workspace - whether it was cloned from Basic or Advanced, back to that state. That doesn't necessarily mean, which ones were open at the time, just which existed.

Your steps didn't say which checkboxes you enabled, and right now we aren't sure which other elements you mean. Best to be really precise when posting steps to reproduce an issue. In this case there are probably at least 100 different combinations of things that one might try given those steps - different sets of checkboxes, different windows you might be opening or closing, etc.

Actually weirdly I just retried it and now step 4) is failing - switching back to Basic is not restoring the inspector or palettes panels.
That much does work if you check the 4 checkboxes when creating the workspace - but those checkboxes shouldn't be affecting whether or not switching back to Basic restores the panels surely?
In fact I can't see how those checkboxes affect the newly created workspace at all, they ONLY seem to affect whatever the current workspace is, which is very confusing.
Further, the more I play around with what panels are shown and what happens as you switch between workspace the less I understand what supposed to be happening - e.g. after showing the "play panel" in one workspace, then switching to another that never had it shown, it actually maximized that panel to take up the entire right hand side.

In reply to by Dylan Nicholson1

Strangely I can't seem to reproduce the original issue at all now, but there's definitely something very odd about Basic and Advanced that means I can't seem to individually control whether, say, the inspector should be shown in one and hidden in the other. Whether or not I customize the palette doesn't seem have any impact (but I was 100% certain that was causing an issue orginally!).
It certainly seems that 4) will only occur as described if you do in fact click on all the checkboxes when creating the new workspace, so I guess I must have done that originally.
The only way I can then "reproduce" the issue is to edit the workspace to turn off those checkboxes.

But I still don't quite understand what those checkboxes do - it seems that for any workspaces, including Basic and Advanced, that don't have them set, the visibility/position of toolbars/panels is shared between them, whereas workspaces that do have them set will remember which toolbars/panels have explicitly been hidden or shown - but if you show a panel while in Basic/Advanced/other workspace without those checkboxes set, then switch to a workspace with them set but where you'd never changed the default configuration for that panel, it will been shown, and potentially change position/size depending on whatever else is shown in that workspace.