Purging multiple tracks is awfully slow

Bug #1845837 reported by Uwe Klotz
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

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.

Tags: library
description: updated
description: updated
Changed in mixxx:
status: New → Confirmed
description: updated
description: updated
Changed in mixxx:
assignee: nobody → Uwe Klotz (uklotzde)
milestone: none → 2.3.0
importance: Undecided → Low
status: Confirmed → In Progress
Revision history for this message
Uwe Klotz (uklotzde-deactivatedaccount) wrote :
Changed in mixxx:
milestone: 2.3.0 → 2.2.4
status: In Progress → Fix Committed
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.