Double click on Mixer's and Play Panel's dial and sliders should reset them to their defaults

• Nov 29, 2018 - 14:54
Reported version
3.0
Priority
P2 - Medium
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
PR created
Regression
Yes
Workaround
Yes
Project

double click on mixer's pan dial goes to all left (0), it should center (to 64) rathen than go all left (0)

Workaround: single-click in the center marker

Double click on the other dials and sliders does nothing, should set them to the default


Comments

I'm implementing the default values of sliders here: https://github.com/JoshuaBonn1/MuseScore/commit/f8a65009a73d496e658ddb5… . Works well, but there is some undetermined behavior.
What should happen if the min and max change so that the default is no longer contained within the range? My guess is to set it to which ever is closer.
What should happen if after that, the min or max moves out and leaves the default in the middle of the range? My guess is this will likely never happen, so it's not a concern. I'd just let it sit there.

Once I figure out why the graphic is not properly updating, I'll submit a PR.

@Jojo where did you get the info about the desired behaviour in case of double click? Which UI/UX guide does recommend to reset values to defaults using double click?

FYI, pan knob has small triangle at the top clicking on which sets the default (64) value.

It did in 2.x, I don't care too much whether that is officially allowed, it is usefull and I as well as others got used to it and are missing it now

Title double click on mixer's dial and sliders should reset them to their defaults Double click on Mixer's and Play Panel's dial and sliders should reset them to their defaults

Also lost in Play Panel.