Closed Bug 1701533 Opened 5 years ago Closed 5 years ago

Full page screenshot of zoomed page creates picture of incorrect size

Categories

(Core :: Web Painting, defect)

Firefox 87
defect

Tracking

()

RESOLVED DUPLICATE of bug 1699410

People

(Reporter: 7cf148fd, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

Open browser on any web page (Windows or Mac is the same)

  1. Zoom in or out of a web page (say, zoom out to 50%)
  2. Use the screenshot functionality to take a full-page (important) screen shot

Actual results:

The saved picture has an incorrect size (already visible on preview).
A transparent border is added on the right-hand and bottom sides, equals to 1/Xth of the zoom level:

  • if the zoom level was 50%, the picture is 1/0.5 = 2x the width and 2x the height
  • if the zoom level was 67%, the picture is 1/0.67 = 1.5x the width and 1.5x the height
  • if the zoom level was 200%, the picture is 1/0.5 = 0.5x the width and 0.5x the height

Expected results:

The screenshot shouldn't have that transparent margin.

Please note that I submitted the bug using a different browser but I observed the bug with v87, which is the latest as of the submission of this bug.

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

Component: Untriaged → Graphics: WebRender
Product: Firefox → Core

Not sure if the bug is in the web painting code or in the js code that implements the screenshot functionality.

Component: Graphics: WebRender → Web Painting
Flags: needinfo?(emalysz)

Thanks for reporting! The work for this is being completed in Bug 1699410.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Flags: needinfo?(emalysz)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: