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)
Tracking
()
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)
187.56 KB,
image/png
|
Details | |
4.09 MB,
application/pdf
|
Details | |
1.39 KB,
patch
|
bdahl
:
review+
lmandel
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
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.
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
status-firefox32:
--- → affected
tracking-firefox33:
--- → ?
tracking-firefox34:
--- → ?
tracking-firefox35:
--- → ?
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)
Comment 3•10 years ago
|
||
I'm tracking this regression across the board but think it is unlikely that this will be fixed in Firefox 33.
Comment 5•10 years ago
|
||
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.
Updated•10 years ago
|
Priority: -- → P2
Whiteboard: [pdfjs-c-rendering][pdfjs-d-jpeg][pdfjs-f-regression]
Comment 6•10 years ago
|
||
Too late for 33 but we have still time for 34 (still in aurora).
Comment 8•10 years ago
|
||
Bill - iirc you used to own pdf.js. Can you help out with this lingering bug?
Flags: needinfo?(bwalker)
Comment 9•10 years ago
|
||
Yury's going to take a look when he gets a chance.
Assignee: nobody → ydelendik
Flags: needinfo?(bwalker)
Updated•10 years ago
|
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
Assignee | ||
Comment 10•10 years ago
|
||
Will work on uplifting https://github.com/mozilla/pdf.js/pull/5414 to current beta
Assignee | ||
Comment 11•10 years ago
|
||
Flags: needinfo?(ydelendik)
Attachment #8510322 -
Flags: review?(bdahl)
Updated•10 years ago
|
Attachment #8510322 -
Flags: review?(bdahl) → review+
Assignee | ||
Comment 12•10 years ago
|
||
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 13•10 years ago
|
||
Comment on attachment 8510322 [details] [diff] [review]
Uplift patch for FF34/beta
Beta+
Attachment #8510322 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 14•10 years ago
|
||
Target Milestone: --- → Firefox 35
Updated•10 years ago
|
QA Whiteboard: [good first verify]
Comment 15•10 years ago
|
||
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]
Updated•10 years ago
|
Comment 16•10 years ago
|
||
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
Updated•10 years ago
|
Status: RESOLVED → VERIFIED
Comment 17•9 years ago
|
||
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
Comment 18•9 years ago
|
||
(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)
Comment 19•9 years ago
|
||
(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.
Description
•