Bug 382412 - Play/Pause-Button disabled after pausing music played with VLC
Summary: Play/Pause-Button disabled after pausing music played with VLC
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Media Player (show other bugs)
Version: 5.10.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
: 407939 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-07-16 21:11 UTC by Sebastian Hirsch
Modified: 2019-05-25 19:45 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The music cannot be unpaused in the plasmoid for no apparent reason. (26.07 KB, image/png)
2017-07-16 21:11 UTC, Sebastian Hirsch
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***