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 347902 - GtkRange doesn't reliably update stepper sensitivity
GtkRange doesn't reliably update stepper sensitivity
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.10.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-07-18 11:44 UTC by Michael Natterer
Modified: 2011-02-04 16:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch fixing the bug (4.15 KB, patch)
2006-07-18 11:44 UTC, Michael Natterer
none Details | Review

Description Michael Natterer 2006-07-18 11:44:01 UTC
When range->adjustment changes would leave the widget's visual
appearance unmodified (because the change was too small for the
range's allocation), the steppers' sensitivity is not updated
and can become inconsistent. Patch follows.
Comment 1 Michael Natterer 2006-07-18 11:44:52 UTC
Created attachment 69104 [details] [review]
Patch fixing the bug
Comment 2 Michael Natterer 2006-07-18 14:22:57 UTC
Fixed in CVS:

2006-07-18  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrange.c: remember the sensitivity of the steppers in
	GtkRangeLayout, update it in gtk_range_calc_layout() and check for
	changes in layout_changed(), so adjustment changes that leave the
	slider position unchanged are still able to update the steppers'
	sensitivity. Fixes bug #347902.