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

            Bug ID: 441934
           Summary: Media controls don't recognize when media players
                    terminate
           Product: kde
           Version: unspecified
          Platform: Debian unstable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: david.cortes.riv...@gmail.com
  Target Milestone: ---

SUMMARY
After an update to plasma 5.21.5, the media controls (the kind that by default
show as a tray icon with a play button and allow pausing and playing next
track) do not recognize when a media-playing application terminates, keeping
the controls for a media that was previous playing after it is closed. The only
media-playing app that deactivates the controls correctly after closing is the
plasma browser integration (tested in a chromium-based browser).

STEPS TO REPRODUCE
1. Add a media control widget to the taskbar so that media controls will be
clearly visible, ideally choosing some widget that would display the name of
the media that is playing to make the bug more clear.
2. Play some video or audio file through e.g. JuK, VLC, or whatever other app
(save for web browsers which still work correctly).
3. Either close the app that was playing media, or stop the media that was
playing through the button that looks like a square (if the app has it).
Perhaps make sure the app was killed from ksysguard as an optional step.

OBSERVED RESULT
The media controls keep triggered with the media that is not playing anymore,
but do not do anything since the application they try to control is no longer
running.

EXPECTED RESULT
Should deactivate once the media-playing application terminates or the media
itself terminates (e.g. video reaches the end).

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

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

Reply via email to