New tests: GTK3 platform accessibility
Stephan Bergmann
sbergman at redhat.com
Thu Aug 24 11:38:27 UTC 2023
On 8/1/23 19:30, Colomban Wendling wrote:
> These tests are enabled by default if all dependencies are available.
> That is a working Xvfb [4], dbus-launch, and the AT-SPI2 library [5]
> which is used to communicate with the platform accessibility daemon. It
> is also possible to either enable or disable them forcefully, using
> --enable-atspi-test and --disable-atspi-tests respectively.
When I --enable-atspi-tests (which passes configure) on my local Fedora
38 Linux machine, CppunitTest_vcl_gtk3_a11y fails the
> assert(m_pAtspiApp);
in Atspi2TestBase::setUp
(vcl/qa/cppunit/a11y/atspi2/atspi2testbase.hxx), apparently because
> Atspi::Accessible desktop(atspi_get_desktop(desktopId));
in Atspi2TestBase::getApp
(vcl/qa/cppunit/a11y/atspi2/atspi2testbase.hxx) produces
> ** (cppunittester:1641471): WARNING **: 12:56:34.251: AT-SPI: Could not obtain desktop path or name
>
>
> (cppunittester:1641471): dbind-WARNING **: 12:56:34.251: Couldn't get application list: Could not activate remote peer: unit failed.
>
> (cppunittester:1641471): GLib-GObject-CRITICAL **: 12:56:34.251: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
on stderr but returns an empty Atspi::Accessible with no children to
iterate over.
Is there perhaps anything I would need to additionally install or to
enable to make this work? Or does it just not work on Wayland?
More information about the LibreOffice
mailing list