Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350813 - www-client/mozilla-firefox displays some images more purple
Summary: www-client/mozilla-firefox displays some images more purple
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-06 12:02 UTC by Andrey
Modified: 2011-01-14 16:38 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
screenshot (firefox.png,1.01 MB, image/png)
2011-01-06 12:04 UTC, Andrey
Details
sample image (pic.png,65.23 KB, image/png)
2011-01-06 12:05 UTC, Andrey
Details
emerge --info (emerge.info,4.44 KB, text/plain)
2011-01-07 09:05 UTC, Ján Bednár
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2011-01-06 12:02:23 UTC
Firefox displays some images more purple than they are.

Reproducible: Always




$ emerge --info
Portage 2.2.0_alpha13 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.12.1-r3, 2.6.36-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r3-x86_64-Pentium-R-_Dual-Core_CPU_T4400_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 06 Jan 2011 10:45:03 +0000
ccache version 3.1.3 [enabled]
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/ccache:     3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo xorik
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles "
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/xorik"
SYNC="rsync://mirror.yandex.ru/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 automount bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran fuse gdbm gdu gif gimp gnome gnome-keyring gpm gtk iconv ipv6 jpeg laptop lcms libnotify mad madwifi mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline samba sdl session spell sse sse2 sse3 ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb userlocales v4l v4l2 vorbis wifi x264 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="authz_host dir alias mime rewrite vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1018" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i810 i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrey 2011-01-06 12:04:50 UTC
Created attachment 259043 [details]
screenshot
Comment 2 Andrey 2011-01-06 12:05:21 UTC
Created attachment 259044 [details]
sample image
Comment 4 Ján Bednár 2011-01-07 09:02:16 UTC
Same here.

Please compare the same webpage in firefox and chromium:
http://img88.imageshack.us/img88/2363/firefoxw.png
http://img34.imageshack.us/img34/8231/chromiumg.png

Image in header is blue but firefox displays it more purple than it really is.
Displayed image is PNG file.

eix -I libpng
[I] media-libs/libpng
     Available versions:  
        (1.2)   1.2.44
        (0)     1.4.3 (~)1.4.4 (~)1.4.4[1] ~1.4.5 ~1.4.5[1]
        {apng static-libs}
     Installed versions:  1.2.44(1.2)(10:46:33 AM 11/12/2010) 1.4.4[1](10:48:56 AM 11/12/2010)(apng)
     Homepage:            http://www.libpng.org/
     Description:         Portable Network Graphics library

[1] "mozilla" /var/lib/layman/mozilla
Comment 5 Ján Bednár 2011-01-07 09:05:14 UTC
Created attachment 259117 [details]
emerge --info
Comment 6 Ján Bednár 2011-01-07 09:07:00 UTC
Forgot to mention that the 'purple' happens both with firefox 3.6 and firefox 4.


# eix -I -c firefox
[I] www-client/firefox (4.0_beta9_pre-r2[1]@01/02/2011): Firefox Web Browser
[I] www-client/firefox-bin (3.6.13@12/13/2010): Firefox Web Browser
[1] "mozilla" /var/lib/layman/mozilla

Found 2 matches.
Comment 7 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2011-01-09 17:27:03 UTC
I'm reassigning to X11 after talking to Jory (anarchy).
Comment 8 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-01-09 20:12:52 UTC
Could be a cairo problem. Do you get the same colors when you print to file?

Comment 9 Jory A. Pratt gentoo-dev 2011-01-09 20:19:24 UTC
actually has nothing to do with cairo, if you refer to same image in imagemagick does it display the same way?
Comment 10 Andrey 2011-01-10 06:27:53 UTC
"display /tmp/pic.png" shows sample image in normal colors
Comment 11 Andrey 2011-01-10 06:31:29 UTC
Print to file from firefox to pdf file makes pdf with "purple" colors
Comment 12 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-01-10 08:22:45 UTC
Does Firefox use some kind of color profiles?
Comment 13 Andrey 2011-01-10 09:07:30 UTC
In ubuntu 10.10 this file displays correct in same version of firefox
Comment 14 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-01-10 09:56:40 UTC
Does the problem happen for a newly created user too?
Comment 15 Andrey 2011-01-10 11:53:57 UTC
nothing changes with new user and new firefox profile (image still "purple")
Comment 16 Andrey 2011-01-11 19:50:54 UTC
Any ideas? I can try to build firefox with diffrent use-flags, or try old version of cairo/libpng
Comment 17 Rémi Cardona (RETIRED) gentoo-dev 2011-01-11 20:54:23 UTC
Did you try disabling firefox's color management? I'm not sure which about:config option handles this, but I would definitely try one of those options first.

In any case, I doubt it's an X11 issue.

Cheers
Comment 18 Andrey 2011-01-12 05:45:22 UTC
Thank you, Rémi Cardona.
I set "gfx.color_management.mode" to "0" in about:config and restart firefox. All images is normal now!
Comment 19 Mart Raudsepp gentoo-dev 2011-01-12 17:53:42 UTC
I think mozilla team should briefly review the surfaced facts before closing the bug
Comment 20 Jory A. Pratt gentoo-dev 2011-01-14 16:38:46 UTC
We will not override the default if the user wishes to they may do so as always.