Closed Bug 1700736 Opened 4 years ago Closed 10 months ago

Screenshots come out wrong if page zoom is used in "zoom text only" mode

Categories

(Firefox :: Screenshots, defect, P2)

Firefox 88
defect

Tracking

()

RESOLVED DUPLICATE of bug 1858053

People

(Reporter: frederik, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0

Steps to reproduce:

If you zoom in a page or have already set a certain zoom factor (eg. 120%) for a page using "zoom text only", the screenshot tool does not capture the actual area you have selected while taking a screenhot but produces an image of an even higher zoomed version instead that is cut off because the dimensions of the screenshot remain as selected.

Screenshots will be added to demonstrate.

Actual results:

The screenshot produces an image of the exact proportions that were selected but shows parts of the selected website with an even higher zoom level

Expected results:

The screenshot should look exactly as the selected part of the website

The Bugbug bot thinks this bug should belong to the 'Firefox::Screenshots' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Screenshots

Thanks for the bug report, Frederik! I can reproduce this bug, too.

I can reproduce in Firefox 87 but not ESR 78, so this appears to be a regression between version 78 and 87.

Status: UNCONFIRMED → NEW
Ever confirmed: true

Glad to hear that it's reproducible; good luck figuring things out!

Regression from bug 1664444 according to mozregression.

Has Regression Range: --- → yes
Has STR: --- → yes
Flags: needinfo?(emalysz)
Regressed by: 1664444

Thanks for reporting! The fix will be posted in Bug 1699410

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(emalysz)
Resolution: --- → DUPLICATE

This got conflated with a different zoom related bug. This one is specifically about screenshots with the "zoom text only" preference set - which was not fixed by the patch on bug 1699410.

Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Severity: -- → S3
Priority: -- → P2
Blocks: 1753269

This also crops whole page screenshots. Flipping the "Zoom text only" preference does make it go away.

Setting screenshots.browser.component.enabled to true fixes/works around the issue (found here).

(In reply to Gummi from comment #8)

This also crops whole page screenshots. Flipping the "Zoom text only" preference does make it go away.

Setting screenshots.browser.component.enabled to true fixes/works around the issue (found here).

Consider yourself my hero!
After over two years that feature is usable again for me.
Thanks a ton!

There a bit more detail on this same issue in bug 1858053. I'm going to dupe this so we can track it in one place.

Status: REOPENED → RESOLVED
Closed: 4 years ago10 months ago
Duplicate of bug: 1858053
Resolution: --- → DUPLICATE
Duplicate of this bug: 1869240
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: