Re: New tests: GTK3 platform accessibility

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

 



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?

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux