Staff properties window not refreshing correctly after Instrument change
Win 10 / MS 2.0.2
"Staff properties" does not update properly when you change the Instrument to a plucked-string type that supports tablature.
1. Open, say, "my first score" (or create a treble staff with piano as the instrument)
2. Right click on the staff and select Staff properties > Change Instrument. Chose "Classical Guitar". Click "OK."
The "staff properties" window has not updated properly: This becomes apparent after the next step …
3. Click "OK" to close the "staff properties" window, then open it again.
Now "Staff properties" has updated and "number of strings" and "Edit string data" has appeared. Also , in "Advanced style properties" the "Template" menu now shows the full range of staves available.
Expected result: After the "Change instrument" box has been closed the additional features for Classical guitar should be on display without having to close and reopen the "Staff properties" window.
Comments
Updated report:
1. Open, "my first score."
2. Right click on the staff and select Staff properties > Change Instrument. Chose "Classical Guitar". Then click "OK" to return to "Staff properties."
Expected result: The bottom of the Staff properties window should update to look like this:
Actual result: The "Number of strings" field and "Edit string data" button fail to appear:
You have to click "OK" to exit "Staff properties" then re-open the "staff properties" window to refresh the view.
I've been near that area of code for #74181: Up/down next/previous staff navigation buttons in Staff Properties dialog, similar to existing feature in Measure Properties, so I'll see if I can trigger the refresh correctly
https://github.com/musescore/MuseScore/pull/2409
Fixed in branch master, commit 82c61121b0
fix #81716 update stringData frame upon instrument selection
Fixed in branch master, commit d349682845
Merge pull request #2409 from jeetee/81716_reflect_instrument_selection_in_staffproperties
fix #81716 update stringData frame within updateInstrument
Fixed in branch 2.0.3, commit 7a3ca2596e
fix #81716 update stringData frame upon instrument selection
Automatically closed -- issue fixed for 2 weeks with no activity.