Zim

Comment 16 for bug 995919

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 995919] Re: app-indicator trayicon menu slow to respond

On Sun, Jun 10, 2012 at 3:42 PM, Omer Akram <email address hidden> wrote:
> are there any steps  I could take to reproduce this issue? I just
> installed and ran zim but don't know how to recreate the issue.

In zim enable the "Tray icon" plugin ("Edit" -> "Preferences", Tab
with "Plugins"). This will use the app-indicator framework if python
bindings are found.

Now take e.g. the "quit" option in the menu, which should close all
zim instances, in Ubuntu 11.10 this worked instantaneous, but in 12.04
there is a certain lag.

It does not always reproduce the same way, but most common thing is
that nothing happens, until you "touch" zim by doing some other
operation (like clicking the icon in the dash) and then all the sudden
the "pending" action happens and zim closes.

Similar behavior is observed for all menu entries.

From zim debug log (kill all zim processes, and start zim with "zim
-D") I can see when zim gets a signal back from the menu, so I know
the lag is not in zim itself.

Please not that zim runs multiple processes. There is a "daemon"
process that manages multiple instances by anonymous pipes (server
like design). An open notebook runs in one process, the plugin with
the app-indicator menu in another. Not sure if this architecture
contributes to the issue. But given that it works fine in Ubuntu 11.10
I suspect that some change in Unity triggers the behavior.

Regards,

Jaap