Freedesktop Notification Area Icon is often displayed in the wrong place in GNOME.

Bug #74219 reported by Andrew Clunis
10
Affects Status Importance Assigned to Milestone
amarok (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hi.

The notification area applet in the GNOME panel will expand to make room for the KDE app's icon, but the icon will be drawn somewhere else, usually in the upper left hand corner (on top of the Applications menu, but not always).

This is a regression, as this worked perfectly under Dapper.

This bug seems to occur with all KDE apps that have a notification area icon when run under GNOME, but I have no idea what library to file that under.

It appears to be a race condition, as it seems to occur more than 80% of the time. Occasionally it does work properly.

Revision history for this message
Andrew Clunis (orospakr) wrote :

Example screenshot.

Revision history for this message
Franz Dietrich (franz-die) wrote :

Hi same problem here
I think that the problem is somehow conected to the autohide.

Because if the panel is always visible during startup everything is normal...

But if the panel is hidden during startup the systray cant find its proper position sometimes it is not visible at all... :(

pls some comments wehter this is the same with you or not

Revision history for this message
RJ Marsan (rjmarsan) wrote :

I've also had this problem from time to time, but I'm not sure whats going on, or if its problem with the icon area itself (aka KDE and GNOME)

Changed in amarok:
status: Unconfirmed → Needs Info
Revision history for this message
RJ Marsan (rjmarsan) wrote :

Also, could you find a way to reproduce this bug? (i know its kidna random, but at least find the command output when it Does do this)

Revision history for this message
Franz Dietrich (franz-die) wrote :

Now i installed XGL/Beryl and everything is working fine.

I don't know how important this information is but everything is working even if Iselect metacity as Windowmanager.

and no matter where i start amarok in the console there are these "errors":

[code]
x@Tux-desktop:~$ amarok
Amarok: [Loader] Starting amarokapp..
Amarok: [Loader] Don't run gdb, valgrind, etc. against this binary! Use amarokapp.
QLayout "unnamed" added to QVBox "unnamed", which already has a layout
QLayout: Adding KToolBar/mainToolBar (child of QVBox/unnamed) to layout for PlaylistWindow/PlaylistWindow
x@Tux-desktop:~$
[/code]

if you tell me how i can get more detailed feedback from amarok i'll try it for you.

best new year wishes enaut

Revision history for this message
Andrew Ash (ash211) wrote :

See if reinstalling amarok helps. This won't eliminate any statistics or album covers, etc that you already have in Amarok, it will just reinstall the binary package.

`sudo aptitude reinstall amarok`

Let me know if that helps.

Revision history for this message
Franz Dietrich (franz-die) wrote :

there was no change after reinstalling it. - I even went so far to delete the configuration but nothing happened.

but i found that if i start amarok before Iactivate beryl the systray icon is often at the wrong place too. And if I then start Beryl the icon has a own window with minimize and close buton as you can see in the screenshot i posted.

after restarting it with beryl runnin everything works as it should.

Revision history for this message
Andrew Ash (ash211) wrote :

So it seems that beryl can't handle putting the icon in the correct place when beryl is started. It only works when beryl is already started and Amarok is started. Maybe that makes this partly a beryl bug?

Revision history for this message
Franz Dietrich (franz-die) wrote :

no don't think its beryl

if i start amarok > with the icon at the wrong place > then start beryl >> it is like the screenshot

what i want to say is, that i guess that the icon is handled as a Window and not as a Icon in systray but I don't have any clue about how this all should work correctly. I only used amarok and i know how it should look like.

if beryl is started > then start amarok > everything is normal(tried like 20 times)

if beryl is not started about one try out of five works as it should (average sometimes it works not)

Revision history for this message
Andrew Ash (ash211) wrote :

That makes sense that it's not beryl then, since it doesn't work correctly before beryl is even started.

So that narrows it down to two components: Amarok or GNOME. I personally don't know how to attack this bug anymore and couldn't find a similar bug upstream at bugs.kde.org That leads me to suspect that it may be a GNOME bug, but I'm not sure how to approach it. We'll have to wait for someone with more knowledge in this area to work on it.

I saw a similar issue while I was running XGL/Compiz on Kubuntu Dapper a while back, but just assumed it was a compiz thing.

If anybody else has any info on this, please share it.

Revision history for this message
Kieran Hogg (xerosis) wrote :

I have reported a similar bug here:

https://bugs.launchpad.net/ubuntu/+source/kopete/+bug/67835

Oddly enough, it's happened to me today in kde, but i think it's a case of the apps loading before the system tray is present, and so is not related to this bug.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for amarok (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.