UNDO doesn't restore image's original size after checking "Scale to frame size"
Reported version
3.4
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project
OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.4.2.9788, revision: 148e43f
- Add an image to a title frame.
- Tick "Scale to frame size." (Inspector), then increase the height of the title frame.
- Uncheck "Scale to frame size."
Result: The image upscales as expected. But unchecking the box does not restore the original size. UNDO has no effect either. - Try to increase the width or height directly by typing into the value boxes
Result: Problem overwriting numbers directly after the decimal point.
Comments
Are you saying the first problem you describe is somehow different from the linked issue?
> Result: Problem overwriting numbers directly after the decimal point.
If by this you mean selecting the two number characters after the decimal point and typing only once will set the second character to 0, preventing further input, then this is a problem with all double spin boxes. IIRC the new inspector won't have this problem.
> Result: The image upscales as expected. But unchecking the box does not restore the original size. UNDO has no effect either.
I see why you expect the original size be restored, but I think this's more of a suggestion, not a bug.
But surely it's a bug that UNDO doesn't unscale the image after ticking "Scale to frame size"?
In this case yes. Not sure major or not.
Confirmed using the attached score from #281716: Moving an image can't be undone.
Adding to #303762: [EPIC] Collection of Undo issues as clearly Undo doesn't do what it is expected to do here.