Change in Style > General causes loss of all customised staff text properties

• Mar 24, 2017 - 14:24
Reported version
2.2
Type
Functional
Severity
S3 - Major
Status
closed
Project

2.1-dev: cf5a1d7 / Win 7

Seems to be a very new bug. Open the attached score. Make any change in Style > General.
Result: All user-customised staff-text properties in the score are lost.

Attachment Size
staff_text_bug.mscz 16.12 KB

Comments

I observe a change on May 20, 2016 in branch master (and so, since December 12 in branch 2.1)

- With this nightly, behavior as 2.0.3: 49e71c3

- With the next one: the current result: 8604467

Title Change in Style > General causes loss of all staff text properties Change in Style > General causes loss of all customised staff text properties

It seems to me the correct behavior would be for Text::styleChanged() to not just blindly call setTextStyle() on the text, but to instead do the whole "rebasing" procedure I could swear I remember us using elsewhere to update the defaults but keep customization. But I can't actually find where we do this.

Status (old) active fixed

Fixed in branch 2.1, commit 3ee8fca91e

Fix #183946
Revert "#102716: text isn't correctly updated when loading style"

This reverts commit a823ba5a5ab016a27412459476ad5472cfcae63a.