GNOME Bugzilla – Bug 642529
GtkSpinButton doesn't update when dialog exits with a keyboard shortcut
Last modified: 2012-10-30 17:20:52 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
this is bug 314926
Closing as a duplicate as for comment #1. *** This bug has been marked as a duplicate of bug 314926 ***