Incorrect size when taking a full page screenshot.
Categories
(Firefox :: Screenshots, defect)
Tracking
()
People
(Reporter: emir.m.arslan, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/118.0
Steps to reproduce:
Taking any full page screenshot.
Tried this on Firefox 118.0.2 on macOS 13.5.2 and Firefox 119.0 on Windows 10 Pro 22H2.
Tried with both normal mode and troubleshoot mode.
Actual results:
The page is shrinked and aligned to the top left. The remaining space is filled with transparent layer.
Example;
In Windows on normal mode, taking a screenshot in non-scrollable page (https://bugzilla.mozilla.org/home) result in correct image size (1920 x 1080), but the page is fitted to 1727 x 971 pixels. Taking a screenshot of a scrollable page (https://en.wikipedia.org/wiki/Graphics_display_resolution) results in correct image size (1903 x 23155) with weight reduced in size due to scroll bar, but the page is fitted to 1711 x 20838 pixels.
Expected results:
The image should fit the correct size.
Reporter | ||
Comment 1•11 months ago
|
||
Comment 2•11 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Screenshots' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Hi, emir.m.arslan
I tried to reproduce this issue on macOS 11.6 using latest Nightly (2023-11-08), but I couldn't recreate the situation. Could you try a Nightly as well, using a fresh profile? Are there any other details regarding the steps to reproduce?
Reporter | ||
Comment 4•11 months ago
|
||
Hi , Ada,
I downloaded Firefox Nightly 121.0a1 (2023-11-14) on Windows, and similar to yours, it did not produce the issue I had with screenshots. Before installing Nightly, I checked the previous profiles, and it showed two (default and deafault-release), which I did not create either of them. The active one was default-release profile.
From what you said, I found that the issue is with the profile. I have Firefox Sync and default-release is the active profile on both Windows and macOS. When I tried to launch secondary window with default profile and test the screenshot, the screenshot worked without any issue.
Is there any other solution without resetting the profile?
Comment 5•11 months ago
|
||
Thanks for filing this bug!
What is the value of screenshots.browser.component.enabled
in about:config?
Has the zoom on the page been adjusted at all?
Reporter | ||
Comment 6•11 months ago
|
||
screenshots.browser.component.enabled
is set to false
.
The zoom value of the page has not changed, but the default zoom value in the settings is 90%, and zoom text only option is checked.
Comment 7•11 months ago
|
||
We're tracking this issue in bug 1858053.
Description
•