Re: Getting the currently active widget?

Alejandro Piñeiro <[email protected]> Mon, 31 Aug 2015 08:40:16 +0200
Newsgroups gmane.comp.gnome.accessibility.general
Message-ID <[email protected]>

On 29/08/15 23:31, Samuel Thibault wrote:
> Hello,
>
> I'm working on the AT-SPI2 driver of brltty, and there is something we
> are doing very oddly: finding out which widget is currently active.  At
> the moment what we do is starting from the AT-SPI root, and recursively
> look at children until we find one which is focused and has an active
> parent. 

As far as I know something like that is what Orca does (Joanmarie can
confirm).

> This is quite suboptimal when the desktop is quite loaded... Is
> there a better way to do this?

There is an open bug about that:
https://bugzilla.gnome.org/show_bug.cgi?id=651368

BR

-- 
Alejandro Piñeiro ([email protected])