Slider widget needs a complete revamp
Currently, the slider/spinbox widget in 2.99 (any revision, tested on Ubuntu Linux) has multiple issues:
-
Dragging or clicking to set a value automatically enables the numeric input mode which steals the focus. This is covered by #9727 (closed). -
Once the numeric input mode is enabled, you cannot click and drag to correct the value if the position is behind the numeric input field, you have to click elsewhere, then drag the slider to a diferent position behind the numeric input field. -
Clicking on +/- buttons makes the numeric input field steal the focus again. This is covered by #9786. -
Plugins don't get the same functionality, e.g. you cannot reset a value of a specific parameter, only the entire state of the GEGL op behind it. -
In the worst case scenario, which is, like, most sliders for brush-based tools, you get to see a row of 4 (four!) buttons next to the slider: +/-/reset/weird-lock-with-a-tooltip-that-explains-nothing. You could learn from Blender here:
You get the same functionality (+/- increment, key modifiers with different increment steps for dragging, label inside the slider, numeric input via double-click, resetting via context menu, a locking button) and much cleaner UI.
I'm sorry, but the current state of affairs is a disaster and a regression from 2.10. I've seen @pixelmixer's attempt to address this by making the lock button optional, personally I do not think this is the way to go.
Edited by Jehan