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 559564 - [a11y-keyboard,media-keys] Start manager in idle callback
[a11y-keyboard,media-keys] Start manager in idle callback
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: plugins
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2008-11-06 07:58 UTC by Behdad Esfahbod
Modified: 2008-11-06 19:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
for a11y-keyboard (2.93 KB, patch)
2008-11-06 18:24 UTC, Behdad Esfahbod
committed Details | Review
for media-keys (2.38 KB, patch)
2008-11-06 18:25 UTC, Behdad Esfahbod
committed Details | Review

Description Behdad Esfahbod 2008-11-06 07:58:08 UTC
It doesn't have to be run before other apps.  It does lots of synchronous X calls.  It's better done after xkb initialization in the keyboard plugin anyway.  It also may decide to show a status icon when we have not yet even started the panel.
Comment 1 Jens Granseuer 2008-11-06 17:39:04 UTC
Same as bug 559558?
Comment 2 Behdad Esfahbod 2008-11-06 18:22:52 UTC
Not really.  Patch coming, for both a11y-keyboard and media-keys.
Comment 3 Behdad Esfahbod 2008-11-06 18:24:44 UTC
Created attachment 122137 [details] [review]
for a11y-keyboard
Comment 4 Behdad Esfahbod 2008-11-06 18:25:28 UTC
Created attachment 122139 [details] [review]
for media-keys

We keep acme initialization in the main start, to force gstreamer plugin cache check.  This is similar to what we did with fontconfig.
Comment 5 Behdad Esfahbod 2008-11-06 19:42:54 UTC
2008-11-06  Behdad Esfahbod  <behdad@gnome.org>

        * plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c
        (start_a11y_keyboard_idle_cb), (gsd_a11y_keyboard_manager_start):
        Start manager in idle callback (bug #559564)

        * plugins/media-keys/gsd-media-keys-manager.c
        (start_media_keys_idle_cb), (gsd_media_keys_manager_start):
        Start manager in idle callback (bug #559564).  Leave the acme
        initialization in the main start function to force gstreamer
        cache up to date check before we let other applications start.