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 139237 - gaim non-accessible without manually export 'GTK_MODULES'
gaim non-accessible without manually export 'GTK_MODULES'
Status: RESOLVED NOTGNOME
Product: at-spi
Classification: Platform
Component: general
unspecified
Other Linux
: Normal major
: ---
Assigned To: bill.haneman
bill.haneman
AP3
Depends on:
Blocks:
 
 
Reported: 2004-04-06 10:05 UTC by david.hawthorne
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description david.hawthorne 2004-04-06 10:05:36 UTC
using gaim 0.75-8

- it should not be necessary to have to manually export an environment variable
to enable accessibility in gaim. As part of a stack one would expect
accessibility to be enabled out of the box/when gconf key is set. Just like
other apps.

currently 'export GTK_MODULES="gail:atk-bridge"' has to specified.
Comment 1 padraig.obriain 2004-04-06 15:06:25 UTC
Proposed solution:

1) Add support for using gconf to gaim
2) Add code similar to that added to metacity in GNOME 2,4 timeframe to check
GConf accessibility key and add required modules. See patch attached to bug
#120025.
Comment 2 bill.haneman 2004-04-07 10:36:08 UTC
alternative solution (since this happens with other pure-gtk+ apps) might be to
add code to gnome-settings-daemon to export GTK_MODULES when the a11y key is
set; this would only effect apps launched from shells that were started after
the gconf key was set.  I am not sure whether there's a clean way for g-s-d to
export this variable to the panel, terminal, nautilus, etc. but it seems plausible.

Why is this marked URGENT?  it's also not an at-spi bug, strictly speaking,
since at-spi has no responsibility for this issue.
Comment 3 david.hawthorne 2004-04-07 10:59:30 UTC
Looking at it from an end-user perspective, it is an accessibility blocker. Gaim
is not functional without it. There is no documentation or implication to export
this variable so the end-user will not be know/be able to do so. It's very well
for folk who know what to do, but otherwise I would regard this as an urgent fix..
Comment 4 bill.haneman 2004-04-07 20:52:41 UTC
well, sure, but it's not an at-spi bug.  And there is a straightforward
workaround, even though it may not be documented well.
Comment 5 bill.haneman 2004-04-08 08:27:41 UTC
moving to 'gnome-desktop' though that's not the right (cvs) module; I suppose we
need a meta-gnome-desktop bugzilla category for things like this that aren't
bugs against specific components (at least until a technical solution is agreed)
Comment 6 bill.haneman 2004-04-08 08:32:03 UTC
One possible tweak, if we go with a solution which more aggressively sets
GTK_MODULES, might be for atk-bridge to check gconf before registering.  This
would regress a few "test" uses, so we might need a special "A11Y_DEBUG" env
variable to override the gconf check.  The above gconf check in atk-bridge would
reduce the impact of more-aggressively setting the GTK_MODULES environment
variables.  Since we don't want gail to depend on gconf, we can't really do the
same for gail's gmodule.

I disagree with "AP0" category since AP0 infers total accessibility blocker,
i.e. hangs desktop, blocks entire app, crasher, etc.  Moving to AP1.

Comment 7 padraig.obriain 2004-04-13 10:24:33 UTC
The suggestion to add code to g-s-d seems to be predicated on the assuption that
setting the GTK_MODULES environment variable in that process will cause it to be
set for processes subsequently started. This does not seem correct.

Could gaim be started by a wrapper that checks the Gconf accessibility key and
sets the GTK_MODULES environment variable if not set.
Comment 8 bill.haneman 2004-04-15 13:32:29 UTC
setting the env for the g-s-d process does little, I agree; I was talking about
a mechanism whereby g-s-d could set the env for other shells subsequently
started.  I suppose this really would fall to gnome-session, if it were possible.
Comment 9 Mark McLoughlin 2004-04-19 12:10:43 UTC
Moving it back to a11y until you guys figure out what you're doing. It has
nothing to do with gnome-desktop
Comment 10 bill.haneman 2004-04-19 12:21:35 UTC
at-spi is not the correct module, it is not an accessibility "catch-all".
The proposals being discussed would require code changes to either g-s-d,
gnome-session, or both.
Comment 11 padraig.obriain 2004-05-06 10:12:47 UTC
Updating priority and severity to match status whiteboard AP value.
Comment 12 bill.haneman 2004-05-06 10:54:18 UTC
Padraig: since I don't even think at-spi is the correct module, I can't abide by
'critical' severity or even urgent priority for this bug.
Comment 13 bill.haneman 2004-05-06 10:57:26 UTC
This is not a stopper IMO since a workaround exists.  It probably merits AP2
however.
Comment 14 padraig.obriain 2004-08-20 08:36:37 UTC
I am closing this as NOTGNOME.