Media keys stop working due to missing service file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Settings Daemon |
Fix Released
|
Unknown
|
|||
gnome-settings-daemon (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Disco |
Fix Released
|
Low
|
Unassigned |
Bug Description
* Impact
Sometime multimedia keys stop working
* Test case
- start playing an audio file in VLC/totem/smplayer
- pause
- open a video in another player
- exit the other player
- try to resume the music play from the first one using the play key
-> it should work
* Regression potential
Make sure that multimedia play/pause keys keep working
-------
Over the last two releases I've noticed that if you have an audio player such as Clementine running, pause the audio playback and watch a video via VLC or SMPlayer and then close the video player and try to use the media keys again, the following is logged to journald:
gsd-media-
From what I can see is that a service file is created for the media keys for SMPlayer, when SMPlayer is closed that service file is removed and then media keys are still bound to that service.
I get the above output for previous track, stop, play, pause and next track media keys.
I do get the following output if neither is SMPlayer or Clementine is running or if Clementine is running and playing audio and SMPlayer is open, but no video is loaded:
org.gnome.
org.gnome.
If you re-open SMPlayer and load a video, the media keys work and the GDBus error doesn't occur but the above "Overwriting ..." messages still get logged. Closing SMPlayer again does not restore media keys so that Clementine can handle them. I had SMPlayer running ~17 hours ago.
Doing a shell reload doesn't seem to fix this either.
I can't really tell if this is an SMPlay/VLC/Video Player issue or actually an issue in GSD, so filing here until someone can reassign to the relevant project.
I hit this a while ago, while trying to get some debugging information for a Clementine bug: https:/
If you need any other information let me know.
Thanks
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: gnome-settings-
ProcVersionSign
Uname: Linux 5.0.0-16-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Jun 11 17:36:07 2019
InstallationDate: Installed on 2019-02-01 (129 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20181202)
SourcePackage: gnome-settings-
UpgradeStatus: Upgraded to disco on 2019-04-09 (63 days ago)
Changed in gnome-settings-daemon: | |
status: | Unknown → New |
Changed in gnome-settings-daemon: | |
status: | New → Fix Released |
description: | updated |
Changed in gnome-settings-daemon (Ubuntu Disco): | |
importance: | Undecided → Low |
Thank you for your bug report, could you also send it upstream on https:/ /gitlab. gnome.org/ GNOME/gnome- settings- daemon/ issues ?