In some programs (chromium, kwin, oxygen qt style, oxygen kwin), some PNGs are displayed oddly (there seems to have only 256 colors and). But in other programs like konqueror, gimp, gwenview, the problem doesn't occur. To illustrate the problem: http://img834.imageshack.us/f/capture10q.png/ The problem started when I switched to kde-4.6 (from 4.4) but I don't know if it's related because the problem still occurs if I launch chromium in enlightnement for example. Reproducible: Always Steps to Reproduce: 1. open http://www.google.fr/images/nav_logo38.png with chromium Actual Results: You see an ugly image with few colors Expected Results: Real google colors
post all images as attachments to this bug. links to external sites is not OK. also, please post `emerge --info`.
Here is my emerge --info (actually i'm using paludis, I don't know if it's a matter) Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.11.3-r0, 2.6.38-gentoo x86_64) ================================================================= System uname: Linux-2.6.38-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_650_@_3.20GHz-with-gentoo-2.0.2 Timestamp of tree: Mon, 21 Mar 2011 10:00:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.1_p9::<unknown repository> dev-lang/python: 2.6.6-r2::<unknown repository>, 2.7.1-r1::<unknown repository>, 3.1.3-r1::<unknown repository> dev-util/cmake: 2.8.4::<unknown repository> sys-apps/baselayout: 2.0.2::<unknown repository> sys-apps/openrc: 0.7.0::<unknown repository> sys-apps/sandbox: 2.4::<unknown repository> sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.9.6-r3::<unknown repository>, 1.11.1 sys-devel/binutils: 2.20.1-r1::<unknown repository> sys-devel/gcc: 4.4.5::<unknown repository>, 4.5.2::<unknown repository> sys-devel/gcc-config: 1.4.1::<unknown repository> sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fexcess-precision=fast -mfpmath=sse,387" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe -fexcess-precision=fast -mfpmath=sse,387" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,-z,combreloc -Wl,-z,now -Wl,--as-needed -Wl,--sort-common" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi aio amd64 archive asf bash-completion berkdb bittorrent branding bzip2 cairo cdda cdr cleartype cli consolekit cracklib crypt cuda cups custom-cflags cxx daap dbus dri drm dts dvd dvdr emboss encode exif fam fat ffmpeg firefox flac fortran gallium gdbm gif gles gpm gstreamer iconv icu imagemagick ipad iphone ipod ipv6 jpeg kde kipi konqueror lastfm lcms libnotify llvm lzma mad mikmod mmx mmxext mng modules mp3 mp3tunes mp4 mpeg mtp multilib musicbrainz mysql ncurses nls nptl nptlonly nsplugin ntfs ogg opengl openmp openssl oss oss4 pam pango pch pcre pdf perl phonon png policykit ppds pppd projectm python qt3support qt4 readline sdl semantic-desktop session smp spell sqlite sqlite3 sse sse2 sse3 sse4 ssl ssse3 startup-notification svg sysfs system-sqlite tcpd threads tiff truetype unicode upnp usb vaapi vdpau vim-syntax vorbis webkit x264 xcb xcomposite xine xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 266785 [details] An example of the problem
(In reply to comment #3) > Created attachment 266785 [details] > An example of the problem Can you describe the problematic areas in this example image?
Created attachment 266893 [details] Another example (more evident) As you can see in the latest example, the png loaded in chromium is ugly but in gwenview there is no problem. Also note the kwin window colors and the qt widget style (it's the default theme of kde 4.6 : oxygen). But I don't know if it's related to PNG...
What version of libpng are you using? Did the problem start soon after a libpng upgrade? Try 'qlop -l | grep png' if you don't remember...
My version of libpng is 1.4.5. # cat /var/log/paludis.log | grep install | grep png 1300467944: starting install of package media-libs/libpng-1.4.5:0::gentoo (40 of 238) 1300467953: finished install of package media-libs/libpng-1.4.5:0::gentoo (40 of 238) 1300715050: starting install of targets libpng 1300715051: starting install of package media-libs/libpng-1.4.5:0::gentoo (1 of 1) 1300715062: starting clean of package media-libs/libpng-1.4.5:0::installed (1 of 1) 1300715063: finished clean of package media-libs/libpng-1.4.5:0::installed (1 of 1) 1300715064: finished install of package media-libs/libpng-1.4.5:0::gentoo (1 of 1) 1300715064: finished install of targets libpng 1300716432: starting install of package media-gfx/optipng-0.6.4:0::gentoo (2 of 18) 1300716437: finished install of package media-gfx/optipng-0.6.4:0::gentoo (2 of 18) But, actually, I recently reinstalled all my system (from stage3) because I was in ~amd64 and I thought the problem came from that. Now I'm in amd64 with these keywords files : http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=blob_plain;f=Documentation/package.keywords/kde-4.6.keywords and sys-devel/gcc ~amd64 sys-apps/baselayout ~amd64 sys-kernel/gentoo-sources ~amd64 media-sound/oss-devel ~amd64 www-plugins/libflashsupport ~amd64 sys-apps/paludis ~amd64 net-fs/curlftpfs ~amd64 dev-lang/python ~amd64 app-admin/eselect-package-manager ~amd64 sys-apps/openrc ~amd64 app-admin/eselect ~amd64 net-misc/ksshaskpass ~amd64 x11-themes/oxygen-gtk ~amd64 net-print/cups ~amd64 media-sound/lingot ~amd64 kde-misc/kwebkitpart ~amd64 app-emulation/virtualbox-bin ~amd64 app-emulation/virtualbox-modules ~amd64 dev-util/aap ~amd64 dev-util/asciidoc ~amd64 The problem did not occur before I switched to kde-4.6.
Created attachment 270377 [details] An image and its thumbnail I'm not sure it's related to kde because the problem still occurs in others desktop environments with non kde applications (eg. TWM + chromium) Maybe an useful information, I found a PNG on wikipedia which displays correctly but not its thumbnail (c.f attachment). There is also the diff between `identify -verbose` for the images. Many differences but the main which I noticed are 8c8 < Type: TrueColor --- > Type: TrueColorMatte 15a16 > alpha: 1-bit Thanks for your help because, as a web developer, this bug is very critical for me.
Since the last emerge world, everything is ok... I think I'll never know what happened :)