Hi there, When A11y is enabled, GUI applications which use gnome-keyring will hang whole desktop. Refer to bug http://bugzilla.gnome.org/show_bug.cgi?id=447435, those applications should use async functions instead of sync one. AFAIK, we have vino-preferences, pidgin, evolution use gnome-keyring sync functions.
The base idea for this patch for vino is to use gnome-keyring async APIs to replace sync APIs. vino_preferences_dialog_get_password_from_keyring is callback of gnome_keyring_find_network_password vino_preferences_dialog_set_password_in_keyring is callback of gnome_keyring_set_network_password move some logic to the two callback functions because of asynchronous. Left one FIXME in the patch, do not know how to fix it by now, seems will have memory leak if do not call gnome_keyring_network_password_list_free. -- Halton Huo Solaris Desktop Team, Sun Microsystems Tel: +86-10-82618200 ext. 82113/ +86-10-626732113 Fax: +86-10-62780969 eMail: Halton.Huo at Sun.COM -------------- next part -------------- A non-text attachment was scrubbed... Name: vino-01-a11y-gkr-hang.diff Type: text/x-patch Size: 9236 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20070911/5bb140c2/attachment.bin>
