Application indicator icon only changes after mouse click

Bug #1337620 reported by Bernmeister
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libappindicator (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have an application indicator which shows the moon phase/orientation as its icon (along with a text label). When the indicator does an update (several times per hour), the icon is recreated (as an SVG file) and so the icon changes over time.

Recently, the icon is not showing any change unless I mouse click the icon (or label). I'm on Ubuntu 14.04 64 bit and my indicator uses Python 3 and Appindicator3.

I have attached a sample script which is representative of the issue and shows an icon which should change every three seconds. The icon itself is an SVG file and shows a numerical count, starting from zero and increments every three seconds.

I have tested on Ubuntu 12.04 and Xubuntu 12.04 (via VirtualBox) and the icon DOES change on each three second update.

Testing on Ubuntu 14.04, the icon does NOT change UNLESS I click on it. If I change the label text on each update, the icon WILL also change, but only if I don't repeat the SAME text for the label.

FYI: I initially asked this at http://askubuntu.com/questions/490634/application-indicator-icon-not-changing-until-clicked but have had no response.

Thanks in advance,

Bernmeister.

Revision history for this message
Bernmeister (thebernmeister) wrote :
Revision history for this message
Ignius Drake (elespector) wrote :

I confirm except that I am on Xubuntu 12.04 LTS and the icon is not changing in either the indicator-lunar or in the test script. My indicator-lunar icon does not change even on clicking though it used to in the past. Now it changes only if I quit the app and restart. Great little app, btw.

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1337620/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Bernmeister (thebernmeister) wrote :

Had to choose a package - not sure if this is the most appropriate but it's a start!

affects: ubuntu → libappindicator (Ubuntu)
Revision history for this message
Bernmeister (thebernmeister) wrote :

FWIW, attached is a workaround. Simply put, I alternate the name of the icon which is written out (appending a 1 or 2 depending on each alternate) and that fools the set_icon method to update the icon.

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.