pidgin-im-gnome-shell-extension icon indicating copy to clipboard operation
pidgin-im-gnome-shell-extension copied to clipboard

Long delay when unlocking screensaver with plugin enabled.

Open ekrub opened this issue 9 years ago • 4 comments

I am seeing an issue with this plugin when it is enabled with GNOME Shell 3.14.4 screensaver running under Debian Jessie. After a number of days, and only after my laptop has been suspended/resumed a few times, a long delay of between 40 secs to 3/4 minutes ensues between entering the password and the screen unlocking.

I disabled all of the gnome shell extensions and the delay disappeared. After that, I re-enabled them one at a time until I got the delay issue to occur again. The only plugin that I experienced the issue with was this one.

Please let me know of any additional information that would help you reproduce and resolve this issue.

ekrub avatar Jun 02 '16 14:06 ekrub

On extension enabling after screensaver there are two tasks depending on settings:

  1. Message tray integration: All messages from all existing conversation are handled by extension again.
  2. Buddies search provider: Search provider registered in GS

If you have a lot of opened conversations in Pidgin, then it may be the reason.

Try to disable this options in extension settings to find out wich of them causes trouble.

muffinmad avatar Jun 30 '16 07:06 muffinmad

I have disabled #2. We'll see if I still get this extension blocking the shell for long periods of time...

brianjmurrell avatar Jan 09 '17 18:01 brianjmurrell

I can reproduce this at will. It's #1. If I disable a Pidgin account with a lot of contacts and then enable it, the shell (indeed, the whole UI) goes unresponsive until that account has finished logging in and all of the buddies in it are updated.

So whatever is going on in that functionality, it needs to happen outside of the main thread so that it doesn't block the shell.

What exactly is "Message tray integration" anyway? What functionality is it providing?

brianjmurrell avatar Mar 29 '17 15:03 brianjmurrell

What exactly is "Message tray integration" anyway? What functionality is it providing?

It displays conversations in the notification area.

muffinmad avatar Apr 03 '17 08:04 muffinmad