Closed Bug 1727936 Opened 3 years ago Closed 2 years ago

Touchpad scroll on Firefox window causes Firefox windows behind it to also scroll

Categories

(Core :: Graphics: WebRender, defect)

Unspecified
Linux
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox93 --- disabled

People

(Reporter: yoasif, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: nightly-community)

Attachments

(1 file)

If I have two Firefox windows open and overlapping (one in front of the other), scrolling the one in the foreground with my touchpad causes the window behind it to scroll as well.

Happy to provide further information.

Attached file about:support
OS: Unspecified → Linux

Asif, does this only occur with gfx.webrender.compositor enabled? Could you try running mozregression if it's a recent issue?

Flags: needinfo?(yoasif)
Severity: -- → S3

Jamie, this only happens when forcing the webrender compositor (gfx.webrender.compositor.force-enabled = true) and the issue is present since at least 2021-06-04, which is the first build I was able to find that wasn't basically unusable (the previous builds had flashing parts of windows).

Flags: needinfo?(yoasif)

Thanks Asif. Robert, can you reproduce this?

Flags: needinfo?(robert.mader)

Hm, no, can't reproduce. To me it also sounds like it's not a Firefox bug but rather a Mutter one:

  • a Wayland surface only receives input events when it has an input region - and if it has, swallows them, so no other surface gets them.
  • Wayland surfaces don't have an idea about their position, so Firefox/GTK doesn't know whether its windows overlap. If the issue only happens in overlapping areas (is that so?), then only the compositor would now about that area.
Flags: needinfo?(robert.mader)

Clicking rapidly on certain pages (I saw it on Jellyfin) also sometimes ends up with clicks "behind" the window I am clicking on, end up foregrounding another window.

(In reply to Asif Youssuff from comment #6)

Clicking rapidly on certain pages (I saw it on Jellyfin) also sometimes ends up with clicks "behind" the window I am clicking on, end up foregrounding another window.

Yeah, I've seen that as well in other apps from time to time. For me this appears to have stopped in Gnome 41 (or locally applied pending MRs) in the Mutter picking code (which determines on what actor the cursor currently is). For now I'll assume this an external bug.

Asif, can you still reproduce this?

Flags: needinfo?(yoasif)

I haven't seen this issue in a while.

Flags: needinfo?(yoasif)

Thanks, closing for now.

Status: NEW → RESOLVED
Closed: 2 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: