Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122200 - media-sound/amarok-1.3.8 tray icon is incorrect
Summary: media-sound/amarok-1.3.8 tray icon is incorrect
Status: RESOLVED DUPLICATE of bug 131996
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 118263
Blocks:
  Show dependency tree
 
Reported: 2006-02-08 18:01 UTC by Paul Moore
Modified: 2006-05-02 07:03 UTC (History)
2 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 Paul Moore 2006-02-08 18:01:30 UTC
I have a problem with the system tray icon in amaroK, while the icon is fully functional in the sense that the popups and mouse interaction works it appearance, meaning the icon itself, is not correct.  Instead of the "blue wold" amaroK logo I see a rather default-ish looking blank page icon.

I was not sure if this should be posted to the amaroK developers directly or to the Gentoo bugzilla but ultimately I decided it might be some sort of ebuild or stoopid user problem so I am trying here first.  Any help would be greatly appreciated.

Here is my emerge information:
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.6-r2, 2.6.15-gentoo-r3 i686)
=================================================================
System uname: 2.6.15-gentoo-r3 i686 Intel(R) Xeon(TM) CPU 1400MHz
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X X509 a52 aac acpi aim alsa apm arts asf avi berkdb bitmap-fonts bittorrent bluetooth browserplugin bzip2 cdb cdparanoia cdr crypt cups dbus dga divx4linux dnd doc dv dvb dvd dvdread eds emboss encode ethereal examples exif ffmpeg flac foomaticdb fortran ftp gcj gd gdbm gif gimp gnome gphoto2 gpm gstreamer gtk gtk2 hal ieee1394 imagemagick imap imlib ipv6 jabber java javascript jpeg kde kqemu libg++ libwww mad matrox mikmod mime mjpeg mmap mmx mng motif mozilla mp3 mpeg mplayer msn ncurses nls nptl nsplugin ofx ogg oggvorbis opengl oss pam pda pdflib perl png posix ppds python qt quicktime readline ruby samba scanner sdl sharedmem smp snmp sockets spell sse sse2 ssl svg tcltk tcpd threads tiff truetype truetype-fonts type1-fonts usb v4l vcd visualization vorbis win32codecs wmf xine xml xml2 xmms xpm xv yahoo zlib zvbi elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-11 10:00:19 UTC
Diego, can you reproduce this? I use a slightly modified Amarok, with different icons, which works fine.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-11 10:10:18 UTC
Uhm I'm not using 1.3.8 at the moment to be honest (was running my 1.4 snapshot before, and 1.4-beta1_RC1 right now), but never seen or heard of this problem before.

Can you give the output of echo $KDEDIR and echo $KDEDIRS ?
Comment 3 Paul Moore 2006-02-11 14:33:54 UTC
Here ya go:

 [pcmoore@stuffed ~ ]echo $KDEDIR
 KDEDIR: Undefined variable.
 [pcmoore@stuffed ~ ]echo $KDEDIRS
 /usr

I tried (re)setting $KDEDIR to point to /use/kde/3.5 and that seems to do the trick.  Here are the contents of my /etc/env.d/99kde-env file:

 KDEDIRS=/usr
 CONFIG_PROTECT=/usr/share/config
 #KDE_IS_PRELINKED=1

Perhaps there is a problem with the KDE ebuilds (I haven't changed this file from the default)?
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-11 17:38:30 UTC
You had arts merged and then moved to -arts setup, removing it later, perhaps?
In that case try to re-emerge kdelibs, and make sure /etc/env.d/??kdepaths is present.
Comment 5 Paul Moore 2006-02-12 05:19:13 UTC
I've always had arts as part of my USE flags, and I just merged in KDE 3.5.1 earlier this week.  I do have the file "/etc/env.d/45kdepaths-3.5", here are the contents:

PATH=/usr/kde/3.5/bin
ROOTPATH=/usr/kde/3.5/sbin:/usr/kde/3.5/bin
LDPATH=/usr/kde/3.5/lib
CONFIG_PROTECT="/usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown"

I also noticed something a little strange after adding "KDEDIR=/usr/kde/3.5" to my "/etc/env.d/99kde-env" file and running env-update; having amaroK start as login (the seesion manager automatically restarting it) causes it to display the default logo, the same is true if I start it from the menu.  However, if I open a terminal and start it from there I get the correct tray icon.  Any ideas on that one?

Also, thank you to everyone who has helped me so far ... hopefully I can get to the bottom of this soon.
Comment 6 Paul Moore 2006-02-18 05:03:58 UTC
I had a few free minutes this morning so I decided to try and figure out why the amaroK icon displayed correctly when started from a terminal but incorrectly when started from the KDE menu.  It turns out to be a problem with the default Gentoo /etc/csh.cshrc due to a change which was made as a result in bug #104763 which causes [t]cshrc to only load /etc/csh.env if it is an interactive shell.  Removing the conditional requirement for "$?prompt" causes the amaroK icon to be displayed correctly (because KDEDIR is finally set).

I'm not sure how you guys want to solve this, but I think it is worth fixing because I imagine the problem extends beyond amaroK to all of KDE.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-02 07:03:47 UTC

*** This bug has been marked as a duplicate of 131996 ***