After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 792353 - media-keys: timeout while grabbing keys
media-keys: timeout while grabbing keys
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: media-keys
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2018-01-09 08:28 UTC by Mantas Mikulėnas (grawity)
Modified: 2018-03-31 17:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
v0 patch I'm using locally (3.05 KB, patch)
2018-02-05 11:46 UTC, Mantas Mikulėnas (grawity)
none Details | Review

Description Mantas Mikulėnas (grawity) 2018-01-09 08:28:33 UTC
Whenever the boot process is a bit slow, gsd-media-keys quickly gives up trying to grab keyboard shortcuts. Later, even though the method call eventually reaches gnome-shell just fine, gsd-media-keys doesn't know what to do with the notifications.

gsd-media-keys[1178]: Failed to grab accelerators: Timeout was reached (24)
gsd-media-keys[1178]: Could not find accelerator for accel id 153
gsd-media-keys[1178]: Could not find accelerator for accel id 153
gsd-media-keys[1178]: Could not find accelerator for accel id 153

On my work PC (with Dropbox and Tracker booting off a HDD...), this happens approx. 3/4 of the time. Maybe the timeout should be increased, or gsd should retry when it receives G_DBUS_ERROR_TIMED_OUT? (I see it already has a retry loop.)

gnome-settings-daemon 3.26.x
Comment 1 Mantas Mikulėnas (grawity) 2018-02-05 11:46:44 UTC
Created attachment 367904 [details] [review]
v0 patch I'm using locally
Comment 2 Mantas Mikulėnas (grawity) 2018-03-31 17:19:57 UTC
Fixed in master:

https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/10