Closed Bug 1942064 Opened 23 days ago Closed 10 days ago

PDF viewer seems to have problems displaying images correctly rotated (maybe EXIF related)

Categories

(Firefox :: PDF Viewer, defect, P3)

Firefox 134
defect

Tracking

()

VERIFIED FIXED
136 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox134 --- wontfix
firefox135 --- wontfix
firefox136 --- verified

People

(Reporter: tratnaweera, Assigned: Snuffleupagus)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0

Steps to reproduce:

  1. Open the pdf.js issue #12027 on GitHub: https://github.com/mozilla/pdf.js/issues/12027
  2. Open the file "pdfjs_orientation_issue.pdf" with Firefox:
    https://github.com/mozilla/pdf.js/files/4836022/pdfjs_orientation_issue.pdf
  3. Open the same file with a different PDF viewer (e.g. Chrome, Edge, Acrobat Reader, etc.)

Actual results:

The image in the PDF is rotated incorrectly in Firefox.

Expected results:

The image should have the same orientation as in other PDF viewers.

Attachment #9459906 - Attachment filename: Bildschirmfoto vom 2025-01-16 15-18-16.png → PDF_image_orientation_issue.png

The Bugbug bot thinks this bug should belong to the 'Firefox::PDF Viewer' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → PDF Viewer

This looks like a regression from https://github.com/mozilla/pdf.js/pull/18910, since forcing PDF.js to use its built-in JPEG decoder fixes this.

Keywords: regression
Regressed by: 1926553

:calixte, since you are the author of the regressor, bug 1926553, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(cdenizet)
Severity: -- → S3
Flags: needinfo?(cdenizet)
Priority: -- → P3
Assignee: nobody → jonas.jenwald
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

Set release status flags based on info from the regressing bug 1926553

Status: ASSIGNED → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
Duplicate of this bug: 1945468
Flags: qe-verify+

I have reproduced this issue using Firefox 136.0a1 (2025.01.16) on Windows 11.
I can confirm this issue is fixed, I verified using Firefox 136.0b2 on Win 11, macOS 10.15 and Ubuntu 22, the image from pdf document has the correct orientation.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: