Bug 495995

Summary: Playerhead Desync After Music Switch
Product: [Unmaintained] plasma-mediacenter Reporter: dabster292
Component: MediaPlayerAssignee: Shantanu Tushar <shantanu>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: A screenshot with both Elisa and the Media Player widget open, with the Media Player widget's playerhead noticably behind.

Description dabster292 2024-11-09 02:34:10 UTC
Created attachment 175669 [details]
A screenshot with both Elisa and the Media Player widget open, with the Media Player widget's playerhead noticably behind.

SUMMARY
If the music you're playing switches, sometimes the playerhead doesn't start progressing until you open the player widget (starting from 0:00, even if your music is further along).

STEPS TO REPRODUCE
1. Start playing a playlist
2. Wait until about 30 seconds after your media player switches music
3. Open the Media Player widget

NOTE: This just stopped working for me, I may need to investigate this a bit more.

OBSERVED RESULT
The playerhead is noticably behind on the Media Player widget, especially compared to your media player

EXPECTED RESULT
The playerhead on both the widget and your media player report the same timestamp.

SOFTWARE/OS VERSIONS
Fedora (Kinoite): 40.20241108.0
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Pressing the pause button on the Media Player widget seems to update the playerhead, and also seems to temporarily fix the bug for a few minutes.
Comment 1 dabster292 2024-11-09 02:39:01 UTC
Update: Pausing through the widget has stopped updating the playerhead, wacky.

Actually, it seems to have stopped updating entirely (it's stuck at 0:00, no matter how much pausing/unpausing I do, with or without Elisa's window open).
Comment 2 dabster292 2024-11-09 02:41:10 UTC
(In reply to dabster292 from comment #1)
> Update: Pausing through the widget has stopped updating the playerhead,
> wacky.
> 
> Actually, it seems to have stopped updating entirely (it's stuck at 0:00, no
> matter how much pausing/unpausing I do, with or without Elisa's window open).

It started updating again, and started its timer from 0:00.