[Libreoffice-bugs] [Bug 155625] GTK3 a11y: some roles not properly updated

2023-07-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155625

Michael Weghorn  changed:

   What|Removed |Added

 Blocks||101912
   Assignee|libreoffice-b...@lists.free |m.wegh...@posteo.de
   |desktop.org |
 Status|NEW |ASSIGNED
 Whiteboard| QA:needsComment|
   Keywords||accessibility

--- Comment #2 from Michael Weghorn  ---
I'm working on a fix.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=101912
[Bug 101912] [META] Accessibility (a11y) bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155625] GTK3 a11y: some roles not properly updated

2023-07-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155625

Michael Weghorn  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1
 CC||m.wegh...@posteo.de

--- Comment #1 from Michael Weghorn  ---
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 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.

[Libreoffice-bugs] [Bug 155625] GTK3 a11y: some roles not properly updated

2023-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155625

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

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