GNOME Bugzilla – Bug 139858
spinbutton can display -0 (negative zero)
Last modified: 2004-12-22 21:47:04 UTC
Steps to reproduce: 1) Open any image. 2) Access any selector bar with an adjacent number field. (For example, Brightness in the Brightness-Contrast dialog box.) 3) With the mouse, drag the horizontal Contrast selector bar exactly to number "1". 4) Press the left arrow of the keyboard to decrement the value by one. Result: A "-0" (negative zero) appears in the adjacent number field. This bug seems to be triggered only on the first time that the UI element tries to go down to zero from a positive number. For example, dragging the bar to "2", then pressing the left arrow key twice does not have the same effect. However, once you trigger it, you can press the right arrow key to go up to "1" again, then the left arrow key to reproduce it ad infinitum. You may also go down to "-1", then press the right arrow to return to "-0". I am running Gnome 2.6. Distributor: Gentoo Linux. Date: 04/03/04.
Since this is just a standard GTK+ spinbutton, this would be a GTK+ bug then. This was originally reported against GIMP 2.0.0. I can confirm the misbehaviour with GTK+-2.2.4.
Merging with the identical GtkScale bug *** This bug has been marked as a duplicate of 118959 ***