Bug 1403970 - Some JPEG images are rendered dark in Firefox 50
Summary: Some JPEG images are rendered dark in Firefox 50
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 24
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jan Horak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-12 18:47 UTC by Jaša Bartelj
Modified: 2017-08-08 19:26 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-08 19:26:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
firefox 50 screen shot with darkly rendered images (106.48 KB, image/jpeg)
2016-12-12 18:47 UTC, Jaša Bartelj
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1399806 0 unspecified CLOSED gfx.color_management.enablev4 defaults to true, should be false 2021-02-22 00:41:40 UTC

Internal Links: 1399806

Description Jaša Bartelj 2016-12-12 18:47:57 UTC
Created attachment 1230878 [details]
firefox 50 screen shot with darkly rendered images

Description of problem:
Some JPEG images are rendered dark in Firefox 50. See screenshot attachment.

Version-Release number of selected component (if applicable):
$ rpm -qa firefox
firefox-50.0.2-1.fc24.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Visit http://arstechnica.com/gaming/2016/12/one-upping-the-nes-classic-edition-with-the-raspberry-pi-3-and-retropie/

Actual results:
Some images in linked article are dark.

Expected results:
Images should be rendered with proper contrast and/or brightness.

Additional info:
* Creating a fresh profile does not change the problem (extensions not at fault).
* Mozilla's build of FF 50.0.2 DOES NOT exhibit this problem (available @ https://archive.mozilla.org/pub/firefox/releases/50.0.2/linux-x86_64-EME-free/en-GB/firefox-50.0.2.tar.bz2)

Comment 1 Jaša Bartelj 2017-01-11 16:59:01 UTC
firefox-50.1.0-1.fc24.x86_64

Comment 2 Jaša Bartelj 2017-03-06 15:51:10 UTC
firefox-51.0.1-2.fc24.x86_64 affected.

Comment 3 Jan Horak 2017-03-10 12:52:35 UTC
Thanks for the report.

It's related to color management. To workaround this change gfx.color_management.enablev4 to false in about:config.
or
you could check the color profile for your monitor in Gnome Settings/Color. Disabling color profile also helps to me, but that's most likely unwanted 'solution'.

Comment 4 Jan Horak 2017-03-10 13:27:04 UTC
Looks like this problem is tracked upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=512705

BTW upstream binaries has the gfx.color_management.enablev4 set to false by default, that's why is it okay in it. If you change it to true you'll encounter same problem as our build.

Comment 5 Jan Horak 2017-03-10 13:40:31 UTC
For the reference, it was enabled by fixing bug 878831.

Comment 6 Jan Horak 2017-03-10 13:41:56 UTC
Richard, do you think we can do something about that? Do you have any clue what's wrong here? Do the image looks good for you?

Comment 7 Chris Murphy 2017-03-10 16:51:17 UTC
I do see the problem on Fedora's Firefox. I don't see the problem using the org.mozilla.FirefoxDevEdition/x86_64/master org.mozilla.FirefoxDevEdition-origin flatpak. Of course these have gfx.color_management.enablev4 true and false respectively. I also don't see the problem in GIMP.

The short term solution is what I recommend in bug 1399806.

Comment 8 Jan Horak 2017-04-03 12:06:30 UTC
I guess we'll disable color management for Firefox until it is fixed.

Comment 9 Fedora End Of Life 2017-07-26 00:04:27 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 10 Fedora End Of Life 2017-08-08 19:26:04 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.