ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #05415
[Bug 1511073] Re: removeSource and insertSource needs to maintain currentIndex correctly
This bug was fixed in the package qtubuntu-media -
0.8.0+16.04.20160105-0ubuntu1
---------------
qtubuntu-media (0.8.0+16.04.20160105-0ubuntu1) xenial; urgency=medium
[ CI Train Bot ]
* No-change rebuild.
qtubuntu-media (0.8.0+15.04.20151118-0ubuntu1) vivid; urgency=medium
[ phablet ]
* Bump version for new TrackList related API changes.
[ Alfonso Sanchez-Beato ]
* Emit onPlaybackModeChanged (LP: #1510219). Implements insertTrack()
so that a client can move a track into a new position by first
calling removeTrack(). Do proper clean-up when switching between
playlist and playing a single URI (LP: #1511029). (LP: #1511073,
#1511034, #1510219, #1511029)
[ CI Train Bot ]
* New rebuild forced.
[ Jim Hodapp ]
* Emit onPlaybackModeChanged (LP: #1510219). Implements insertTrack()
so that a client can move a track into a new position by first
calling removeTrack(). Do proper clean-up when switching between
playlist and playing a single URI (LP: #1511029). (LP: #1511073,
#1511034, #1510219, #1511029)
-- Thomas Voß <ci-train-bot@xxxxxxxxxxxxx> Tue, 05 Jan 2016 13:07:12
+0000
** Changed in: qtubuntu-media (Ubuntu)
Status: Triaged => Fix Released
--
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/1511073
Title:
removeSource and insertSource needs to maintain currentIndex correctly
Status in Canonical System Image:
Fix Committed
Status in media-hub package in Ubuntu:
Triaged
Status in qtubuntu-media package in Ubuntu:
Fix Released
Status in media-hub package in Ubuntu RTM:
Fix Released
Status in qtubuntu-media package in Ubuntu RTM:
Fix Released
Bug description:
The currentIndex needs to be maintained correctly when performing {remove,insert}Source, I believe there are the following cases that need to be taken into account:
- If removeSource is for an index less than the currentIndex then the currentIndex needs to be decremented.
- If removeSource is for the same index as currentIndex then next() should be called
- If insertSource is for an index less than or equal to the currentIndex then the currentIndex needs to be incremented
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1511073/+subscriptions
References