Skip to content
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

Purging multiple tracks is awfully slow #9762

Closed
mixxxbot opened this issue Aug 23, 2022 · 2 comments
Closed

Purging multiple tracks is awfully slow #9762

mixxxbot opened this issue Aug 23, 2022 · 2 comments
Milestone

Comments

@mixxxbot
Copy link
Collaborator

Reported by: uklotzde
Date: 2019-09-29T10:32:22Z
Status: Fix Released
Importance: Low
Launchpad Issue: lp1845837
Tags: library


When purging tracks Mixxx tries to delete those tracks from every playlist.

The only playlists I have are history playlists, many. Purging tracks from each playlist invokes PlaylistTableModel::select() for each processed playlist which could be slow for a big library. As a consequence, the UI is stalled for minutes!!

This bug is caused by invoking PlaylistDAO::removeTracksFromPlaylist() in a loop in PlaylistDAO::removeTracksFromPlaylists(). Each emitted changed(playlistId) signal triggers a PlaylistTableModel::select() operation.

@mixxxbot mixxxbot added the bug label Aug 23, 2022
@mixxxbot
Copy link
Collaborator Author

Commented by: uklotzde
Date: 2019-12-10T13:01:55Z


#2393

@mixxxbot
Copy link
Collaborator Author

Issue closed with status Fix Released.

@mixxxbot mixxxbot transferred this issue from another repository Aug 24, 2022
@mixxxbot mixxxbot added this to the 2.2.4 milestone Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant