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 642529 - GtkSpinButton doesn't update when dialog exits with a keyboard shortcut
GtkSpinButton doesn't update when dialog exits with a keyboard shortcut
Status: RESOLVED DUPLICATE of bug 314926
Product: gtk+
Classification: Platform
Component: Widget: GtkSpinButton
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-02-17 05:40 UTC by dkogan
Modified: 2012-10-30 17:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description dkogan 2011-02-17 05:40:13 UTC
I'm attaching a very simple program that opens a dialog with a stock OK button and a spinbutton widget. If OK is pressed, the dialog exits and the program prints out the value in the widget. This works fine if the OK button is pressed with a mouse. However, if it is pressed with a keyboard shortcut, the new value of the spin widget is NOT accepted, and the original value is reported instead. It is possible to call gtk_spin_button_update() before I query the contents of the widget, but I don't think this should be required. I've tested a recent build of gtk+3.0 and also 2.20. I suspect all versions inbetween are affected
Comment 1 Michal 'hramrach' Suchanek 2011-08-18 15:19:21 UTC
this is bug 314926
Comment 2 Cosimo Cecchi 2012-10-30 17:20:52 UTC
Closing as a duplicate as for comment #1.

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