Bug 510524 - Global media shortcuts: ‘Previous’ should restart current track when pressed at the beginning of playlist
Summary: Global media shortcuts: ‘Previous’ should restart current track when pressed ...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Audio in general (other bugs)
Version First Reported In: master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-12 11:31 UTC by jacinto
Modified: 2025-10-12 17:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jacinto 2025-10-12 11:31:28 UTC
SUMMARY
The shortcut on the media player for "Previous track" should send a signal to restart the track when there are no previous tracks on the queue. This is the intended behavior for the "back" button in players. I'm not sure if this is a plasma issue or a linux issue, or even a per-app issue, but both my audio player and mpv do not do the intended behavior on the previous command when it is a single track or when at the beginning of a playlist.

STEPS TO REPRODUCE
1. Playlist or single file playing in media player (ex. mpv)
2. Send "Previous" shortcut  

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
Player restarts the file

ADDITIONAL INFORMATION
I'm not a programmer nor smart enough to figure out who's responsible for this, so if this is not the intended place for this report I would be really thankful to be pointed in the right direction.

Also, I noticed this similar issue opened on the kde media player amarok instead, I guess it makes sense if it's not implemented there, but why isnt it available in the shortcuts for other players, is it that everyone chooses not to have this feature? Seems weird.
https://bugs.kde.org/show_bug.cgi?id=287246
Comment 1 uncognic 2025-10-12 17:35:33 UTC
Not a bug, when you press previous track, MRPIS simply sends a signal to the media player to go to the previous track, and the outcome is different depending on the program and how it is configured.