Open Bug 1598978 Opened 5 years ago Updated 2 years ago

Vertical scrollbar thumb position (or size) is wrong with dynamic toolbar

Categories

(Core :: Panning and Zooming, defect, P3)

Unspecified
Android
defect

Tracking

()

ASSIGNED
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)

This was probably regressed by bug 1586144.

Steps to reproduce;

  1. Open http://bokand.github.io/demo/urlbarsize.html
  2. Scroll down as possible
  3. 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.

Maybe we need to tweak the value in nsSliderFrame::BuildDisplayListForChildren?

Setting status flags based on likely regression range.

Downgrading to P3 since nobody else seems to have noticed this problem and it doesn't seem important enough to warrant a P2

Priority: P2 → P3

The (I suspect related) issue of the vertical position of horizontal scroll thumbs is pretty glaring.

STR:

  1. Run Fenix nightly
  2. Navigate to planet.mozilla.org
  3. 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).

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.

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.

Flags: needinfo?(hikezoe.birchill)
Priority: P3 → P2

Yep, I can take a look.

Assignee: nobody → hikezoe.birchill
Status: NEW → ASSIGNED
Flags: needinfo?(hikezoe.birchill)

Hmm I am confused on my local Fenix build the horizontal scrollbar thumb is moved properly...

I am hoping this video can be played on other machines.

so the vertical scrollbar issue seems to be specific for WebRender, I filed bug 1618432.

See Also: → 1618432

Thanks! I'll downgrade this back to P3 then, and we can use it to track the original problem as described in comment 0.

Priority: P2 → P3
See Also: → 1623884
Blocks: viewport-compat
No longer blocks: 1515980
Has Regression Range: --- → yes
See Also: → 1763480
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: