subcomposited surfaces with content outside shell surface area lack proper damage on some occasions
Submitted by k.p..@..il.com
Assigned to Wayland bug list
Link to original bug (#101922)
Description
Created attachment 132984 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.
Attachment 132984, "Window decoration in subsurface that stays visible after minimizing window":