Last Comment Bug 507600 - some images in the UI and on web pages are being rendered in greyscale on Ubuntu 9.04 (possibly limited to PNGs)
: some images in the UI and on web pages are being rendered in greyscale on Ubu...
Product: Core
Classification: Components
Component: GFX: Color Management (show other bugs)
: 1.9.1 Branch
: x86 Linux
-- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Milan Sreckovic [:milan]
Depends on:
  Show dependency treegraph
Reported: 2009-07-31 04:31 PDT by Macha
Modified: 2011-10-07 16:01 PDT (History)
4 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Macha 2009-07-31 04:31:58 PDT
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20090715 Firefox/3.5.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20090715 Firefox/3.5.1

The newest firefox build available in the ubuntu repos was 3.5 RC2, so I downloaded 3.5.1 from and extracted it to a folder on my desktop.

Then I changed my firefox shortcuts from /usr/bin/firefox %u to /home/me/Desktop/firefox/firefox %u .

Since doing this, some images (both parts of the UI, and images on web pages) are being rendered in greyscale. All the images in web pages affected are PNGs, but not all PNGs are affected.

Reproducible: Always

Steps to Reproduce:
1. Go to site linked as an example.
2. Look at the images.
Actual Results:  
The logo up in the top left (a PNG) is fine for me, but the screenshot (also showing the problem in action, in case your browser renders it fine) I posted is all in greyscale when viewed with 3.5.1 (it's fine in RC2, other browsers

Expected Results:  
Should the images with the correct colours.

Firefox is using the default theme.

Disabling plugins does not fix the issue.

My computer Ubuntu 9.04 with both GNOME and KDE installed (GNOME is the default desktop).
Comment 1 User image Ian Stirling. 2009-07-31 06:22:20 PDT
Do you refer to the cc-by-sa image - and the other logo in the bottom right?
This image is greyscale.
Also - the site indicates it's in private beta - and has no other images - other than the toolbar links - do you perhaps have a login to this site?
Can you show it on another site?
Comment 2 User image Matthias Versen [:Matti] 2009-07-31 07:40:02 PDT
Does it work if you change gfx.color_management.mode from 2 to 0 in about:config ?
Comment 3 User image Macha 2009-07-31 13:42:38 PDT
@Ian: Sorry I forgot, beta password is at the offical blog

It's ewok.adventure (it's posted publicly officially, so there's no harm posting it here).

The image in the thread is what I referred to (which you will see if you type in ewok.adventure).

As for another site: The favicon for this site (bugzilla itself) is also being greyed out.

Link to an image showing it going wrong:
Comment 4 User image Macha 2009-07-31 13:44:28 PDT

I've changed the setting, and restarted firefox, and it still looks the same.
Comment 5 User image Macha 2009-07-31 14:22:45 PDT
Update: It appears last time I restarted firefox, it was still running on another desktop, so it wasn't a proper restart. Now (with the settings changed), it is appearing correctly.
Comment 6 User image Matthias Versen [:Matti] 2009-07-31 14:53:30 PDT
Firefox3.5 does Color correction for images with a color profile by default.
This looks like an issue with your used color profile/X server.

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