Bug 469009 - Music player widget acts as music would has been stopped after using "play next"
Summary: Music player widget acts as music would has been stopped after using "play next"
Status: RESOLVED DUPLICATE of bug 398967
Alias: None
Product: plasmashell
Classification: Plasma
Component: Media Player widget (show other bugs)
Version: 5.27.4
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-26 15:37 UTC by serkonda7
Modified: 2023-04-27 15:21 UTC (History)
3 users (show)

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


Attachments
Bug_Video (417.12 KB, video/mp4)
2023-04-26 20:29 UTC, serkonda7
Details

Note You need to log in before you can comment on or make changes to this bug.
Description serkonda7 2023-04-26 15:37:37 UTC
SUMMARY
The music player widget disappears after skipping a song. This is due to the default setting to only show when relevant.
The underlying problems seems to be that after skipping the song, the widget thinks music has stopped, which is not the case.
Further it's not possible to recover from this error state without opening the actual media player again and pause/playing the music there.


STEPS TO REPRODUCE
1. Open at least two songs in VLC media player.
2. Click on the media player widget.
3. Press "N" or "P"
4. Notice how the icon shows a square, as like the music has stopped.
5. Also notice the music still playing

OBSERVED RESULT
Song is treated as being stopped, widget disappears.

EXPECTED RESULT
Song is still being treated as playing and widget stays.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.1.25-1-lts (64-bit)
Graphics Platform: X11
Comment 1 Nate Graham 2023-04-26 18:33:57 UTC
Cannot reproduce in Plasma 5.27.4 with VLC and multiple songs in it when pressing the "n" key in the widget.

Does this happen with any other audio players? For example a playlist of music in YouTube or some songs in Elisa?
Comment 2 serkonda7 2023-04-26 18:55:22 UTC
Oh, I missed a step:
Before 3. you need to have paused and resumed the music at least once ("space" key).

With elisa I was not able to reproduce this bug.
Comment 3 Nate Graham 2023-04-26 20:18:36 UTC
Hmm, still cannot reproduce the issue with VLC even after I pause the music with the spacebar from the widget at least once.
Comment 4 serkonda7 2023-04-26 20:29:58 UTC
Created attachment 158459 [details]
Bug_Video

Hmm, I have added a short screencast to show my problem.

Is there any more debugging or information I could include?
Comment 5 Patrick Silva 2023-04-26 21:15:09 UTC
On my Arch Linux the Media Player applet hides itself in the system tray and it looks like nothing is playing after the provided steps.
Possibly duplicate of bug 398967
Comment 6 serkonda7 2023-04-27 08:08:02 UTC
*** This bug has been marked as a duplicate of bug 398967 ***
Comment 7 Nate Graham 2023-04-27 15:21:03 UTC
Good catch!