Open Bug 1714720 Opened 4 years ago Updated 3 years ago

Cannot keyboard-scroll when focused element and scrollable element are separated by a process boundary

Categories

(Core :: Layout: Scrolling and Overflow, defect, P3)

defect

Tracking

()

Tracking Status
firefox-esr78 --- disabled
firefox89 --- disabled
firefox90 --- disabled
firefox91 --- affected

People

(Reporter: botond, Unassigned)

References

Details

Steps to reproduce

  1. Load https://hsivonen.fi/fission-host.html, with Fission enabled
  2. Click inside the first black box, thereby giving focus to content inside the OOP iframe
  3. Press the down arrow key

Expected results

The enclosing document scrolls downwards. Note, this is what happens with Fission disabled.

Actual results

Nothing scrolls.

Fission Milestone: --- → ?

I hadn't noticed this at all for a long time.

Note that Chrome has the same behavior, it doesn't scroll.

Severity: -- → S3

(In reply to Hiroyuki Ikezoe (:hiro) from comment #1)

Note that Chrome has the same behavior, it doesn't scroll.

Botond, do you think this bug should block shipping Fission?

Fission is causing a regression in Firefox's scrolling behavior (which is bad), but we now match Chrome's behavior (which might be good).

Flags: needinfo?(botond)

My suggestion would be to not block shipping Fission, but consider it as a follow-up improvement instead. We can reconsider and increase the priority based on user feedback from the pre-release experiments (i.e. if users notice / report this change).

Flags: needinfo?(botond)

(In reply to Botond Ballo [:botond] from comment #3)

My suggestion would be to not block shipping Fission, but consider it as a follow-up improvement instead. We can reconsider and increase the priority based on user feedback from the pre-release experiments (i.e. if users notice / report this change).

Thanks. Move this bug to Fission's "Future" backlog.

btw, I tried bisecting this bug to see if it was a recent regression, but this keyboard scrolling behavior has been broken with Fission since at least Firefox 73 (January 2020). (I didn't bother testing builds older than that.)

Fission Milestone: ? → Future
Priority: -- → P3

(In reply to Chris Peterson [:cpeterson] from comment #4)

btw, I tried bisecting this bug to see if it was a recent regression, but this keyboard scrolling behavior has been broken with Fission since at least Firefox 73 (January 2020). (I didn't bother testing builds older than that.)

Yep, that's what I would expect based on the code audit that led me to discover this in bug 1698693. We'd need a new IPC message to hand off the scroll to the enclosing document's process for this scenario to work with Fission.

Botond, in addition to keyboard scrolling not working in the OOP iframe, pinch zoom doesn't work when mousing over an OOP iframe. Does that change your assessment of whether this bug should be fixed for Fission MVP? Or should I file a new bug for the pinch zoom issue?

Fission Milestone: Future → ?
Flags: needinfo?(botond)
Summary: Cannot keyboard-scroll when focused element and scrollable element are separated by a process boundary → Cannot keyboard-scroll or pinch-zoom when focused element and scrollable element are separated by a process boundary

(In reply to Chris Peterson [:cpeterson] from comment #6)

in addition to keyboard scrolling not working in the OOP iframe, pinch zoom doesn't work when mousing over an OOP iframe.

I believe that's an unrelated issue, and it's being fixed (with a fix to land soon) in bug 1700247.

Flags: needinfo?(botond)
Summary: Cannot keyboard-scroll or pinch-zoom when focused element and scrollable element are separated by a process boundary → Cannot keyboard-scroll when focused element and scrollable element are separated by a process boundary

(In reply to Botond Ballo [:botond] from comment #7)

(In reply to Chris Peterson [:cpeterson] from comment #6)

in addition to keyboard scrolling not working in the OOP iframe, pinch zoom doesn't work when mousing over an OOP iframe.

I believe that's an unrelated issue, and it's being fixed (with a fix to land soon) in bug 1700247.

Thanks. In that case, I will restore the Fission Milestone to "Future" so this bug doesn't block shipping Fission MVP.

Fission Milestone: ? → Future
See Also: → 1726261

Dropping Fission Milestone Future.

(In reply to Hiroyuki Ikezoe (:hiro) from comment #1)

Note that Chrome has the same behavior, it doesn't scroll.

Note that Chrome started handoff at some point, we will see a compat issue about this. I confirmed it on Chromium 96.0.4664.45.

Fission Milestone: Future → ---
You need to log in before you can comment on or make changes to this bug.