the root scrollbar thumb dragging is somewhat broken in fission
Categories
(Core :: Layout, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: hiro, Assigned: hiro)
References
(Blocks 2 open bugs)
Details
Attachments
(3 files)
I have totally no idea what happens there.
STR
- Make sure "Restore tabs" is enabled in about:preferences
- Open https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#Thresholds
- Close browser window
- Open a new browser process with enabling fission
- Drag the scrollbar thumb to scroll up and down
Actually result
Scroll position jumps to the end and jumps back repeatedly
Reloading the page fixed this issue for some reasons.
I am not sure IntersectionObserver is needed to reproduce this issue, but as far as I can tell I haven't seen this issue on other pages.
![]() |
||
Comment 1•3 years ago
|
||
Smaug, do you or any of the other people working on session history just now have any idea what may be happening here?
Comment 2•3 years ago
|
||
The test page does use cross-origin iframes.
Tracking for Fission Nightly (M6)
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Can you still reproduce? I just tried and I couldn't.
Assignee | ||
Comment 4•3 years ago
|
||
Yes, looks like still happening on WebRender. I can no longer see the issue on non WebRender. I don't recall it was originally happening only on WebRender.
That said, it's hard to reproduce this, sometimes it happens, sometimes it doesn't happen at all..
Assignee | ||
Comment 5•3 years ago
|
||
It seems Session Restore is not related. I can see the issue with 1) open a new tab and 2) load https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#Thresholds 3) scroll with dragging the scroll thumb.
Assignee | ||
Comment 6•3 years ago
|
||
Now I am suspecting this is also not related to IntersectionObserver. This looks somewhat related to interactions between the root scroller and the OOP iframe's scroller.
Assignee | ||
Comment 7•3 years ago
|
||
I can reproduce on non WebRender as well. Probably the issue is easier reproducible on a debug build.
Comment 8•3 years ago
|
||
Haven't been able to reproduce here. I'll set this to M7 (blocking Fission in beta) unless we find this happening in more scenarios.
Assignee | ||
Comment 9•3 years ago
|
||
I tried local build to see whether it still persists or not, actually still there.
Assignee | ||
Comment 10•2 years ago
|
||
Confirmed still happening on a local debug build with/without WebRender.
Assignee | ||
Comment 11•2 years ago
|
||
Note that I am now mostly sure that this issue is not related to session restore.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 12•2 years ago
|
||
It seems like a key factor to reproduce this issue reliably is there should be a single browser window and single tab in the window. If there are multiple tabs, it's hard to reproduce (though I could sometimes reproduce it with multiple tabs).
And when the vertical scroll thumb is dragged, the scroll container's scroll amount is somewhat confused by the OOP iframe's scroll container?
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 13•2 years ago
|
||
Comment 14•2 years ago
|
||
Pushed by hikezoe.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c5b734ffc74f Use layersId to find the target hit testing tree node for scroll thumb dragging. r=botond
Comment 15•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Description
•