Zim

Tray icon plugin doesn't work on Ubuntu 14.04

Bug #1299917 reported by Favio D'Ercole
54
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Zim
Fix Released
Undecided
Unassigned

Bug Description

Tray icon plugin doesn't work on Ubuntu 14.04.

I run zim from terminal with debug option:

zim --plugin trayicon -D

and get this:

INFO: This is zim 0.60
DEBUG: Python version is sys.version_info(major=2, minor=7, micro=6, releaselevel='final', serial=0)
DEBUG: Platform is posix
DEBUG: Zim revision is:
  branch: pyzim-trunk
  revision: 672 <email address hidden>
  date: 2013-04-30 19:27:20 +0200
DEBUG: Not running from a source dir
DEBUG: Set XDG_DATA_HOME to /home/favio/.local/share
DEBUG: Set XDG_DATA_DIRS to [<Dir: /usr/share/ubuntu>, <Dir: /usr/share/gnome>, <Dir: /usr/local/share>, <Dir: /usr/share>]
DEBUG: Set XDG_CONFIG_HOME to /home/favio/.config
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg/xdg-ubuntu>, <Dir: /usr/share/upstart/xdg>, <Dir: /etc/xdg>]
DEBUG: Set XDG_CACHE_HOME to /home/favio/.cache
DEBUG: Running command: plugin
DEBUG: Remote call from 15110: <RemoteMethodCall: 15110: zim.ipc.Server(None).ping((), {})>
DEBUG: Remote call returned to 15110: ('ACK', 3739)
DEBUG: Loading config from: <ConfigFile: /home/favio/.config/zim/preferences.conf>
DEBUG: Remote call from 15110: <RemoteMethodCall: 15110: zim.ipc.Server(None).has_object((<RemoteObject: zim.plugins.trayicon.DaemonTrayIcon(None)>,), {})>
DEBUG: Remote call returned to 15110: True

other indicator that i tested works.

Regards

Revision history for this message
Favio D'Ercole (fndercole) wrote :

In the last trusty update, tray icon works succesfully.

Revision history for this message
GrandVizier (grandvizier) wrote :

Still not working for me after latest update.

Revision history for this message
Brett Johnson (linuxturtle) wrote :

Doesn't work for me on fresh install of 14.04.1, after updating to latest in archive. Only seems to work with patched unity restoring the systray whitelist.

Revision history for this message
HansBKK (hansbkk) wrote :

Workaround: "zim --plugin trayicon"

from a post to the list:

Running elementary OS' "Luna" version, which is Ubuntu 12.04 with a gnome-based we called "Gala".

This uses the "new-style" indicator icons hosted in a "wingpanel" along the top. I also am running a Cairo-dock desklet called "Notification Area Old" because recent Dropbox versions only show up there ("classic" Gnome systray) rather than the new style.

I used to (0.60) have a nice indicator icon in the right spot, but I just updated (to 0.61) via your PPA (deb http://ppa.launchpad.net/jaap.karssenberg/zim/ubuntu precise main) and at first launch an icon showed up in BOTH tray applets. At second launch now it only shows in the old-style cairo-dock one.

If I quit Zim, disable the old handler and relaunch Zim, then the icon shows in the right place.

So issue #1 - it seems that the previous version of Zim on Linux gave priority to a new-style indicator handler, whereas the new version prioritizes for the "classic Gnome" old style.

Issue #2 - the new-style handling allows for theming the icon (eOS uses a dark-mono panel), when I replaced /usr/share/icons/hicolor/22x22/apps/zim.png with the nice mono icon I converted from ubuntu-mono-dark, it shows up perfectly in wingpanel, but the old-style systray icon is still the default lary color one - is that somehow hard-coded like Skype's? Replacing the scaleable SVG one didn't help either.

Issue #3 - the old-style icon handling code duplicates the icon for EVERY notebook opened, and leaves ALL of them there even after a given notebook is closed. You have to right-click/quit each one explicitly to reclaim your panel real-estate.

The plugin config settings are both unchecked, seem to have no effect.

Revision history for this message
Favio D'Ercole (fndercole) wrote :

same after Zim 0.61 update on Unity Ubuntu Trusty.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Fixed in revision 713. Turned out I broke it in release 0.60 when I changed the IPC logic. My apologies.

Have it now working on Ubuntu under Gnome 3 with the appindicator extension for Gnome Shell.

Changed in zim:
status: New → Fix Committed
Revision history for this message
Michal Kvasnicka (michal-kvasnicka) wrote :

Under Unity (Ubuntu 14.04) Zim 0.61 tray plugin still does not work properly.
1. Quick note + Others command ... no action
2. when I activate plugin in preferences after restart tray icon did not showed, again

This is really terrible ... :)

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1299917] Re: Tray icon plugin doesn't work on Ubuntu 14.04

It is in the same fix mentioned above :)
 On Aug 31, 2014 10:05 AM, "Michal Kvasnicka" <email address hidden>
wrote:

> Under Unity (Ubuntu 14.04) Zim 0.61 tray plugin still does not work
> properly.
> 1. Quick note + Others command ... no action
> 2. when I activate plugin in preferences after restart tray icon did not
> showed, again
>
> This is really terrible ... :)
>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/1299917
>
> Title:
> Tray icon plugin doesn't work on Ubuntu 14.04
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1299917/+subscriptions
>

Revision history for this message
Michal Kvasnicka (michal-kvasnicka) wrote :

But I am using your latest release zim 0.61 from your PPA. Does it mean, that this release is not yet fixed???

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

"Fix committed" means it is not yet in the latest release but it is in the
development code. So it will land in the next release, 0.62.

If you want to try the development code before it is released you can use
the snapshot PPA:
https://launchpad.net/~jaap.karssenberg/+archive/ubuntu/zim-snapshots

Regards,

Jaap

On Mon, Sep 1, 2014 at 7:22 PM, Michal Kvasnicka <<email address hidden>
> wrote:

> But I am using your latest release zim 0.61 from your PPA. Does it mean,
> that this release is not yet fixed???
>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/1299917
>
> Title:
> Tray icon plugin doesn't work on Ubuntu 14.04
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1299917/+subscriptions
>

Revision history for this message
Favio D'Ercole (fndercole) wrote :

sudo apt-get install python-appindicator

fix this issue on my ubuntu 14.04, zim 0.61

Best

Revision history for this message
chuneau (clement44) wrote :

Thanks Favio D'Ercole.

It works for Zim 0.60 on Ubuntu 14.04, but I also have to disable both options of the plugin.

best

Revision history for this message
Michal Kvasnicka (michal-kvasnicka) wrote :

@Favio D'Ercole
sudo apt-get install python-appindicator

does not fix the problem!!! Still same symptoms...

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Fixed <= release 0.62

Changed in zim:
status: Fix Committed → Fix Released
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.