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 157781 - spinbutton value not updated when using keyboard
spinbutton value not updated when using keyboard
Status: RESOLVED DUPLICATE of bug 106574
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.4.x
Other All
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-11-09 20:27 UTC by Hubert Sokolowski
Modified: 2004-12-23 20:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hubert Sokolowski 2004-11-09 20:27:17 UTC
Please describe the problem:
spinbutton value is not updated when using keyboard, not always, but happens.
I created two windows, in the first one there was no problem with getting real
value from spinbutton (there was only a need to set 'focus on click' on a OK
button), but in the second one there were problems getting real value.
I could not switch between widgets using TAB, until I set focus to parent window
and then back to my modal window. I did not find any differences in the code of
these two windows.
when using mouse to change the spinbutton value by clicking on arrows there was
no problem. gtk_spin_button_update must be called before
gtk_spin_button_get_value to get the real value.

Steps to reproduce:
1. create modal window with spinbutton and an OK button
2. change value of spinbutton using keyboard
3. click OK and get the spinbutton value


Actual results:
the value is not the one I enteredin spinbutton entry.

Expected results:
return the real value of spinbutton that I entered.

Does this happen every time?
no

Other information:
no
Comment 1 Robert Ögren 2004-11-15 20:11:58 UTC
This could be caused by bug #137551 which was fixed very recently. See for
example bug #148389 which describes similar problems with spinbuttons caused by
bug #137551.
Comment 2 Hubert Sokolowski 2004-11-15 20:35:58 UTC
I understand that this will be fixed in next (2.4.14 ?) gtk release.
Comment 3 Matthias Clasen 2004-12-23 20:02:47 UTC

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