-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[MU4 Issue] X and Y offset values cannot be managed separately when multiple items are selected #15452
Comments
For what it's worth, the underlying problem is that X and Y offset are represented by a single property of type "Point". I think that's generally okay, but causes some difficulties since we want to allow the user to edit the X and Y value separately. |
Well, that there is the problem. Thanks @cbjeukendrup |
Hi all, I'm not 100% clear on the extent to which this requires design, beyond outlining the expected behaviour as @oktophonie has done above. On testing this though, I too come across this bug, which seems connected with this issue, and which was also raised in #13261. I thought its effect on dynamics was worth sharing: offset-issue.movIf it at all helps, I would simply reformulate the rules to govern the user's experience of changing x- and y-offsets as:
|
The minimum distance issue exists separately here: #13261 |
In 6ded409, we had made offset properties a single PropertyItem to fix some problems with applying to style. This turns out to cause other problems, because we want to be able to edit x and y values separately, also when multiple items are selected, see musescore#15452.
In 6ded409, we had made offset properties a single PropertyItem to fix some problems with applying to style. This turns out to cause other problems, because we want to be able to edit x and y values separately, also when multiple items are selected, see musescore#15452.
Describe the bug
Bear with me on this one...
If I select two items and they have the same X and Y offset, then those values will be shown in the Appearance popup, as one might expect:
Let's say I change the X offset of one of these items:
Now, if I select the two items, the X and Y boxes both show "--", which normally indicates 'there are multiple values':
This is technically only true for the X offset, because the Y offset is the same for both. It would, therefore, be nice that even if only one of the values is consistent for all the selected items, then this value be displayed.
The real problem, though, is that it's impossible in this situation to apply the same X or Y offset to all the selected items at once (which is not a particularly unusual thing to want to do; and to have to do it for a whole load of items one by one is very tedious), without affecting the other offset. For example:
Let's say I wanted to set the Y offset of both the selected items to 3, but preserve the different X offsets that each one has. The first oddness is that when I select the value in the box it changes from '--' to '0':
And if I then change this value to 3, it will apply a Y offset of 3 to both items as expected, but also will reset the X offset of all the items to 0!
Expected behaviour
Ideally,
Platform information
The text was updated successfully, but these errors were encountered: