Bug 238854 - Notification icon displays as a blue question mark instead of round wolf icon
Summary: Notification icon displays as a blue question mark instead of round wolf icon
Status: RESOLVED DUPLICATE of bug 232578
Alias: None
Product: amarok
Classification: Applications
Component: Notifications (show other bugs)
Version: 2.3.1
Platform: Compiled Sources Linux
: LO normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 05:40 UTC by Curtis Walker
Modified: 2010-06-13 19:10 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Walker 2010-05-26 05:40:50 UTC
Version:           2.3.1 (using KDE 4.4.3) 
OS:                Linux

Using Arch Linux, Gnome 2.30.0, KDE 4.4.1

For the latest amarok-git (2.3.1-git) (as of the last two weeks at least), in the panel notification area the amarok tray icon displays as a page with a blue question mark on it, instead of the round wolf icon.

I would think this may be the fault of Gnome, except the icon is restored when reverting back to amarok 2.3.0. The icon properly displays when using running a KDE session.

Reproducible: Always

Steps to Reproduce:
Install amarok-git AUR package under Arch, and open amarok under Gnome desktop environment. Notification area icon displayes as above, rather than the proper amarok icon.



OS: Arch Linux (i686) release 2.6.33-custom (custom kernel)
Compiler: gcc
Comment 1 Kevin Funk 2010-05-28 10:47:25 UTC
Maybe the amarok-git package doesnt install the icon in the correct location:
Amarok uses standard notifyrc file with following content:
"""
[Global]
IconName=amarok
"""
Comment 2 Markus Peloquin 2010-06-01 12:41:05 UTC
Invalid?  I just upgraded kde-3.3 to -3.4 and amarok-2.3.0 -> -2.3.1 and I am seeing this also.  I am using fluxbox and the icons /usr/share/icons/hicolor/AAAxAAA/apps/amarok.png are all there for AAA in {16,22,32,48,64,128}.
Comment 3 Curtis Walker 2010-06-01 12:59:50 UTC
Several others are also reporting this behaviour on the Arch linux forum - and it's occuring with the 2.3.1 version as well, not just the -git version as mentioned above.

http://bbs.archlinux.org/viewtopic.php?id=98206
Comment 4 Rick W. Chen 2010-06-01 13:22:25 UTC
it probably has something to do with the new systray protocol used when kde 4.4 is present.
Comment 5 Rene Ploetz 2010-06-02 00:39:11 UTC
This may not be very likely, as bug #232578 seems to indicate that this happens in KDE 4.3 as well.

I also can confirm that this happens both in my builds and the current Fedora builds for 2.3.1 (which are not pushed as an update as of now).
Builds prior to the 2.3.0-build pushed as update on March 25, 2010 do not show this bug, but as the bug report mentioned above suggests this problem occurred some time around late April.
The icons are also present in /usr/share/icons/hicolor/*/apps

The console output is stating that the icon cannot be found (amarok --debug --nofork):

...
amarok: END__: MainWindow::MainWindow() - Took 2.3s 
QSystemTrayIcon::setVisible: No Icon set
amarok: BEGIN: Amarok::TrayIcon::TrayIcon(QObject*) 
amarok: END__: Amarok::TrayIcon::TrayIcon(QObject*) - Took 0.0049s 
...

Using strace -e trace=open amarok --debug --nofork , one can see the following:
...
amarok: END__: MainWindow::MainWindow() - DELAY Took (quite long) 9.5s 
QSystemTrayIcon::setVisible: No Icon set
amarok: BEGIN: Amarok::TrayIcon::TrayIcon(QObject*) 
open("/var/tmp/kdecache-oetzi/kpc/kde-icon-cache.lock.Uw9059", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = 40
amarok: END__: Amarok::TrayIcon::TrayIcon(QObject*) - Took 0.029s 
...

Deleting /var/tmp/kdecache-*/ and running kdeinit4 by hand does not fix this problem.
Also note that /usr/share/kde4/apps/amarok/amarok.notifyrc is present and has "IconName=amarok" in the global section.
Comment 6 Rene Ploetz 2010-06-02 00:47:53 UTC
Ah sorry, i just saw that the user in #232578 was using 4.4 as well, so drop the first sentence of my post.
Comment 7 Rex Dieter 2010-06-13 17:28:58 UTC

*** This bug has been marked as a duplicate of bug 231539 ***
Comment 8 Rex Dieter 2010-06-13 19:10:48 UTC
sorry, wrong dup.

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