If the screenshot's tool scroll's down when selecting, the apz framing breaks
Categories
(Firefox :: Mini Window, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: hsohaney, Assigned: hsohaney)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fide-engagement])
Attachments
(1 file, 1 external file)
|
7.36 MB,
video/mp4
|
Details |
Steps to reproduce:
- Open a long page (https://firefox-source-docs.mozilla.org/gfx/AsyncPanZoom.html) and start a Mini Window crop.
- Drag the selection past the bottom of the screen so Screenshots auto-scrolls, and make the crop taller than the visible viewport.
- Open the mini window.
Actual: The bottom part of the crop is blank.
Expected: The whole crop is rendered.
This is happening because of we early return in ScrollContainerFrame::UpdateMinimumScaleSize. For a crop taller than the layout viewport, the visual viewport ends up taller than the layout viewport. The root scroll frame only paints content inside its scrollport, so anything below the layout viewport isn't drawn.
Setting as S2 since there isn't really good way for users around this, will tackle it soon!
| Assignee | ||
Updated•1 month ago
|
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Comment 3•1 month ago
|
||
| bugherder | ||
Updated•21 days ago
|
Updated•20 days ago
|
Comment 4•17 days ago
|
||
Hello,
Verified on Nightly 161.0a1 (2026-11-02) on Windows 11, MacOS 14 and Ubuntu 26 - the MiniWindow Selection does not auto-scroll anymore, however, the user can manually use the mouse wheel in order to scroll down the page in order to capture more content (please see the attached video).
When moving said selection to Mini-Window, the selection has blank spaces up or down (depending on where the user scrolls through the mini window) and the content is small (or maybe zoomed out).
Updated•17 days ago
|
Description
•