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 597063 - Spin button changed events don't always get fired with keyboard-only entry
Spin button changed events don't always get fired with keyboard-only entry
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkSpinButton
2.16.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2009-10-02 01:34 UTC by David Trowbridge
Modified: 2018-02-10 03:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Trowbridge 2009-10-02 01:34:46 UTC
In an application, I've got a spin button which starts out with value == lower. If the user changes the value to be > lower, I enable the command button on the dialog.

This works pretty well, except I don't always get a changed event on the spin button with keyboard only entry. Here's what I see:

Select spin button entry and replace the contents: changed fires when I hit enter or focus out
Select spin button entry, hit backspace for one or more digits and enter a new value: changed fires
Click into the entry and insert a new number (changing it from 40.0 to 400.0, for example): the spin buttons change sensitivity because value != lower, but I don't get a changed signal!

This is pretty bad, especially because my button isn't sensitive now, despite the value being within my acceptable range.
Comment 1 Matthias Clasen 2018-02-10 03:35:18 UTC
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and
still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue
for it.