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 694886 - CLUTTER_ENABLE_ACCESSIBILITY is not checked
CLUTTER_ENABLE_ACCESSIBILITY is not checked
Status: RESOLVED OBSOLETE
Product: clutter
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2013-02-28 17:47 UTC by Alejandro Piñeiro Iglesias (IRC: infapi00)
Modified: 2021-06-10 11:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Check for CLUTTER_ENABLE_ACCESSIBILITY envvar (834 bytes, patch)
2013-02-28 17:47 UTC, Alejandro Piñeiro Iglesias (IRC: infapi00)
needs-work Details | Review
Extra documentation for CLUTTER_ENABLE_ACCESSIBILITY envvar (1.04 KB, patch)
2013-02-28 17:48 UTC, Alejandro Piñeiro Iglesias (IRC: infapi00)
needs-work Details | Review
Check for CLUTTER_ENABLE_ACCESSIBILITY envvar (838 bytes, patch)
2013-03-01 10:31 UTC, Alejandro Piñeiro Iglesias (IRC: infapi00)
none Details | Review
Extra documentation for CLUTTER_ENABLE_ACCESSIBILITY envvar (1.01 KB, patch)
2013-03-01 10:31 UTC, Alejandro Piñeiro Iglesias (IRC: infapi00)
none Details | Review

Description Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-02-28 17:47:12 UTC
At the running clutter documentation [1] it is mentioned that EnableAccessibility configuration file is equivalent to envvar CLUTTER_ENABLE_ACCESSIBILITY. Specifically:

"EnableAccessibility: A boolean value, equivalent to setting CLUTTER_ENABLE_ACCESSIBILITY."

Anyway that envvar is not checked, and not listed at the available environment variables.

FWIW, this envvar could be needed due clutter-gtk.

[1] http://developer.gnome.org/clutter/unstable/running-clutter.html
Comment 1 Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-02-28 17:47:56 UTC
Created attachment 237633 [details] [review]
Check for CLUTTER_ENABLE_ACCESSIBILITY envvar
Comment 2 Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-02-28 17:48:26 UTC
Created attachment 237634 [details] [review]
Extra documentation for CLUTTER_ENABLE_ACCESSIBILITY envvar
Comment 3 Emmanuele Bassi (:ebassi) 2013-03-01 00:32:07 UTC
Review of attachment 237633 [details] [review]:

::: clutter/clutter-main.c
@@ +1778,3 @@
 
+  env_string = g_getenv ("CLUTTER_ENABLE_ACCESSIBILITY");
+  if (g_strcmp0 (env_string, "false") == 0)

we don't use 'false' or 'true' for most of our environment variables.

checking for '0' should be fine:

  if (env_string != NULL && *env_string == '0')
    clutter_enable_accessibility = FALSE;
Comment 4 Emmanuele Bassi (:ebassi) 2013-03-01 00:34:06 UTC
Review of attachment 237634 [details] [review]:

::: doc/reference/clutter/running-clutter.xml
@@ +104,3 @@
+          <listitem>
+            <para>Enables loading the accessibility support for
+            clutter. Default value: true. Valid values are: true or

a11y is not loaded, and the way to disable it should be to just set the envvar to 0; so, I'd say:

  Enables the accessibility support inside Clutter. Default: enabled. To disable, set to 0.
Comment 5 Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-03-01 10:31:22 UTC
Created attachment 237691 [details] [review]
Check for CLUTTER_ENABLE_ACCESSIBILITY envvar

Updated patch, based on previous review
Comment 6 Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-03-01 10:31:54 UTC
Created attachment 237692 [details] [review]
Extra documentation for CLUTTER_ENABLE_ACCESSIBILITY envvar

Updated patch based on previous review
Comment 7 André Klapper 2021-06-10 11:32:36 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of clutter, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a ticket at
  https://gitlab.gnome.org/GNOME/clutter/-/issues/

Thank you for your understanding and your help.