Re: [orca-list] I'm getting real tired of apps run as root being inaccessible



On Tue, Sep 06, 2016 at 10:53:38AM AEST, Luke Yelavich wrote:
ok, a small clarrification. i've done some digging, and it turns out qt5 
requires qt_linux_accessibility_always_on to be set to 1. whether it also 
needs qt_accessibility set to 1 as well i am not sure.

Ok, some more info.

When an application runs, the accessibility stack attempts to locate at-spi 
on its own dbus. This is attempted in a couple of different ways. It connects 
to the session bus to get the information from at-spi directly, and it also 
retrieves the location of the bus from a root X window property. Both Gtk, 
actually libatspi, and Qt do this, but it seems that the code in Qt to do this 
is not being executed for some reason. I am unable to get a Qt5 application 
to work as root, even with the previously discussed environment variables 
set. This is on an Ubuntu yakkety install with Qt 5.6, and an ArchLinux 
install with Qt 5.7. I've asked Frederik Gladhorn from the Qt company about 
this, and will report back. I also believe he subscribes to this list, but I 
am not going to call him out, since it seems we are dealing with a bug, and 
I'll likely have to go through the proper channels to get it sorted.

Luke


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]