https://bugs.documentfoundation.org/show_bug.cgi?id=155625

Michael Weghorn <m.wegh...@posteo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
                 CC|                            |m.wegh...@posteo.de

--- Comment #1 from Michael Weghorn <m.wegh...@posteo.de> ---
I can reproduce with these steps:

1) apply PS 11 of https://gerrit.libreoffice.org/c/core/+/153069 on top of
master (as of 6568a29fa256d143a332b424c0582b0e665b65d6)

2) drop the workaround for this bug here:

diff --git a/vcl/qa/cppunit/a11y/atspi2/atspi2.cxx
b/vcl/qa/cppunit/a11y/atspi2/atspi2.cxx
index bbcd263fee0c..762401181bf4 100644
--- a/vcl/qa/cppunit/a11y/atspi2/atspi2.cxx
+++ b/vcl/qa/cppunit/a11y/atspi2/atspi2.cxx
@@ -264,9 +264,6 @@ void
Atspi2TestTree::compareObjects(uno::Reference<accessibility::XAccessible> x
      * be represented with a round trip. */
     const auto nLORole = mapToAtspiRole(xLOContext->getAccessibleRole());
     auto nAtspiRole = pAtspiAccessible.getRole();
-    // FIXME: workaround for
https://bugs.documentfoundation.org/show_bug.cgi?id=155625
-    if (nLORole == ATSPI_ROLE_CHECK_MENU_ITEM && nAtspiRole ==
ATSPI_ROLE_MENU_ITEM)
-        nAtspiRole = nLORole;
     CPPUNIT_ASSERT_EQUAL(nLORole, nAtspiRole);
     /* name (no need to worry about debugging suffixes as
AccessibilityTools::nameEquals does, as
      * that will also be part of the name sent to ATSPI) */

3) run the test:
   make CppunitTest_vcl_gtk3_a11y

It fails like this:

atspi2.cxx:267:Assertion
Test name: Test1::TestBody
equality assertion failed
- Expected: ATSPI_ROLE_CHECK_MENU_ITEM
- Actual  : ATSPI_ROLE_MENU_ITEM

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to