The quake4 launcher in the Gnome menu seems to have /usr/share/pixmaps/quake4.bmp set as the icon. The file exists and displays ok in Eye Of Gnome. However the launcher has no icon in the Applications->Games menu, and if I add the launcher to the panel I get popup error saying: Failed to load image quake4.bmp Details: Icon not found Reproducible: Always Steps to Reproduce: Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo i686) ================================================================= System uname: 2.6.14-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/obelix /usr/local/portage/axxo/axxo-overlay /usr/local/portage/axxo/obelix" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acl alsa apache2 avi bash-completion berkdb bitmap-fonts cdr crypt cups curl dbus directfb doc dvd dvdr dvdread eds emboss encode firefox flac foomaticdb gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml guile hal imagemagick ithreads java javascript jpeg junit kde kdeenablefinal ldap libg++ libwww mad mikmod mmap mmx motif mp3 mpeg mysql ncurses nls nptl nsplugin nvidia ogg oggvorbis opengl pam pdflib perl pic plotutils png postgres pthreads python qt quicktime readline sdl session sharedmem slang snmp spell sse sse2 ssl svga symlink tcltk tcpd tetex threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis win32codecs xine xml2 xv xvmc zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
<wolf31o2-work> TTimo: if I were to send you a PNG of the quake4 icon, could you host it on zerowing? <TTimo> wolf31o2-work, err why would I want to do that at all ? <wolf31o2-work> TTimo: .bmp doesn't diplay correctly in gnome <TTimo> fix gnome <wolf31o2-work> I don't care that much... thanks anyway Since Id Software owns the IP for the icon and won't do anything about it, we can't change it.
Things that come to mind: 1) CC the gnome herd as it seems to be a Gnome problem. 2) If you were to make a .png icon for quake4 just use it in the ebuild instead of the original one and be done with the issue :) like in bug #99555
The icon graphic is owned by Id Software and is not the same as an icon for an open source game. We cannot make a PNG image from it, nor distribute it, without breaking the license on Quake 4 from Id. If Id were to have an icon hosted on their site that was PNG, separate from the actual patch files, then we wouldn't have a problem. I'm assigning this to the gnome herd upon request, though you could have done the same yourself.
We (gnome) are not interested in patching gnome to use bmp icons in the gnome menus. Re-open and re-assign if you come up with a legal png, or open an upstream bug with the gnome project for bmp support.
Gnome does not support bmps? This should really be fixed at Gnome level...
Now this is most peculiar: FYI, the md5sum of /usr/share/pixmaps/quake4.bmp here is: ae0976f07e2600103e59f4321f9bad67 If I copy the icon to /usr/share/ or somewhere in my home dir and set it as the launcher icon it displays fine. It is very strange that it does not work only when placed in /usr/share/pixmaps. If I rename the icon ( while in /usr/share/pixmaps ) it also does not work. Are /usr/share/pixmaps files treated specially by Gnome ?
well... i have it displayed correctly if just set Icon to fullpath ( /usr/share/pixmaps/quake4.bmp ) in .desktop entry ( i have xfce ) if in gnome it behaves in such way this can be "solved" in such way
This worked for me too, thanks Anton ! Reasigning back to games. Games herd, can you modify /usr/share/applications/quake4-quake4-bin.desktop to include the full icon path ?
Added full path... This really should be fixed in Gnome, however. It shouldn't be treating /usr/share/pixmaps as special for .bmp images and should be able to load them without the full path. The primary reason for not using the full path is it allows the user to override the icon with their own from a theme without having access to modify the .desktop file. I am making this change to the ebuild but I feel very strongly that it should *not* be made.
*** Bug 115119 has been marked as a duplicate of this bug. ***
Can you reproduce this with hicolor-icon-theme-0.9-r1?
Gnome 2.12.3, using hicolor 0.9-r1. Have the quake4 icon, but the background is pink (I think it's the "transparent color").
So, it now picks up BMP icons from /usr/share/pixmap (without the use of the complete path?)
Nope. If I remove the full path, it won't display the icon. If I put the full path, it will display the icon, but with a pink background (probably the transparent color).
(In reply to comment #14) > Nope. If I remove the full path, it won't display the icon. If I put the full > path, it will display the icon, but with a pink background (probably the > transparent color). > Hard to believe, eh ? The background is really pink, it is not a miss-rendering. I wonder what were ID thinking...
it is a misrendering as noted by Sylvain, the pink color is reserved for transparency use
(In reply to comment #16) > it is a misrendering > > as noted by Sylvain, the pink color is reserved for transparency use Sorry. I thought that since both KDE and the GIMP are rendering it pink it must really be pink...
Hi all, What's the status on this bug? Still an issue? Has anyone filed a bug in gnome's bugzilla to (hopefully) fix this? Thanks
It's still an issue in Gnome 2.16. Creating an application launcher in a gnome panel allows quake4.bmp to be selected as the icon, but the error message "could not load icon" is then shown, and a question mark instead of the quake4 icon is shown in the panel. I can't see a bug report about this at http://bugzilla.gnome.org
Has anything changed since last december? If this is still an issue, please open a bug in gnome's bugzilla and post the url here so we can keep track of it. Thanks
No updates in over 6 months, don't hesitate to reopen this bug with updated information if it's still an issue. Thanks