Summary: | Can't select active media player | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Micael Jarniac <micaeljarniac> |
Component: | Media Player widget | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cabanur, kde, naikinnn, nate, peter, qydwhotmail, sowieso |
Priority: | NOR | Keywords: | usability |
Version: | 5.24.3 | ||
Target Milestone: | 1.0 | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | GIF showing me fighting with the Media Player Controls panel |
Description
Micael Jarniac
2022-03-11 13:28:03 UTC
Created attachment 147438 [details]
GIF showing me fighting with the Media Player Controls panel
I would add that sometimes the active media player is not at all controllable with the keyboard media buttons. Usually happens to Spotify. When I click on the media player in the system tray, spotify is not even one of the players detected. Only sometimes it fixes itself if I restart spotify. This problem usually happens after waking up from suspend, while before suspend everything has been working flawlessly. I have the same problem with Firefox (plasma-browser-integration) and VLC. Playing just one tiny sound in Firefox and I can't control VLC by keyboard anymore. It would really be nice to have a smarter algorithm to select the active media player, or at least to let the user make a permanent decision. It all works for me. When this happens, is the play or pause button in the Media Player widget grayed out, by any chance? It's a tricky bug and for now it looks like it depends a lot on chance. I tried the combination with Youtube + VLC, and that work flawlessly for my tests today (failed before too). But Soundcloud + VLC with various pause/resumes gets the widget in several incorrect states. It could be that it works better when the widget is pinned, at least it *feels* like it. Problems that I found, but couldn't reproduce every time: Problem 1: Step 1: VLC playing, Soundcloud playing → Soundcloud selected as main, playing ✓ Step 2: VLC playing, Soundcloud paused → Soundcloud selected as main not playing, VLC shown as not playing Step 3: Close the Soundcloud tab in FF, VLC still playing → main: "No media playing", I can still control VLC through its tab inside the widget, but the widget's main tab refuses to acknowledge VLC Restart of VLC fixed it. Problem 2: Step1: VLC playing, Soundcloud playing → Soundcloud selected ✓ Step2: VLC playing, Soundcloud paused → VLC gets selected ✓ but pause button is grayed out. Problem 3: Step1: Click inside Dolphin on media file, VLC starts, plays → is shown inside widget Step2: Instead, open VLC manually, open file inside VLC (drag from Dolphin), click play → is not shown inside widget My guess is that there are some events transmitted between media player and widget that get lost *some* times. If only one event is lost, the media widget gets in an invalid state that it can't recover from. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! [Sorry, didn't know that I had to update the status] The logic has been improved in Plasma 6. Please reopen this bug if it's not fixed. |