Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimum distance field does not update when value changes #13261

Closed
oktophonie opened this issue Sep 9, 2022 · 0 comments · Fixed by #20506
Closed

Minimum distance field does not update when value changes #13261

oktophonie opened this issue Sep 9, 2022 · 0 comments · Fixed by #20506
Assignees
Labels
P2 Priority: Medium UI Visual issues affecting the UI (not notation)

Comments

@oktophonie
Copy link
Contributor

Describe the bug
Adjusting the offsets of an item can result in the 'Minimum distance' value for the item changing automatically in order to allow the item to approach or overlap other elements. However, the value does not automatically update in the Properties panel.

See: #13246 (comment)

To Reproduce
Steps to reproduce the behaviour:

  1. Create an item, e.g. a piece of Stave Text. Open the 'Appearance' popup in the Properties panel. The default Y-offset is -1; the minimum distance is 0.5.
  2. Click the up arrow to change the Y-offset to -0.5. The minimum distance is shown as 0.5, but has actually become 0.4. If you deselect then reselect the text item, and open the 'Appearance' popup, you will see the correct value.
  3. Click the up arrow again to change the Y-offset to 0. The minimum distance will still be shown as 0.4 (or 0.5); but the real value is now -999 (meaning, effectively, 'disabled' - as the text item is now in contact with the stave).

Note, incidentally, that the display of the 'Leading space' changes from 0 to 0.00 when this final adjustment is made (also not ideal).

box-220909-1028-45.mp4

Expected behaviour
The 'Minimum distance' field should always show the current value, even when this value has changed indirectly. (This was, apparently, a technical impossibility in the old UI.)

Note
This is a spinoff from #13246 and would appear to be related to #11637.

@oktophonie oktophonie added the P2 Priority: Medium label Sep 9, 2022
@oktophonie oktophonie added this to To do in 4.x SHORTLIST via automation Sep 9, 2022
@oktophonie oktophonie added the UI Visual issues affecting the UI (not notation) label Nov 15, 2023
@oktophonie oktophonie changed the title [MU4 Issue] Minimum distance field does not update when value changes Minimum distance field does not update when value changes Nov 15, 2023
@oktophonie oktophonie assigned mathesoncalum and unassigned Eism and mike-spa Nov 16, 2023
@oktophonie oktophonie removed this from To do in 4.x SHORTLIST Nov 16, 2023
RomanPudashkin added a commit that referenced this issue Dec 18, 2023
…_update

Fix #13261: Update minimum distance field on offset change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Priority: Medium UI Visual issues affecting the UI (not notation)
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants