GNOME Bugzilla – Bug 734741
GtkScale's fill-level starts at the very left if show-fill-level is set
Last modified: 2015-03-25 02:54:48 UTC
Created attachment 283325 [details] Screenshot of testscale with recent gtk+ and adwaita See attached screenshot.
hmm, annoying. If you want to look into this, the function to investigate is gtkrange.c:gtk_range_draw
Created attachment 300238 [details] [review] GtkRange: Fix drawing of fill-level This patch attempts to correct the bug. The starting point and length of the area that should be drawn to fill the scale up to the fill level were not computed correctly. The calculation has been simplified by computing the proportion of the range that should be drawn and then using that to compute where to start drawing and how far to draw.
thanks for the patch; works fine in my testing.
Attachment 300238 [details] pushed as abf3d78 - GtkRange: Fix drawing of fill-level