Bug 101922

Summary: subcomposited surfaces with content outside shell surface area lack proper damage on some occasions
Product: Wayland Reporter: 67b0226d
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: sardemff7+freedesktop
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Window decoration in subsurface that stays visible after minimizing window

Description 67b0226d 2017-07-26 11:08:52 UTC
Created attachment 132984 [details]
Window decoration in subsurface that stays visible after minimizing window

If subsurfaces have parts that are visible outside the area of their parent shell surface, these parts will not get proper damage and thus have improper contents on some occasions.

Confirmed are:
* minimizing windows
* switching between windows
but there may be more.

To test, move some subsurface outside the window area in clients/subsurfaces.c, e.g. add some arbitrary x/y offset to a widget_set_allocation call in resize_handler.
Comment 1 67b0226d 2017-07-26 12:04:59 UTC
Another problem just popped up that might be related:
If an application (un)maximizes without changing its size (which is a legal thing to do, especially on unmaximizing weston provides size 0x0 so it's perfectly valid to just keep the size the window had when maximized), the actual (un)maximization which moves the window position will not be visible until the pointer is moved over the main surface.
Comment 2 GitLab Migration User 2018-06-08 23:55:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/wayland/weston/issues/96.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.