GNOME Bugzilla – Bug 157781
spinbutton value not updated when using keyboard
Last modified: 2004-12-23 20:02:47 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
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.
I understand that this will be fixed in next (2.4.14 ?) gtk release.
*** This bug has been marked as a duplicate of 106574 ***