GNOME Bugzilla – Bug 742243
GtkScrolledWindow draws overshoot at the wrong position
Last modified: 2015-01-19 12:12:49 UTC
Created attachment 293621 [details] [review] GtkScrolledWindow: Fix overshoot indicator position For example in the filechooser: http://i.imgur.com/isUqqzA.png As far as I know, this is related to fdf367e8689cb8 which makes GtkScrolledWindow a windowed widget again and these coordinates are just leftovers which have not been updated. I'm not entirely sure if the attached patch is the correct way to fix this or if gtk_scrolled_window_relative_allocation should instead to that directly (but that's used in more places and I didn't want to touch that much).
*** Bug 742700 has been marked as a duplicate of this bug. ***
Thanks Timm for the patch! I'm however going for a simplified version, there's no need to fetch/use the allocation if the only used fields are first added and then subtracted.
The following fix has been pushed: dc952e3 scrolledwindow: Don't displace invalidation by the widget allocation
Created attachment 294863 [details] [review] scrolledwindow: Don't displace invalidation by the widget allocation This was left unmodified when GtkScrolledWindow was made a windowed widget. Displacing here by the widget allocation is not necessary anymore, since we are invalidating the window set at these coordinates. This patch is a simplification of a previous one by Timm Bäder.