https://bugs.kde.org/show_bug.cgi?id=451393

            Bug ID: 451393
           Summary: Can't select active media player
           Product: systemsettings
           Version: 5.24.2
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: micaeljarn...@gmail.com
  Target Milestone: ---

SUMMARY
The active media player, which can be interacted with by pressing play/pause on
the keyboard, can't be manually selected when there are multiple media players
open, and sometimes, an inactive media player will steal that spot, making it
impossible to use play/pause on the keyboard to control the actual media player
in use.

I have noticed this behavior when listening to music on Spotify, then listening
to an audio message on WhatsApp Web on the browser.
Before listening to the audio message, all is well, and my keyboard media
controls successfully control Spotify.
But as soon as I listen to the audio message on WhatsApp Web, that becomes the
active media player, and it remains as such indefinitely, with no way to set
Spotify back as the active media player, so after listening to the audio
message, my keyboard media controls stop working.

It'd be great to be able to select Spotify back as the active media player
through the Media Player Controls panel.


STEPS TO REPRODUCE
1. Launch a media player (MP A) (like Spotify)
2. Start playing music
3. Press play/pause on the keyboard
4. Notice how it controls MP A
5. Open the Media Player panel (Media Player Controls)
6. Notice that MP A is the one with the star, the active one
7. Pause MP A
8. Open another media player (MP B) (like listening to an audio message on
WhatsApp Web)
9. Notice that now, MP B is the "active" one, the one with a star in the Media
Player panel
10. Resume playing on MP A
11. Press play/pause on the keyboard
12. Notice that now nothing happens, MP B is still the "active" media player
13. Open the Media Player panel, and go to the tab for MP A
14. Notice that while on that tab, you can hit play/pause, but the key on the
keyboard still does nothing
15. Notice that it's impossible to select MP A as the active media player

OBSERVED RESULT
MP B remains the active media player indefinitely, with no way to manually set
MP A as the active media player.

EXPECTED RESULT
There should be a button, like a star button, on the Media Player Controls
panel, to allow the user to manually select which media player is the active
one.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.15.25-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 4 × AMD Ryzen 3 2200G with Radeon Vega Graphics
Memory: 7.7 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970/PCIe/SSE2

By the way, I'm not sure if this fits as a bug report, but I'm extremely
confused as to where this kind of thing should go, so I'm posting it here. If
this is not the place for it, please inform me, and I'll gladly repost it on
the correct place.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to