New tests: GTK3 platform accessibility
Michael Weghorn
m.weghorn at posteo.de
Fri Aug 25 07:06:33 UTC 2023
On 2023-08-24 13:38, Stephan Bergmann wrote:
> 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?
In my test, it failed differently on Wayland, and forcing the X11 Gdk
backend makes that work:
https://gerrit.libreoffice.org/c/core/+/156086
Does that fix your case as well?
Otherwise: Does the test work when run in an X11 session instead?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20230825/801b172b/attachment.sig>
More information about the LibreOffice
mailing list