Closed Bug 1072164 Opened 10 years ago Closed 10 years ago

[PDF Viewer] Image has wrong color (black instead of green)

Categories

(Firefox :: PDF Viewer, defect, P2)

32 Branch
x86_64
Windows 7
defect

Tracking

()

VERIFIED FIXED
Firefox 35
Tracking Status
firefox32 --- wontfix
firefox33 + wontfix
firefox34 + verified
firefox35 + verified
relnote-firefox --- 33+

People

(Reporter: andynew, Assigned: yury)

References

Details

(Keywords: regression, Whiteboard: [pdfjs-c-rendering][pdfjs-d-jpeg][pdfjs-f-regression][pdfjs-f-fixed-upstream]https://github.com/mozilla/pdf.js/pull/5414, [testday-20141107])

Attachments

(3 files)

Attached image firefox screenshot
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0 Build ID: 20140917194002 Steps to reproduce: I try to open a FPDF generated PDF with the pdf.js preview. Firefox 31 is ok (Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0) ("PDF a4cd1396632c947c41f3f4894c99412 [1.4 FPDF 1.53 / -] (PDF.js: 1.0.68)") Firefox 32 is not ok. (Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0) ("PDF a4cd1396632c947c41f3f4894c99412 [1.4 FPDF 1.53 / -] (PDF.js: 1.0.277)") Actual results: The image is inverted Expected results: The image should be transparent and green.
Attached file druckdatei.pdf
Component: Untriaged → PDF Viewer
It's partially fixed in FF33+, the image is visible but the color is wrong (black instead of green). Regression range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=cf89b5d018f8&tochange=7586c29906b5 Regressed by Bug 1007627. Partial working range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=bb35d1b73634&tochange=37f08ddaea48 Partially fixed by Bug 1025878. As the color is only wrong, I update the title according to the remaining issue.
Blocks: 1007627
Status: UNCONFIRMED → NEW
Depends on: 1025878
Ever confirmed: true
Keywords: regression
Summary: Since Version 32 PDF shows inverted images → [PDF Viewer] Image has wrong color (black instead of green)
I'm tracking this regression across the board but think it is unlikely that this will be fixed in Firefox 33.
Yury, any chance you could help here? thanks
Flags: needinfo?(ydelendik)
This is a regression from the upstream PR https://github.com/mozilla/pdf.js/pull/4528. In reference to bug 1072164 comment 2: It was partially addressed by PR https://github.com/mozilla/pdf.js/pull/4892.
Priority: -- → P2
Whiteboard: [pdfjs-c-rendering][pdfjs-d-jpeg][pdfjs-f-regression]
Too late for 33 but we have still time for 34 (still in aurora).
Added to the 33 release notes (known issues)
Bill - iirc you used to own pdf.js. Can you help out with this lingering bug?
Flags: needinfo?(bwalker)
Yury's going to take a look when he gets a chance.
Assignee: nobody → ydelendik
Flags: needinfo?(bwalker)
Whiteboard: [pdfjs-c-rendering][pdfjs-d-jpeg][pdfjs-f-regression] → [pdfjs-c-rendering][pdfjs-d-jpeg][pdfjs-f-regression][pdfjs-f-fixed-upstream]https://github.com/mozilla/pdf.js/pull/5414
Will work on uplifting https://github.com/mozilla/pdf.js/pull/5414 to current beta
Status: NEW → RESOLVED
Closed: 10 years ago
Depends on: 1084158
Resolution: --- → FIXED
Flags: needinfo?(ydelendik)
Attachment #8510322 - Flags: review?(bdahl)
Attachment #8510322 - Flags: review?(bdahl) → review+
Comment on attachment 8510322 [details] [diff] [review] Uplift patch for FF34/beta Approval Request Comment [Feature/regressing bug #]: bug 1007627 [User impact if declined]: some jpeg images in pdfs might look wrong [Describe test coverage new/current, TBPL]: in m-c and aurora [Risks and why]: low, affects only jpeg images in pdfs [String/UUID change made/needed]: none
Attachment #8510322 - Flags: approval-mozilla-beta?
Comment on attachment 8510322 [details] [diff] [review] Uplift patch for FF34/beta Beta+
Attachment #8510322 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [good first verify]
I can confirm it's fixed using Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 and Windows 7 62 bit.
Whiteboard: [pdfjs-c-rendering][pdfjs-d-jpeg][pdfjs-f-regression][pdfjs-f-fixed-upstream]https://github.com/mozilla/pdf.js/pull/5414 → [pdfjs-c-rendering][pdfjs-d-jpeg][pdfjs-f-regression][pdfjs-f-fixed-upstream]https://github.com/mozilla/pdf.js/pull/5414, [testday-20141107]
Reproduce with Nightly (Build ID: 20140917030202) Verified as fixed with latest Firefox 35 beta 1 (Build ID: 20141201162954): Mozilla/5.0 (Windows NT 6.1; rv:35.0) Gecko/20100101 Firefox/35.0
Status: RESOLVED → VERIFIED
Hi, I'm using v.40 and the images are appearing as black as well. The white boxes starting from page 2 are displayed in black. Test URL: https://www.pinkribbon.com.au/siteassets/gni/host-booklet.pdf
(In reply to Shils from comment #17) > Hi, > > I'm using v.40 and the images are appearing as black as well. > > The white boxes starting from page 2 are displayed in black. > Test URL: https://www.pinkribbon.com.au/siteassets/gni/host-booklet.pdf Shils, you are right, however since the original issue now works this may be a different problem. Can you please file a new bug and post the bug number here? I can then confirm it so people can have a look at it.
Flags: needinfo?(shils.rivera)
(In reply to Florin Mezei, QA (:FlorinMezei) from comment #18) > (In reply to Shils from comment #17) > > Hi, > > > > I'm using v.40 and the images are appearing as black as well. > > > > The white boxes starting from page 2 are displayed in black. > > Test URL: https://www.pinkribbon.com.au/siteassets/gni/host-booklet.pdf > > Shils, you are right, however since the original issue now works this may be > a different problem. Can you please file a new bug and post the bug number > here? I can then confirm it so people can have a look at it. See bug 1194540.
Flags: needinfo?(shils.rivera)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: