Summary: | Media Player widget in expanded mode makes Amarok skip tracks | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | edward.lara.lara |
Component: | Media Player | Assignee: | Kai Uwe Broulik <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mklapetek, plasma-bugs |
Priority: | NOR | ||
Version: | 5.5.3 | ||
Target Milestone: | 1.0 | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/plasma-workspace/399143457b60dea463ec11aba13f5575439b21c1 | Version Fixed In: | 5.6.0 |
Sentry Crash Report: | |||
Attachments: | Reset seek slider position when changing songs |
Description
edward.lara.lara
2016-01-17 17:11:08 UTC
Created attachment 96700 [details]
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
Thank you very much for the patch! > Amarok does not seem to send position updates to the mpris interface when a new song starts That seem to be the missing part in the puzzle to figure out what went wrong all the time. Please head to https://git.reviewboard.kde.org and submit this patch there for review. Hi Kal, Thank you for the link. I was not familiar with the review board. Here is the request: https://git.reviewboard.kde.org/r/126779/ Regards Git commit 399143457b60dea463ec11aba13f5575439b21c1 by Kai Uwe Broulik, on behalf of Eduardo Lara. Committed on 19/01/2016 at 22:31. Pushed by broulik into branch 'master'. 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 REVIEW: 126779 FIXED-IN: 5.6.0 M +14 -4 applets/mediacontroller/contents/ui/ExpandedRepresentation.qml http://commits.kde.org/plasma-workspace/399143457b60dea463ec11aba13f5575439b21c1 |