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 549832 - Slider widget different upper point in Inkscape
Slider widget different upper point in Inkscape
Status: RESOLVED NOTABUG
Product: gtk+
Classification: Platform
Component: Widget: Other
2.13.x
Other All
: Normal major
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-08-29 15:35 UTC by mahfiaz
Modified: 2008-09-04 00:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description mahfiaz 2008-08-29 15:35:42 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:
Comment 1 Matthias Clasen 2008-09-04 00:47:15 UTC
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.