Closed Bug 1863150 Opened 11 months ago Closed 11 months ago

Incorrect size when taking a full page screenshot.

Categories

(Firefox :: Screenshots, defect)

Firefox 118
defect

Tracking

()

RESOLVED DUPLICATE of bug 1858053

People

(Reporter: emir.m.arslan, Unassigned)

Details

Attachments

(2 files)

Attached image image_2.png

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.

Attached image image_1.png

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.

Component: Untriaged → Screenshots

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?

Flags: needinfo?(emir.m.arslan)

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?

Flags: needinfo?(emir.m.arslan)

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?

Flags: needinfo?(emir.m.arslan)

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.

Flags: needinfo?(emir.m.arslan)

We're tracking this issue in bug 1858053.

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

Attachment

General

Creator:
Created:
Updated:
Size: