Wrong undo visibility change for dotted note, where note and dot have different visibiilities

• Jul 23, 2016 - 00:10
Type
Functional
Severity
S4 - Minor
Status
closed
Regression
No
Workaround
No
Project

Linux. Affects 2.0.3 and master.

1. my first score
2. "N" "." "C" "N"
3. Select dot and press "V"
4. Select note and press "V"
5. Undo

Expected: note should be visible, but dot invisible.
Result: Both note and dot are visible.

Discussion:
I think the issue is in Note::setProperty, where, for visibility, the note changes the dot's visibility too. During undo, the note still changes the dot's visibility, even when it isn't supposed to.


Comments

Fixed in branch master, commit 73bb933da3

_Merge pull request #4980 from mattmcclinch/119101-undo-visibility

fix #119101: Wrong undo visibility change for dotted note, where note and dot have different visibilities_

Fix version
3.1.0