Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111143 - gnome-menus do not read bitmap icons from pixmaps
Summary: gnome-menus do not read bitmap icons from pixmaps
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 115119 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-01 06:32 UTC by Ivan Yosifov
Modified: 2008-01-20 09:32 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Yosifov 2005-11-01 06:32:22 UTC
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
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-11-01 06:52:57 UTC
<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.
Comment 2 Ivan Yosifov 2005-11-01 09:57:00 UTC
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
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-11-01 10:33:03 UTC
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.
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-11-01 11:28:45 UTC
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.
Comment 5 Radek Podgorny 2005-11-01 14:40:46 UTC
Gnome does not support bmps? This should really be fixed at Gnome level...
Comment 6 Ivan Yosifov 2005-11-04 08:27:15 UTC
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 ? 
Comment 7 Anton Romanov 2005-11-21 23:28:55 UTC
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
Comment 8 Ivan Yosifov 2005-11-22 10:40:53 UTC
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 ?
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2005-11-22 11:27:35 UTC
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.
Comment 10 SpanKY gentoo-dev 2005-12-10 14:23:17 UTC
*** Bug 115119 has been marked as a duplicate of this bug. ***
Comment 11 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-03-11 12:44:14 UTC
Can you reproduce this with hicolor-icon-theme-0.9-r1?
Comment 12 Sylvain BERTRAND 2006-03-19 09:56:51 UTC
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").
Comment 13 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-03-19 15:39:14 UTC
So, it now picks up BMP icons from /usr/share/pixmap (without the use of the complete path?)
Comment 14 Sylvain BERTRAND 2006-03-20 09:47:52 UTC
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).
Comment 15 Ivan Yosifov 2006-03-20 11:28:50 UTC
(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...

Comment 16 SpanKY gentoo-dev 2006-03-20 12:31:21 UTC
it is a misrendering

as noted by Sylvain, the pink color is reserved for transparency use
Comment 17 Ivan Yosifov 2006-03-20 13:19:05 UTC
(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...

Comment 18 Rémi Cardona (RETIRED) gentoo-dev 2006-12-03 10:06:35 UTC
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
Comment 19 Paul Bredbury 2006-12-03 10:31:01 UTC
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
Comment 20 Rémi Cardona (RETIRED) gentoo-dev 2007-06-14 21:54:13 UTC
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
Comment 21 Rémi Cardona (RETIRED) gentoo-dev 2008-01-20 09:32:33 UTC
No updates in over 6 months, don't hesitate to reopen this bug with updated information if it's still an issue.

Thanks