-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search provider freezes gnome-shell on search request. #14
Comments
same here |
@muffinmad Have you any way of being notified by pidgin about modifications to the contact list? I suspect this bug is caused by the fact that you get the list of contacts from pidgin every time the search plugin is called. A cache should solve the issue, but contacts/statuses may stale if there is no way to asyncronously get modifications as they happen. Another solution could be to get them with a timer every few seconds/minutes, but it is to be tested to not introduce micro-freezes of the whole shell. I have no idea if the gs API offers a way to create a background thread. |
This should work: https://developer.pidgin.im/doxygen/dev2.x.y/html/blist-signals.html#buddy-addedJascha Geerds |
Yes, blist-signals is the right way. |
But it doesn't solve the issue of blocking gnome-shell for the initial load of contacts, does it? |
Looks like the search provider applies some global lock when used. Gnome shell freezes for about 5 seconds.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: