GNOME Bugzilla – Bug 729095
redraw problems when resizing popovers
Last modified: 2014-04-28 20:50:55 UTC
Created attachment 275307 [details] screenshot Shadows are left behind, as can be seen in this screenshot. testpopover is the testcase.
Created attachment 275374 [details] [review] gdkwindow: ignore shape on client-side windows when recomputing visible regions Rendering doesn't do much about clipping drawing operations to the window shape, although invalidation applies the shape to every window, leaving possibly trails of "overrendered" content. So ensure the shape portions get invalidated too when the window is moved/resized.
I'm not too happy about this patch btw... The problem seems to come from the patch from https://bugzilla.gnome.org/show_bug.cgi?id=723556#c6, shadows are overdrawn regardless of the shape applied to that window, however gdk_window_move_resize() doesn't get to invalidate those portions. That seems more accurate with rendering reality though, and shadow trails are gone with it.
maybe something to discuss in Berlin
Review of attachment 275374 [details] [review]: In the short term, this patch seems to do the job
Committing this so far, I'll be poking for opinions about this in Berlin. Attachment 275374 [details] pushed as 8e5982c - gdkwindow: ignore shape on client-side windows when recomputing visible regions