Good evening, dear Habraludi!
This is my first post on Habré, so please do not kick it painfully.I know that Habrahabr is not a bugtracker, but when I google, I did not find any mention of this problem, so I decided to ask the Habrasoobschestvuyu question. Perhaps someone else will come in handy.It so happened that under Windows I always used the latest nightly-builds of firefox (3.1 / 3.5, 3.2 / 3.6). And he was pleased. Today I use Linux (
Ubuntu 9.04 , then
Linux Mint 7 - which is, however, the same thing). There are
firefox and
firefox-3.5 packages in the repository: the first is version 3.0.11, the second is one of the beta versions.
')
In work 3.0 there are no flaws, but in release 3.5 after release I have a very unpleasant bug with png-images. :( Namely: the
colors of some png-files are distorted .
Here is what I get (on the left - as it should be, on the right - as it is):

This bug is reproduced in all releases of 3.5: both from the Ubunt repository, and from the Mozilla site itself. The screenshot was taken in the current version at the time of writing:
Mozilla / 5.0 (X11; U; Linux i686; en; rv: 1.9.1) Gecko / 20090615 Firefox / 3.5
I appeal to all users who can help, say what the problem may be or at least where to dig. I will add the answer to the topic so that it can help my colleagues in misfortune.
Thank you in advance.UPD: Solution found.
The thing is that in Firefox, starting from 3.1 / 3.5,
color management is enabled for images with a built-in color profile.
And in Ubuntu, these very default profiles are missing.
There may be two solutions.
The first is the right one: install profiles.
sudo apt-get install icc-profiles
Then in about: config
gfx.color_management.mode = 2
gfx.color_management.display_profile = /usr/share/color/icc/sRGB.icm
The second is wrong. Disable color correction:
In about: config
You must set the parameter
gfx.color_management.mode = 0
For the hint, thanks to the habrauser
coldFlame ,
konopkov and
private_face .
UPD: moved to Ubuntarium.