No icon for Amarok in indicator-applet

Bug #541920 reported by Ernst
70
This bug affects 15 people
Affects Status Importance Assigned to Milestone
amarok (Ubuntu)
Fix Released
Undecided
Jonathan Riddell

Bug Description

Binary package hint: amarok

Hi,

Running Amarok in Lucid, you can enable a tray icon. However, no icon is shown in my indicator applet. See the attachments: one is with amarok enabled, the other one is without Amarok. Only a small white icon is added, which can be clicked and it gives access to Amarok's features. So, only the icon is missing.

ProblemType: Bug
Architecture: amd64
Date: Fri Mar 19 14:59:26 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100122)
Package: amarok 2:2.2.2.90-0ubuntu3
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: amarok
Uname: Linux 2.6.32-16-generic x86_64

Revision history for this message
Ernst (ernst-blaauw) wrote :
Revision history for this message
Ernst (ernst-blaauw) wrote :

And this is a screenshot with amarok enabled.

affects: amarok (Ubuntu) → indicator-applet (Ubuntu)
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Amarok does install it's icons to hicolor, so there must be a bug in how indicator-applet loads the amarok icon.

Revision history for this message
Aurélien Gâteau (agateau) wrote :

The problem is Amarok uses a generated image for its indicator icon (it shows the playback progress). I suspect indicator-applet does not support passing an image by pixels rather by name.

Changed in indicator-applet (Ubuntu):
status: New → Confirmed
assignee: nobody → Ted Gould (ted)
Revision history for this message
Ted Gould (ted) wrote : Re: [Bug 541920] Re: No icon for Amarok in indicator-applet

On Fri, 2010-03-19 at 14:28 +0000, Aurélien Gâteau wrote:
> The problem is Amarok uses a generated image for its indicator icon (it
> shows the playback progress). I suspect indicator-applet does not
> support passing an image by pixels rather by name.

Yes, so isn't this a bug in Amarok not providing an image name as a
fallback for clients who don't use bitmap based icons?

Revision history for this message
Aurélien Gâteau (agateau) wrote :

On 22/03/2010 04:41, Ted Gould wrote:
> On Fri, 2010-03-19 at 14:28 +0000, Aurélien Gâteau wrote:
>> The problem is Amarok uses a generated image for its indicator icon (it
>> shows the playback progress). I suspect indicator-applet does not
>> support passing an image by pixels rather by name.
>
> Yes, so isn't this a bug in Amarok not providing an image name as a
> fallback for clients who don't use bitmap based icons?

There is no notion of image name being a fallback to the bitmap version
in the StatusNotifierItem protocol. This should probably be clearly
defined (the spec has a FIXME which propose the opposite behavior).

Anyway, KDE implementation does not let the developer specify both
versions right now: if you set the icon by pixmap, it unsets the name
and vice-versa.

I just sent a hackish patch to Jonathan Riddell which prevents Amarok
from using pixmap based icons (or overlays) when running on GNOME. This
should work-around this bug.

Revision history for this message
Ted Gould (ted) wrote :

Okay, since this will get fixed with a patch to Amarok I'll move the bug there so Soyuz can pick it up when/if it gets committed to a pakcage.

affects: indicator-applet (Ubuntu) → amarok (Ubuntu)
Changed in amarok (Ubuntu):
assignee: Ted Gould (ted) → Aurélien Gâteau (agateau)
Revision history for this message
Ernst (ernst-blaauw) wrote :

For a couple of days, I had a sepwrate icon for Amarok in my taskbar (like
it was in previous Ubuntu versions).
Today, after 161 updates and a restart, the behavior decribed in the first
post is back. I don't know which packages are updated, it could be that a
new Amarok version (I have 2.3.0-0ubuntu2, I don't know if was updated in
the last update session) is causing. The changelog for this version (29
mar):

* Update 05_kstatusnotifieritem.diff from Aurelien Gateau, allows icon
    overlay in systray
* Add 05_kstatusnotifieritem_gnome_support.diff from Aurelien Gateau,
    workaround limited Gnome support in new systray

On Tue, Mar 23, 2010 at 22:52, Ted Gould <email address hidden> wrote:

> Okay, since this will get fixed with a patch to Amarok I'll move the bug
> there so Soyuz can pick it up when/if it gets committed to a pakcage.
>
> ** Package changed: indicator-applet (Ubuntu) => amarok (Ubuntu)
>
> ** Changed in: amarok (Ubuntu)
> Assignee: Ted Gould (ted) => Aurélien Gâteau (agateau)
>
> --
> No icon for Amarok in indicator-applet
> https://bugs.launchpad.net/bugs/541920
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Aurélien Gâteau (agateau) wrote :

The regression is a packaging bug, assigning Jonathan to it.

Changed in amarok (Ubuntu):
assignee: Aurélien Gâteau (agateau) → Jonathan Riddell (jr)
Revision history for this message
Ernst (ernst-blaauw) wrote :

With the latest update, the icon is back! Thanks.
One thing about the menu in the indicator area: if I start Amarok, there is
not possibility to get the main window; clicking on the icon only gives the
options 'previous track', 'play/pause' and 'next track'. Only after clicking
play, the other options like 'minimize' and 'quit' appear. If I click on
'minimize', the main window of Amarok is shown.

2010/3/31 Aurélien Gâteau <email address hidden>

> The regression is a packaging bug, assigning Jonathan to it.
>
> ** Changed in: amarok (Ubuntu)
> Assignee: Aurélien Gâteau (agateau) => Jonathan Riddell (jr)
>
> --
> No icon for Amarok in indicator-applet
> https://bugs.launchpad.net/bugs/541920
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Amran (amx109) wrote :

@Ernst there is a 'Restore' option in the left-click menu thats presented to you. this will bring the amarok window to the top

Revision history for this message
Ernst (ernst-blaauw) wrote :

With the latest updates of this morning (including a new kernel), the menu
is working well now: 'restore' is shown directly and minimize/restore is
toggled correctly. (Both did not work before today.) See my attachment for
the behavior I had previously after starting Amarok.

On Fri, Apr 2, 2010 at 02:44, amx109 <email address hidden> wrote:

> @Ernst there is a 'Restore' option in the left-click menu thats
> presented to you. this will bring the amarok window to the top
>
> --
> No icon for Amarok in indicator-applet
> https://bugs.launchpad.net/bugs/541920
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
crazybyte (vlzoltan) wrote :

Can something be done about those icons not showing up in the systray menu? Also is there a chance to have back the behavior that was default until now (clicking on the systray icon shows/hides the amarok window). Thanks! :)

Revision history for this message
Seth (bugs-sehe) wrote :

+1 on

Also is there a chance to have back the behavior that was default until now (clicking on the systray icon shows/hides the amarok window).

It is annoying to have to navigate a rather clunky menu (several 'missing' icons, optional checkboxes, nothing aligned and it is too easy to hit the Quit button instead, because it is bigger and both are near the bottom)

Revision history for this message
Arslan Ahmed (arslan-ahmed) wrote :

Try this out:

Right click menu -> edit menu -> Under "System Tools" select "configuration editor" (it will make configuration editor available on your menu bar).

Open up Configuration Editor -> Desktop -> Gnome -> Interface

Check-Mark

1) menus_have_icons
2) buttons have icons

Done !

Revision history for this message
ruben0909 (ruben0909) wrote :

not for me

Revision history for this message
ruben0909 (ruben0909) wrote :

and the main icon not show now.
but, yes did when i installed the system

Revision history for this message
Andreas Raster (rakete) wrote :

I am using kubuntu with trayer as instead of the kde systray.

I was having the same problem with the amarok icon disappearing as everyone else, but after looking at revision 112 of amarok-source, http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/lucid/amarok/lucid/revision/112, I found out that setting the environment variable DESKTOP_SESSION to gnome before starting amarok fixes that problem for me.

So anyone having this problem could just try to start amarak manually with:
env DESKTOP_SESSION="gnome" amarok

and see if it fixes the problem.

Revision history for this message
Vakero Galactico (kukovein) wrote :

thanks! setting the environment variable worked for me

Revision history for this message
David Racine (bass-dr) wrote :

Setting the variable didn't help for me.

Revision history for this message
Aurélien Gâteau (agateau) wrote :

As for the icon: Amarok has been using a fixed icon when running on GNOME since Lucid. It is still the case for Maverick. Please reopen the bug if it's not anymore.
As for the left-click vs right-click behavior: the design of application indicators enforces left-click-opens-menu as the only possible interaction. There is no way to change this.

Changed in amarok (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
gene (eugenios) wrote :

Running gnome under kdm produces this bug on Lucid. Thanks #18 fixed it for me.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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