Appindicator cannot use a local icon file

Bug #657857 reported by David Klasinc
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Application Indicators
Confirmed
Wishlist
Unassigned
Kazam Screencaster
Won't Fix
Wishlist
Unassigned
indicator-application (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Current trunk version doesn't display the icon in the panel indicator in 10.10

This is because the indicator can only use an icon that is installed, its icon cannot be set from a local file.

See also bug 650447.

Revision history for this message
David Klasinc (bigwhale) wrote :

Whoops, removed the accidental vulnerability check-mark.

security vulnerability: yes → no
visibility: private → public
Revision history for this message
Andrew (and471) wrote :

Is there any output in the terminal? Are you sure you have the indicator applet in your panel?

Changed in kazam:
status: New → Incomplete
Revision history for this message
David Klasinc (bigwhale) wrote :

I was sure that there was no indicator in the panel and here are no error messages reported in the console.

bigwhale@thefish:~/Code/Kazam/trunk/bin$ ./kazam
INFO:root:Running locally
Xlib.protocol.request.QueryExtension
FFmpeg version SVN-r24865, Copyright (c) 2000-2010 the FFmpeg developers
...

After further inspection I noticed that the panel indicator will show when I start to record, but it has no icon. I assume that this is because the application wasn't installed and there are no icons in the correct locations.

The section in app.py under the # Setup icons doesn't really do anything except for the window_set_default_icon_name() call which will set the default icon name that is search among the theme icons.

Revision history for this message
Andrew (and471) wrote :

Yeah sorry David, this is a known issue (the icon not showing if Kazam is not installed). This is down to appindicator not being able to take a local icon/pixbuf. This is however something that should be fixed as it is not ideal.

Changed in kazam:
importance: Undecided → Low
status: Incomplete → Confirmed
Revision history for this message
Andrew (and471) wrote :

So for the indicator-application guys and gals, this issue associated with this bug is that appindicator cannot set a local icon as the icon for an indicator (i.e. from a pixbuf or another means)

description: updated
summary: - No panel indicator in 10.10, required packages
+ Appindicator cannot use a local icon file
Revision history for this message
David Klasinc (bigwhale) wrote :

This isn't exactly a bug in indicator-application, but a lack of support in the API (which is, for now, still terrible). ;)

Anyway, I would suggest that indicator is shown with a non-recording icon right when app is started. I don't really have any real arguments. Except perhaps that you could close the main app window and the indicator would stay present and you could bring up the main window or simply start recording with the same settings right from the indicator menu.

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

We don't want to allow applications to set the icons until we can support symbolic icons so that the icon can match the theme of the panel. Marking as wishlist until those features land.

Changed in indicator-application:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
ubuntudan (dmcl057) wrote :

Andrew it's not just the indicator-application the gtk.StatusIcon alternative doesn't work either as the icons for kazam-countdown-* etc have been removed from the data location directory as well. I suggest putting them back in for people who don't have the appindicator module like myself, who is running it from fedora.

David Klasinc (bigwhale)
Changed in kazam:
importance: Low → Wishlist
Revision history for this message
David Klasinc (bigwhale) wrote :

Is this still the case? Appindicators can only use pre-installed icons? Can someone confirm or deny this? :)

David Klasinc (bigwhale)
Changed in kazam:
status: Confirmed → Won't Fix
description: updated
Ted Gould (ted)
Changed in indicator-application (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
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.