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

Fix #26411 Don't disable inspector controls based on value difference #1020

Conversation

briff
Copy link
Contributor

@briff briff commented Jul 1, 2014

I think (and have written in #26411) the way visibility flag is enabled and disabled is counter-intuitive.
Checking the code I discovered that also the "reset" button's behavior is strange (e.g. you can't reset the value of multiple selected items if they have the same value).
I believe removing the value difference check makes the best result in general and would make MuseScore work similar to other software. In special cases further enhancements could be made later (e.g. 3rd state for checkboxes).

@lasconic
Copy link
Contributor

Sorry for the very long wait before any feedback...
I believe the reset button disabling is pretty cool. The fact that you can't reset the values for multiple selected items with same value is a bug and should be fixed though. Completely removing the code is a bit extreme.

Regarding the disabling of the controls if the value is different. It's indeed a bug. I would propose to gray out the controls in this case, to indicate the difference, but not to disabled it.

I will push a fix implementing the above. It would be great if you could test it and give me your opinion.

@lasconic
Copy link
Contributor

see 370c9d1

@lasconic lasconic closed this Jul 30, 2014
@MarcSabatella
Copy link
Contributor

BTW, there is also http://musescore.org/en/node/25807 that is relevant here, if people want to be looking at the reset-handling code . I think this a mixup between chord offset and note offset, if I remember correctly what I figured out from my initial investigation.

@briff
Copy link
Contributor Author

briff commented Jul 31, 2014

Thank you, Nicolas. The behavior looks quite good, but the greying is confusing - it is not disabled but looks like disabled. Can you use a different color or not greying at all? (Most confusing with the Visible flag.)

@lasconic
Copy link
Contributor

I could use the "selection blue", or the purple of button pressed? Any advice?
I like the idea of denoting that the displayed info is not "right", but the value of the first selected element.

@briff
Copy link
Contributor Author

briff commented Jul 31, 2014

Selection blue sounds to be a great idea, as what we see is the value of the selection.

@briff briff deleted the 26411-multiple-selection-disables-visibility-flag branch July 31, 2014 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants