Vertical scrollbar thumb position (or size) is wrong with dynamic toolbar
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | unaffected |
firefox71 | --- | unaffected |
firefox72 | --- | fix-optional |
People
(Reporter: hiro, Assigned: hiro)
References
(Blocks 1 open bug, Regression, )
Details
(Keywords: regression)
Attachments
(1 file)
9.01 MB,
video/webm
|
Details |
This was probably regressed by bug 1586144.
Steps to reproduce;
- Open http://bokand.github.io/demo/urlbarsize.html
- Scroll down as possible
- See the scrollbar thumb position, it's not at the bottom
I am filing this issue in "Panning and Zooming" but "Layout: Scrolling and Overflow" might be more reasonable place. I did initially guess that we teak the position (or size?) in APZC but we maybe could do something in the first place when we generate FrameMetrics on the main-thread.
Assignee | ||
Comment 1•5 years ago
|
||
Maybe we need to tweak the value in nsSliderFrame::BuildDisplayListForChildren?
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Setting status flags based on likely regression range.
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Downgrading to P3 since nobody else seems to have noticed this problem and it doesn't seem important enough to warrant a P2
Comment 4•5 years ago
|
||
The (I suspect related) issue of the vertical position of horizontal scroll thumbs is pretty glaring.
STR:
- Run Fenix nightly
- Navigate to planet.mozilla.org
- Scroll down to cause the dynamic toolbar to hide
The horizontal scrollbar remains positioned above the expanded position of the dynamic toolbar, above a few lines of page content that is visible with the toolbar hidden (and continues to be positioned there even after subsequent scrolling).
Comment 5•5 years ago
|
||
Indeed, that is more immediately obvious. When I follow your STR I also see a bit of white at the bottom, like the page is being clipped a little too short. The clip seems to be about halfway between the misplaced horizontal scrollbar and the bottom of the screen, so I'm guessing it's a missing scale factor in the setVerticalClipping implementation or something like that.
Comment 6•5 years ago
|
||
Ok, let's bump this back to P2 since the horizontal scrollbar does look quite bad when it's out of place. Hiro, do you have cycles to work on this? I can file another bug about the clipping problem.
Comment 7•5 years ago
|
||
Filed https://github.com/mozilla-mobile/fenix/issues/8784 for the clipping problem.
Assignee | ||
Comment 8•5 years ago
|
||
Yep, I can take a look.
Assignee | ||
Comment 9•5 years ago
•
|
||
Hmm I am confused on my local Fenix build the horizontal scrollbar thumb is moved properly...
Assignee | ||
Comment 10•5 years ago
|
||
I am hoping this video can be played on other machines.
Assignee | ||
Comment 11•5 years ago
|
||
so the vertical scrollbar issue seems to be specific for WebRender, I filed bug 1618432.
Comment 12•5 years ago
|
||
Thanks! I'll downgrade this back to P3 then, and we can use it to track the original problem as described in comment 0.
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Description
•