Key duplication with key signature when editing measure properties near System Break

• May 15, 2020 - 17:41
Reported version
3.4
Priority
P2 - Medium
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

When changing the measure property 'Actual Duration' right before a system break where a key change happens, the key change gets duplicated, and it is impossible to remove the duplicate. Undo also does not get the GUI back to a normal state; reloading the file is the only solution.

To reproduce:
right click on the first measure, and set the actual measure duration to '2/4' and click on Apply and Okay.
You now see 6 sharps appear.

When you press Edit->Undo, you'll see a Ghost key change on the screen in a spot where there is none. The ghost is also not played. See the screenshot.

Attachment Size
sample.mscz 5.51 KB
afterchange.png 43.8 KB
afterundo.png 60.32 KB

Comments

Type Graphical (UI) Functional
Priority P2 - Medium

Confirmed, and it's easily reproducible from scratch. It's two separate courtesy key signatures. Another symptom of the problem, whatever it is, is that the 2/4 measure is way too narrow, and there is way too much space after the double bar for the courtesy key signatures. Both problems fix themselves if you save and reload.

It appears from a quick look in the object debugger that the second one is the original courtesy, still appearing after beat four. I guess this needs to get deleted.