Midori exhibits damaged region rendering bug
Opened this issue · 0 comments
georgewsinger commented
The bug only occurs when more than one (XDG) Midori is launched at start:
Pernosco trace with one Midori (no bug): https://pernos.co/debug/ZRR6PPBbwP069PiTlEETjQ/index.html
Pernosco trace with one Midori + another app (bug): https://pernos.co/debug/iv3Xp7WX877jgXfj8DYUvw/index.html
The traces seem to indicate there aren't any XDG popups or WlrSurface subsurfaces in play. The only thing triggering a "damage everything" call is "handle_map".
I'm worried this a race condition in the way we trigger a "damage everything". A hack would be to make "damage everything" calls persist for 2 frames instead of 1, or at least whenever surfaces are first mapped? @KaneTW