Bug 382412

Summary: Play/Pause-Button disabled after pausing music played with VLC
Product: [Plasma] plasmashell Reporter: Sebastian Hirsch <klaussemmler>
Component: Media Player widgetAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED UPSTREAM    
Severity: normal CC: amdev1, maxmustermann1884, plasma-bugs-null, sitter, sundman
Priority: NOR    
Version First Reported In: 5.10.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The music cannot be unpaused in the plasmoid for no apparent reason.

Description Sebastian Hirsch 2017-07-16 21:11:27 UTC
Created attachment 106670 [details]
The music cannot be unpaused in the plasmoid for no apparent reason.

Description:

If i play an audio file with vlc from my local media library, the Media Player Plasmoid is visible in the system tray. After clicking the Pause-Button in the middle, it is greyed out and i can resume the music.

Steps to reproduce:

1. Open VLC (Stable- or Git-Version)
2. Choose Media Library in the left pane (below the Playlist entry in the left pane)
2b. Add some music, if there isn't any music
3. Play the music
4. Open the Media Player Plasmoid in the System Tray
5. Press the Pause-Button

Workarounds:

1. Using the media keys on my keyboard still works fine.
2. Using the Media Button in the Window-Preview of the Taskbar wotks fine too.

This issue exists only since plasma 5.10 and newer. Plasma 5.9 and older worked fine.

- Used Hardware:

CPU: AMD Ryzen 5 1600
GPU: Geforce GTX 660
RAM: 16GB DDR4 Memory
SSD: 480GB Crucial M500

- Used Software:

Distribution: Manjaro Linux 64bit (based on Arch Linux)
Linux Kernel: 4.12.1
Plasma: 5.10.3
KDE Frameworks: 5.36
QT: 5.9.1
Comment 1 Kai Uwe Broulik 2017-08-07 18:25:00 UTC
I just experienced the same. When I pause in VLC, the Play button becomes grayed out in Task Manager and Media Controller, even though DBus viewer and plasmaengineexplorer report CanPlay true.
Comment 2 Kai Uwe Broulik 2017-08-07 18:40:53 UTC
From what I can tell it's VLC not signalling a change of the CanPlay property. When the player starts, it reads the CanPlay property (false if you just started VLC and its playlist is empty), then you play something and pause, it never gets told that CanPlay changed. What VLC version is this? I'm on 2.2.2.
Comment 3 Sebastian Hirsch 2017-08-07 18:43:44 UTC
This happens on both version 2.2.6 and the most recent Git-Version based on QT5.
Comment 4 Kai Uwe Broulik 2017-08-07 18:48:27 UTC
I'll try to bisect
Comment 5 Sebastian Hirsch 2017-08-26 08:56:12 UTC
Any new Information about this? Could you bisect the issue?
Comment 6 Patrick Silva 2019-05-25 14:36:21 UTC
*** Bug 407939 has been marked as a duplicate of this bug. ***