RenderSurfaces can be rendered outside the extents of their containing window
Bug #1667690 reported by
Alexandros Frantzis
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Triaged
|
Medium
|
Unassigned | ||
mir (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
qtmir (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
If a RenderSurface is larger than its containing window it still gets fully rendered. The expectation is for all RenderSurfaces to be clipped to their containing window's extents. We can't rely on clients to correctly resize their render surfaces.
How to reproduce:
Get lp:~cemil-azizoglu/mir/use-new-egl-backend and *remove* the line which updates the render surface's extents in the window on resize:
mir_window_
Build and launch any egl demo with mir_demo_server. Resize the window, making it smaller, and watch as the render surface is rendered outside the window's extents.
To post a comment you must log in.
+1 I think this is unexpected behaviour, and makes a window manager's job harder