Community
Participate
Working Groups
Created attachment 257846 [details] python script to get the accessible names from the at-spi2 registry including the cmd-line Due to Bug 470031 i am running Eclipse forcing GTK2. Not sure if this makes a difference for this issue but i just wanted to mention it, too. When eclipse is running it looks like it is propagating a wrong application name to the at-spi2 registry: orca is reading the application title from the at-spi2 registry and reads "SWT" instead of "Eclipse" as window / application name. This is causing some accessibility issues. For example: orca is no longer able to load the proper scripts for eclipse etc.. You could use the attached python script to get the accessible names from the at-spi2 registry. Also you could simply use accerciser for this purpose.
In my environment the name eclipse is shown correctly but the attached script shows two instances of eclipse when I execute eclipse 4.5. The instance is shown by the script as a dead app and the script takes about 15 seconds to complete in my machine.
The problem described in my previous comment happens if I force GTK2 or GTK3. Actually I am using gnome 3.18 in a arch box.
(In reply to jose vilmar estacio de souza from comment #2) > The problem described in my previous comment happens if I force GTK2 or GTK3. > Actually I am using gnome 3.18 in a arch box. And it only happens if I run eclipse 4.5. I didn't see this problem with previous versions of eclipse.
Alex, is that the bug you said you'll take a look?
Yes, I'm looking into it (as much as time permits).
(In reply to Alexander Kurtakov from comment #5) > Yes, I'm looking into it (as much as time permits). Alex, I'm deferring to 4.6.1, please re-target in case you think otherwise...
That's fine I spent a lot of time on this one but can't figure it out yet.
Moving to 4.6.2 as there is no fix yet...
Moving to 4.7, fix can be backported to 4.6.3 if possible.
No fix in 4.7 either, deferring to 4.7.1 now.
I'm not sure I can reproduce this issue. Can anyone else confirm? When running the script, here is the output: 12:42:13 pid: 6315 [application | Eclipse] This is with Eclipse in GTK3 mode. There is a noticeable hang though. The script takes about 10-20 seconds to read the Eclipse application info, before terminating. OS details: Fedora 26 with GTK3.22 Eclipse 4.7
It's worth noting that Accerciser does *not* work with Eclipse at all (whether it be GTK2 or 3). It hangs for awhile and then prints the following message into the command line: ** (accerciser:16298): WARNING **: AT-SPI: Error in GetItems, sender=(null), error=Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
After the fixes to bug 470031, both GTK2 and GTK3 report the correct application name to the at-spi2 registry. Running the attached script no longer reproduces this bug. Marking this as WORKSFORME since there is no actual fix for this bug, it's all part of the work for bug 470031.
Nice work, Eric! Thanks!