With repeat and shuffle off, if the currentIndex and tracks after are removed, the first is not reselected

Bug #1528898 reported by Andrew Hayzen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
John McAleely
qtubuntu-media (Ubuntu)
Fix Released
High
Jim Hodapp
qtubuntu-media (Ubuntu RTM)
Fix Released
High
Jim Hodapp

Bug Description

With repeat and shuffle off, if the currentIndex and tracks after are removed, the first is not reselected

What happened:
1) Create a queue of a set of tracks (I had A, B, C)
2) Ensure repeat and shuffle are disabled
3) Select B as the track
4) Multiselect B and C and select remove
5) Notice that the currentIndex is 'lost'

What I expected to happen:
At step 5) for track A to be selected (or the first in the set of tracks)

Tags: bgplaylist

Related branches

Jim Hodapp (jhodapp)
Changed in qtubuntu-media (Ubuntu):
status: New → Triaged
Changed in qtubuntu-media (Ubuntu RTM):
status: New → Triaged
Changed in qtubuntu-media (Ubuntu):
importance: Undecided → High
Changed in qtubuntu-media (Ubuntu RTM):
importance: Undecided → High
Andrew Hayzen (ahayzen)
tags: added: bgplaylist
Jim Hodapp (jhodapp)
Changed in canonical-devices-system-image:
status: New → In Progress
Changed in qtubuntu-media (Ubuntu):
status: Triaged → In Progress
Changed in qtubuntu-media (Ubuntu RTM):
status: Triaged → In Progress
Jim Hodapp (jhodapp)
Changed in qtubuntu-media (Ubuntu):
assignee: nobody → Jim Hodapp (jhodapp)
Changed in qtubuntu-media (Ubuntu RTM):
assignee: nobody → Jim Hodapp (jhodapp)
Jim Hodapp (jhodapp)
Changed in qtubuntu-media (Ubuntu):
status: In Progress → Triaged
Changed in qtubuntu-media (Ubuntu RTM):
status: In Progress → Fix Committed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

 qtubuntu-media (0.8.0+15.04.20160104-0ubuntu1) vivid; urgency=medium
 .
   * Fix removeMedia(start, end) so that it always removes the correct
     track(s) and reflects the proper current track

Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
importance: Undecided → High
assignee: nobody → John McAleely (john.mcaleely)
milestone: none → ww02-2016
Changed in qtubuntu-media (Ubuntu RTM):
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Jim Hodapp (jhodapp)
Changed in qtubuntu-media (Ubuntu):
status: Triaged → Fix Released
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.