After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 312925 - SpinButton "ignores" the manually entered value upon an Up/Down key press.
SpinButton "ignores" the manually entered value upon an Up/Down key press.
Status: RESOLVED DUPLICATE of bug 314926
Product: gtk+
Classification: Platform
Component: Widget: Other
2.4.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-08-08 19:08 UTC by Itai Bar-Haim
Modified: 2007-01-23 16:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Itai Bar-Haim 2005-08-08 19:08:35 UTC
Please describe the problem:
When you write a number then hit the up or down keys, the value you just written
is not taken, and the last value written just before that is changed then displayed.

Steps to reproduce:
1. Find a spinbutton somewhere, make sure it has the number 10 on it.
2. Manually write 23, then press the up key.


Actual results:
The spinbutton shows the number 11.

Expected results:
The spinbutton will show the number 24.

Does this happen every time?
every time.

Other information:
Comment 1 Sascha Silbe 2006-09-16 15:02:42 UTC
I've just hit this bug. It doesn't happen if I change focus (either by selecting another widget or switching to another window and back) before spinning (i.e. using the cursor keys or clicking one of the spin buttons).

A rough guess (I don't know any of the internals of GTK) would be that the entry field doesn't notify the adjustment when changes occur, only when getting focus.

This is with GTK 2.8.19, BTW, so it's not just 2.4.x that's broken.

Comment 2 Xan Lopez 2007-01-23 16:19:14 UTC

*** This bug has been marked as a duplicate of 314926 ***