GNOME Bugzilla – Bug 549832
Slider widget different upper point in Inkscape
Last modified: 2008-09-04 00:47:15 UTC
Please describe the problem: The color slider's upper limit changed from 255 to 245, when the very same source is compiled under gtk+ 2.13 (compared to gtk+ 2.12 and previous). This seems like gtk+ bug and may affect many other programs which use the same widget. See bugreport https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/257685 Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
GTK+ is simply enforcing documented behaviour now. The fix is to set page_size to 0 when using adjustments for simple scalar values, such as in a slider. From the release notes: * GtkAdjustment now enforces that values are restricted to the range [lower, upper - page_size]. This has always been the documented behaviour, and the recommended practice is to set page_size to 0 when using adjustments for simple scalar values, like in a slider or spin button.