Closed Bug 1673586 Opened 4 years ago Closed 7 months ago

Print Previewing Screenshots renders inconsistencies accross platforms while saving to PDF or Printer Destination

Categories

(Firefox :: Screenshots, defect, P3)

Desktop
All
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox83 --- affected
firefox84 --- affected

People

(Reporter: vlucaci, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [screenshots-extension])

Attachments

(2 files)

Affected versions

  • 83.0b4
  • 84.0a1

Affected platforms

  • Windows 10x64
  • macOS 10.15.7
  • Ubuntu 20.04

Steps to reproduce

  1. Launch FF.
  2. Go to any random website(eg: wikipedia.com)
  3. Right click the page and select Screenshot
  4. Drag the margin of the Screenshot UI and select an area.
  5. CTRL+P
  6. Select Print to PDF.

Expected result

  • Only the selected screenshot area should be displayed inside the print preview.

Actual results

  • Save to PDF mode:
  • On macOS , the selected area is displayed as the first page, and the rest of the document follows in the next pages in full.
  • on Ubuntu the same behavior as above is applied.
  • On Windows, the whole page is displayed, with the shadow effect and UI of the Screenshot tool and the entirety of the document, disregarding the selection entirely

*Printer destination:

  • On macOS, the whole page is displayed, with the shadow effect and UI of the Screenshot tool and the entirety of the document, disregarding the selection entirely
  • On Ubuntu the same behavior as above is applied
  • On Windows, the whole page is displayed, with the with the shadow effect and UI of the Screenshot tool , but only the selection page is displayed

Suggested Severity

  • Seeing as how this occurs on all platforms, and it does concern a functionality that is easy to use by the user without any workarounds, I would S2 this issue.

Regression range

  • Will return with regression ASAP.

Additional notes

Summary: Print Previewing Screenshots renders inconsistencies accross platforms while saving to PDF → Print Previewing Screenshots renders inconsistencies accross platforms while saving to PDF or Printer Destination

I have been searching for a regression and have reached Fx54 with the same repro steps . This issue does not seem like a regression

Has Regression Range: --- → no

Only the selected screenshot area should be displayed inside the print preview.

Not sure that'd be my expectation fwiw. It sure is a bit weird to print the modal, but that's the state of the page right now. If we want to fix this this probably needs integration from the screenshots code somehow... But honestly I don't think this is an S2.

Component: Printing: Setup → Screenshots
Product: Core → Firefox
Whiteboard: [print2020_v84] [old-ui+] → [print2020_v85] [old-ui+]
Whiteboard: [print2020_v85] [old-ui+]

The severity field is not set for this bug.
:emalysz, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(emalysz)
Severity: -- → S4
Flags: needinfo?(emalysz)
Priority: -- → P3

In the new implementation (set screenshots.browser.component.enabled to true), with the same STR the screenshots UI is removed entirely in the print preview. I think that's what I'd expect? That being the case, I'll block this on our meta bug for that work.

Depends on: 1696573
Whiteboard: [screenshots-extension]
Attached image Screenshot.png

(In reply to Sam Foster [:sfoster] out until 2024-01-02 (he/him) from comment #5)

In the new implementation (set screenshots.browser.component.enabled to true), with the same STR the screenshots UI is removed entirely in the print preview. I think that's what I'd expect? That being the case, I'll block this on our meta bug for that work.

Tested this scenario on the latest Nightly 123.0a1 having the preference 'screenshots.browser.component.enabled' set to 'true', and the screenshots UI is still not removed when doing a print preview. Additionally I've observed an overlapping of buttons ("Save visible" and "Save full page") over the print modal.

This is fixed with the pref-flip in bug 1870127 that makes the new component implementation the default - the screenshots overlay is hidden as expected in the print preview.

Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → WORKSFORME
Depends on: 1870127
No longer depends on: 1696573
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: