← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1511385] Re: When calling Playlist.clear() onMediaRemoved is triggered for each track that is removed

 

** No longer affects: media-hub (Ubuntu)

** No longer affects: media-hub

** Also affects: qtubuntu-media (Ubuntu RTM)
   Importance: Undecided
       Status: New

** Changed in: canonical-devices-system-image
       Status: New => Confirmed

** Changed in: qtubuntu-media (Ubuntu)
       Status: New => Triaged

** Changed in: qtubuntu-media (Ubuntu RTM)
       Status: New => Triaged

** No longer affects: qtubuntu-media (Ubuntu)

** No longer affects: qtubuntu-media (Ubuntu RTM)

** Also affects: media-hub (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: media-hub (Ubuntu RTM)
   Importance: Undecided
       Status: New

** Changed in: media-hub (Ubuntu)
       Status: New => Triaged

** Changed in: media-hub (Ubuntu RTM)
       Status: New => Triaged

-- 
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:
  Confirmed
Status in media-hub package in Ubuntu:
  Triaged
Status in media-hub package in Ubuntu RTM:
  Triaged

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


References