GNOME Bugzilla – Bug 325818
Drawing glitch in hscrollbar
Last modified: 2007-05-27 22:43:44 UTC
Create a wide and tall window, and drag it diagonally up and to the right over another window with a horizontal scrollbar. You may get a drawing glitch in the scrollbar of the underlying window.
Created attachment 56792 [details] Screenshot of the problem
I haven't noticed this myself. Does this happen in all applications?
Probably - it happened for me in the GIMP and Gedit. I just noticed that the trough is also painted incorrectly, not just the slider. I would add some printfs to gtk_range_expose() to see the areas it computes, and also to your implementation of paint_box (for the trough) and paint_slider. Then I would build gtk with --enable-debug=maximum, and run a test app with GTK_DEBUG=updates.
This seems to be a cairo bug. I modified the clearlooks code to draw some ugly color underneath the gradient. This color is drawn correctly, but the gradient is not. I have opend a bug in the freedesktop bugzilla about it: https://bugs.freedesktop.org/show_bug.cgi?id=5518
Closing this bug as not gnome, I don't think there is point in keeping the bug open.