[wayland][gnome] Visual corruption when resizing windows via keyboard shortcut
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox74 | --- | affected |
People
(Reporter: yoasif, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Noticed that while resizing windows in a Wayland GNOME session, the window borders and CSD exhibit visual corruption during the resize.
The left side of the window shows a black border outside of the window frame momentarily, and the CSD area seems to split away from the rest of the window.
Watch the video to get a better idea of how it looks.
This happens in a Wayland session, not in Xorg, and it doesn't matter if I am using WebRender or not. Fission also doesn't make a difference.
Reporter | ||
Comment 1•6 years ago
|
||
Attaching a WAYLAND_DEBUG log of a session where I resized several times using the keyboard shortcut (super-up/down).
Reporter | ||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
I'm tracking these in https://gitlab.gnome.org/GNOME/mutter/issues/981, it's unlikely we can do something about it on the Firefox side.
Comment 4•5 years ago
|
||
I starting to believe that it is actually is a Firefox issue. Quoting from https://bugzilla.mozilla.org/show_bug.cgi?id=1609538#c7:
- Firefox resizes the window, but attaches the newly resized buffers of the toplevel and subsurfaces without any synhronization
...
Issue 2 can be dealt with by making the subsurface synchronous during resize (i.e. wl_subsurface.set_sync() then wl_subsurface.set_desync() after done)
I see a good chance that fixing this will also solve the issue here. If that is the case, we should still make sure in Mutter that commits from subsurfaces do not get shown during animations (it appears that it's exactly one commit that get shown before being hidden).
Updated•5 years ago
|
Comment 6•4 years ago
|
||
Asif, do you still see that with latest nightly? Please also try different backends (WebRedner/Basic compositors).
Thanks.
Reporter | ||
Comment 7•4 years ago
|
||
Martin, I haven't seen this in a while and I can't reproduce it today.
Comment 8•4 years ago
|
||
Okay, Thanks.
Description
•