ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #04767
[Bug 1511385] [NEW] When calling Playlist.clear() onMediaRemoved is triggered for each track that is removed
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
SDK bug tracking, which is subscribed to qtubuntu-media in Ubuntu.
https://bugs.launchpad.net/bugs/1511385
Title:
When calling Playlist.clear() onMediaRemoved is triggered for each
track that is removed
Status in Canonical System Image:
New
Status in Media Hub:
New
Status in media-hub package in Ubuntu:
New
Status in qtubuntu-media package in Ubuntu:
New
Bug description:
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/
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1511385/+subscriptions
Follow ups