Open Bug 1867261 Opened 7 months ago Updated 4 months ago

Pages can display "both portrait and landscape" if not all pages are being printed (Range, Even or Odd selected)

Categories

(Core :: Print Preview, defect)

Firefox 122
Desktop
All
defect

Tracking

()

Tracking Status
firefox122 --- affected

People

(Reporter: csasca, Assigned: jwatt)

References

(Depends on 1 open bug, Blocks 4 open bugs)

Details

(Whiteboard: [Should be fixed by bug 1869211])

Attachments

(4 files)

Found in

  • Firefox 122.0a1 (20231129050021)

Affected versions

  • Firefox 122.0a1 (20231129050021)

Tested platforms

  • Affected platforms: Windows 11, macOS 13.6.1, Ubuntu 22.04

Steps to reproduce

  1. Launch Firefox and open the following link
  2. Open Print Preview
  3. From Pages, select "Even"

Expected result

  • The "even" pages are shown and the pages are in portrait mode

Actual result

  • The "even" pages are shown but the first page is rotated in landscape modeand kept in portrait as well (see attachment)

Additional notes

  • The issue can be seen in the attachment
  • The issue occurs with actual print / save to pdf

:csasca, if you think that's a regression, could you try to find a regression range using for example mozregression?

Interesting. Thanks for catching this. We won't block shipping support since mixed orientation is relatively uncommon, and previous telemetry that we've gathered also showed printing page ranges to be very uncommon.

Note: this also occurs when setting the "Pages" field to "Custom" and entering the range "2-5", and when scrolling to the second page (the landscape page) and selecting "Current". When the "Pages" field is set, those values are more commonly chosen than "Even" or "Odd".

Implementation note: this is an issue where the nsPageFrame orientation is not being matched with the PrintedSheetFrame orientation.

Assignee: nobody → jwatt
See Also: → 1869304
See Also: 1869304

This is another manifestation of bug 1869211, and should be fixed by the fix for that bug.

Depends on: 1869211
Whiteboard: [Should be fixed by bug 1869211]
Summary: First page is displayed both in portrait and landscape if even pages are selected in Print Preview for Gdocs → Pages can display "both portrait and landscape" if not all pages are being printed (Range, Even or Odd selected)
Attachment #9368904 - Attachment description: WIP: Bug 1867261. Fix pages to not simultaniously display portrait and landscape. → Bug 1867261. Fix pages to not simultaniously display portrait and landscape. r=alaskanemily
Blocks: 1876085
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: