Review Request 126779: Fix for bug 358135: Media Player widget in expanded mode makes Amarok skip tracks
Eduardo Lara
edward.lara.lara at gmail.com
Tue Jan 19 22:33:23 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126779/
-----------------------------------------------------------
(Updated Jan. 19, 2016, 10:33 p.m.)
Status
------
This change has been marked as submitted.
Review request for Plasma and Kai Uwe Broulik.
Changes
-------
Submitted with commit 399143457b60dea463ec11aba13f5575439b21c1 by Kai Uwe Broulik on behalf of Eduardo Lara to branch master.
Bugs: 358135
https://bugs.kde.org/show_bug.cgi?id=358135
Repository: plasma-workspace
Description
-------
Reset seek slider position when changing songs
The attached patch retrieves the position from the player when:
* a new maximum is set to the slider (most cases)
* the the slider is already at the end (when the same song is played again)
Note that adding 1 sec to the slider when the remaining is less than a second sets the slider to maximum. Handling at that moment seemed to be too soon when I tried it. Waiting for the next iteration looked to be a better transition
Diffs
-----
applets/mediacontroller/contents/ui/ExpandedRepresentation.qml 0b5c964
Diff: https://git.reviewboard.kde.org/r/126779/diff/
Testing
-------
Added a list of songs to Amarok that include transitions from a shorter song to a longer song, from a longer song to a shorter song and the same song twice.
Tested with the Media Player in expanded mode on the desktop and then on a panel (compact mode) while the expanded screen poped up.
Probably as importantly the test not done. I did not try with other players.
Thanks,
Eduardo Lara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160119/9f692abd/attachment.html>
More information about the Plasma-devel
mailing list