Bug 1281813

Summary: [gfx.color_management.enablev4] Wrong colors in some images in Firefox (reminds of negative)
Product: [Fedora] Fedora Reporter: Piotr Popieluch <piotr1212>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: gecko-bugs-nobody, jhorak, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-20 15:49:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Piotr Popieluch 2015-11-13 13:26:11 UTC
Description of problem:
Firefox shows incorrect colors on specific images. The image looks like a negative. I've only seen this on images on http://www.nrc.nl .Other browers show colors correctly.

I've uploaded a screenshot which shows this clearly:
https://piotrp.fedorapeople.org/screenshot_colors.png
The screenshot shows the same image in FF, Chrome, eog and epiphany.

The actual image:
https://piotrp.fedorapeople.org/colors.jpg

Firefox on Ubuntu does not show this problem.

Version-Release number of selected component (if applicable):
firefox-42.0-2.fc23.x86_64

How reproducible:
always


Steps to Reproduce:
1. Open provided link
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Martin Stransky 2015-11-13 13:32:44 UTC
I can reproduce. Peter, can you please look at it?

Comment 2 Piotr Popieluch 2015-11-13 13:39:16 UTC
When I set gfx.color_management.mode to 0 it shows the colors correctly. The default is 2. 

I've checked on the ubuntu system and it also has the setting set to 2, but there it does show the image colors correctly.

Comment 3 Piotr Popieluch 2015-11-20 11:39:51 UTC
The colors now look different, but still not correct.

https://piotrp.fedorapeople.org/colors_screenshot_2015_11_20.png

Same version of firefox, I'm trying to check which update might have caused this.

Comment 4 Piotr Popieluch 2015-12-18 22:16:10 UTC
ff43 still affected

Comment 6 Martin Stransky 2016-01-04 13:58:30 UTC
Seems to be caused by some Fedora Firefox settings, may be caused by image library we use in Fedora. If I built Fedora Firefox with default settings (default mean Mozilla default) the image is show correctly.

Comment 7 Martin Stransky 2016-01-05 20:50:40 UTC
it's caused by gfx.color_management.enablev4 which is enabled in Fedora.

Comment 8 Piotr Popieluch 2016-02-17 10:20:50 UTC
Tested in FF44 on F23 and can confirm that changing the gfx.color_management.enablev4 setting to false shows the image how it is intended to be.

Could the default be changed?

Comment 9 Fedora End Of Life 2016-11-24 13:23:06 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. 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 '23'.

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 23 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 2016-12-20 15:49:39 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 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.