Public bug reported: When calling Playlist.clear() onMediaRemoved is triggered for each track that is removed, causing slowdown in the music-app's current implementation of storing the queue.
What happened: 1) Start the music-app 2) Click on a track to create a queue 3) From the header actions click "Clear queue" 4) Observe that for each track a onMediaRemoved signal is emitted What I expected to happen: At step 4) for a single onMediaRemoved for the whole range is emitted A diff [0] for the music-app, so you can see the onMediaRemoved calls. 0 - http://pastebin.ubuntu.com/12999153/ ** Affects: canonical-devices-system-image Importance: Undecided Status: New ** Affects: media-hub Importance: Undecided Status: New ** Affects: media-hub (Ubuntu) Importance: Undecided Status: New ** Affects: qtubuntu-media (Ubuntu) Importance: Undecided Status: New ** Tags: bgplaylist ** Tags added: bgplaylist ** Also affects: media-hub Importance: Undecided Status: New ** Also affects: canonical-devices-system-image Importance: Undecided Status: New ** Also affects: media-hub (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1511385 Title: When calling Playlist.clear() onMediaRemoved is triggered for each track that is removed To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1511385/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs