GNOME Bugzilla – Bug 621898
slider + spinbox widget has keybindings inverted if slider is focused
Last modified: 2017-08-24 11:01:49 UTC
When you export an image as JPEG, you are presented with a dialog that allows you to set quality of the jpeg. This is a slider + spinbutton widget. It is focused by default. However, contrary to the expectation, pressing <up> on the keyboard, decreases the quality and pressing <down> increases the quality.
Turns out all slider + spinbox widgets behave like that if the slider is focused rather than the spinbox.
As this was initially filed against GIMP, I might add a complete use case: * open up GIMP and create a new image. * File>save as it as ~/foo.jpg * at some point a dialog shows up that has a quality setting. the slider is focused. Pushing up will decrease quality, while pushing down will increase it. * if you focus the spinbox widget, up will increase and down will decrease which is what I consider a correct behavior. Another place where this can be observed is inkscape's opacity setting in the layer or fill windows.
To be precise, I think there needs to be API that inverts the meaning of "up" and "down" in the keybindings, without the need for the app to actually override the keybindings, because this would break whatever key themes do to the bindings.
*** This bug has been marked as a duplicate of bug 407242 ***