Incorrect behavior of Esc and Cancel in Style dialog

• Jan 2, 2021 - 13:03
Reported version
3.x-dev
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.6.0.451380634, revision: 10dee08

  1. Open attached score without resetting.
  2. Go into Format > Style and change any property.
  3. Click on the Cancel button.

Expected result: No change.
Actual result: Score is marked dirty.

Attachment Size
style_menu_cancel.mscz 35.13 KB

Comments

Title Pressing "Cancel" after changing a Style menu property still leaves score dirty. Incorrect behavior or Esc and Cancel in Styel dialog
Severity S4 - Minor S3 - Major
Priority P0 - Critical

OK, very odd, I see this if I physically click the Cancel button, but not if I press Esc. But worse, when I press Esc, the setting actually remains applies, meaning it's really more like I pressed OK instead of cancel. Worse still, this isn't undoable.

Title Incorrect behavior or Esc and Cancel in Style dialog Incorrect behavior of Esc and Cancel in Style dialog

fixed typo

Fix version
3.6.0