After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 769721 - Asynchronously clear static playlists
Asynchronously clear static playlists
Status: RESOLVED FIXED
Product: gnome-music
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-music-maint
gnome-music-maint
Depends on:
Blocks:
 
 
Reported: 2016-08-11 01:32 UTC by Georges Basile Stavracas Neto
Modified: 2016-10-10 12:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
playlists: asynchronously clear static playlists (2.61 KB, patch)
2016-08-11 01:33 UTC, Georges Basile Stavracas Neto
none Details | Review

Description Georges Basile Stavracas Neto 2016-08-11 01:32:57 UTC
This is a major performance bottleneck in my machine. It may take up to 3 minutes to clear a giantic playlist, and it should be done asynchronously so it doesn't block UI.
Comment 1 Georges Basile Stavracas Neto 2016-08-11 01:33:12 UTC
Created attachment 333082 [details] [review]
playlists: asynchronously clear static playlists

In my machine, clearing the static playlists can consume
up to 3 minutes. Since this is done synchronously, it blocks
the UI and renders GNOME Music unusable.

Fix that by clearing the statis playlists asynchronously
and not blocking the UI.
Comment 2 Marinus Schraal 2016-08-13 20:53:22 UTC
Something not quite right here, playlists are duplicated for me with this patch.

Playlists in general are a bit fishy atm.
Comment 3 Marinus Schraal 2016-10-10 12:15:15 UTC
Merged your branch, thanks.

We should also fix all other sync tracker interactions at some point. I'll open up a newcomer bug for it.

This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.