Closed Bug 1634573 Opened 5 years ago Closed 4 years ago

[Gnome][Wayland] Browser windows freeze briefly after using gesture to bring their containing workspace into view

Categories

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

77 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: sander.vandemoortel, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0

Steps to reproduce:

  1. Start Firefox Nightly and load a random website
  2. Open a second browser window and load a random website
  3. Move this window to a different workspace
  4. Bring the first workspace and its browser window into view
  5. Try scrolling the content.

Actual results:

The content in the window does not scroll. It may take a few seconds for it to become responsive again (seemingly depending on the amount of JS code running in the tab(s))

When scrolling back and forth between the workspaces, this behaviour is reproduceable

Expected results:

The window should respond instantly after being brought into view

Note: I believe this behaviour was not present in last week's Nightly - it may be one or two days old as of 30 Apr 2020.
Also note: I am on Ubuntu 20.04 with Wayland and Gnome 3.
Also also note: I believe this may be related to bug https://bugzilla.mozilla.org/show_bug.cgi?id=1600261, but since that one was dubbed 'fixed' I decided to open a new bug report.

As a final note, I want to add that if you move the browser windows back to a single workspace, normal behaviour and responsiveness resumes.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3

Running Firefox 76.0.1 in parallel on the same system and with the same extensions, I can confirm that it does not exhibit this behaviour. I hope you'll be able to fix this regression quickly as it makes Firefox quite hard to use on Ubuntu at the moment. I'd have a crack at it myself but I worry that this might be a bit beyond what I'm capable of.

I just found out that the behaviour only happens if you move between the workspaces using the multitouch gesture (four fingers down/up). If I use alt-` (to cycle between an application's windows, even on different workspaces) or ctrl-shift-up/down to move between workspaces, there's no freeze.

But this too, is only present in the more recent versions of Firefox Nightly 77 and 78 - not in Firefox Stable 76 or older Nightlies.

The steps to reproduce must thus be updated:

Steps to reproduce:

Start Firefox Nightly and load a random website
Open a second browser window and load a random website
Move this window to a different workspace
Bring the first workspace and its browser window into view using the gesture four-finger flick up/down
Try scrolling the content.

The title should be changed:

[Gnome][Wayland] Browser windows freeze briefly after using gesture to bring their containing workspace into view

OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Summary: [Gnome][Wayland] Browser windows spread over multiple workspaces freeze briefly after receiving focus → [Gnome][Wayland] Browser windows freeze briefly after using gesture to bring their containing workspace into view

Do you use webrender or not? And can you try disable/enable webrender?
Also can you use mozregression command line tool (https://mozilla.github.io/mozregression/) to find exact regression range?
Thanks.

Flags: needinfo?(sander.vandemoortel)

Webrender was apparently switched off (not sure why -- isn't this supposed to be on by default since FF67?). Enabling it didn't immediately help. At first it did seem to help, but after loading a few more tabs, the same problem started happening again.

I'll give mozregression a try when I have a free moment.

Flags: needinfo?(sander.vandemoortel)

Can't reproduce, please reopen if you still see it.
Thanks.

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