Closed Bug 1608617 Opened 6 years ago Closed 4 years ago

[wayland][gnome] Visual corruption when resizing windows via keyboard shortcut

Categories

(Core :: Widget: Gtk, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
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.

Attached file WAYLAND_DEBUG log

Attaching a WAYLAND_DEBUG log of a session where I resized several times using the keyboard shortcut (super-up/down).

Attached file about:support
Blocks: wayland
Priority: -- → P3

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.

I starting to believe that it is actually is a Firefox issue. Quoting from https://bugzilla.mozilla.org/show_bug.cgi?id=1609538#c7:

  1. 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).

Summary: Visual corruption when resizing windows via keyboard shortcut (mutter) → [wayland][gnome] Visual corruption when resizing windows via keyboard shortcut

Asif, do you still see that with latest nightly? Please also try different backends (WebRedner/Basic compositors).
Thanks.

Flags: needinfo?(yoasif)

Martin, I haven't seen this in a while and I can't reproduce it today.

Flags: needinfo?(yoasif)

Okay, Thanks.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: