Bug 101922 - subcomposited surfaces with content outside shell surface area lack proper damage on some occasions
Summary: subcomposited surfaces with content outside shell surface area lack proper da...
Status: RESOLVED MOVED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-26 11:08 UTC by 67b0226d
Modified: 2018-06-08 23:55 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Window decoration in subsurface that stays visible after minimizing window (194.99 KB, image/png)
2017-07-26 11:08 UTC, 67b0226d
Details

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.