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 693616 - Tells me that a11y is off and need to log out
Tells me that a11y is off and need to log out
Status: RESOLVED FIXED
Product: caribou
Classification: Applications
Component: default
git master
Other Linux
: Normal normal
: ---
Assigned To: caribou-maint
caribou-maint
Depends on: 693626
Blocks:
 
 
Reported: 2013-02-11 20:00 UTC by William Jon McCann
Modified: 2013-02-13 16:01 UTC
See Also:
GNOME target: 3.8
GNOME version: ---


Attachments
screenshot (18.68 KB, image/png)
2013-02-11 20:00 UTC, William Jon McCann
  Details
Don't check the toolkit-accessibility setting (3.48 KB, patch)
2013-02-12 00:29 UTC, Matthias Clasen
committed Details | Review

Description William Jon McCann 2013-02-11 20:00:22 UTC
Created attachment 235740 [details]
screenshot

When turning on the OSK from the shell a11y menu I get two dialogs. The first telling me that a11y is off and I should turn it on. Then a dialog pops up on top of that and tells me I need to log out.

 * a11y should not need to be turned on by the user
 * if unable to initialize a11y something more serious is wrong
 * we shouldn't ask the user to log out
 * we shouldn't pop up a gtk dialog out of the blue. If it is absolutely needed it should be a shell style dialog.
 * We shouldn't pop up one dialog on top of another.
Comment 1 Matthias Clasen 2013-02-12 00:26:21 UTC
It turns out that org.gnome.desktop.interface.toolkit-accessibility defaults to false, still. Setting it to true is needed for gtk2 apps only. Neither gtk3 (where it is always on) nor clutter (where it defaults to true) rely on it.

We are also inconsistent here: orca does not display a similar dialog, it just starts up.
Comment 2 Matthias Clasen 2013-02-12 00:29:42 UTC
Created attachment 235757 [details] [review]
Don't check the toolkit-accessibility setting

It is irrelevant for gtk3 and clutter apps.
Comment 3 Matthias Clasen 2013-02-12 00:32:16 UTC
In fact, we already have code in the a11y-settings plugin in gsd to silently enable toolkit-accessibility as long as orca is running - we should just extend that to cover the osk as well.
Comment 4 Matthias Clasen 2013-02-12 00:39:42 UTC
See bug 693626 for the gsd side
Comment 5 Matthias Clasen 2013-02-12 15:29:23 UTC
the gsd patch has landed now
Comment 6 Daiki Ueno 2013-02-13 08:34:58 UTC
Review of attachment 235757 [details] [review]:

Looks good to me.

For the record, here is the original bug which introduced the dialog:
https://bugzilla.gnome.org/show_bug.cgi?id=645890
and the patch author also confirmed that it could be removed now.
Comment 7 Matthias Clasen 2013-02-13 16:01:01 UTC
Attachment 235757 [details] pushed as 0eb7a51 - Don't check the toolkit-accessibility setting