https://bugs.documentfoundation.org/show_bug.cgi?id=109425
--- Comment #45 from Michael Weghorn <[email protected]> --- Created attachment 182635 --> https://bugs.documentfoundation.org/attachment.cgi?id=182635&action=edit Screencast showing a11y hierarchy in Accerciser with qt6 VCL plugin Announcement works with the gtk3 VCL plugin and Orca on Linux, but not with qt6. At a quick glance, the a11y hierarchy looks odd, since the notebookbar is on the same level as the "panel" that covers its area as well, s. attached screencast showing that in Accerciser. With an ugly quick demo change (that breaks rendering and probably all kinds of other things) to adapt that hierarchy and move notebookbar one level further down the hierarchy, Orca starts speaking the elements in the notebookbar for me with qt6 (+ a qtbase dev branch) as well. Same for NVDA on Windows, I'll attach a sample screencast for that one. Test change is this modified line (note the added `->GetChild(0)` with master as of commit 64e4363527422c913151efab0c0d0c6b8c2256c8: diff --git a/vcl/source/window/brdwin.cxx b/vcl/source/window/brdwin.cxx index 6617de6414b3..5649c9185714 100644 --- a/vcl/source/window/brdwin.cxx +++ b/vcl/source/window/brdwin.cxx @@ -1947,7 +1947,7 @@ void ImplBorderWindow::SetNotebookBar(const OUString& rUIXMLDescription, { if (mpNotebookBar) mpNotebookBar.disposeAndClear(); - mpNotebookBar = VclPtr<NotebookBar>::Create(this, "NotebookBar", rUIXMLDescription, rFrame, + mpNotebookBar = VclPtr<NotebookBar>::Create(this->GetChild(0), "NotebookBar", rUIXMLDescription, rFrame, aNotebookBarAddonsItem); Resize(); } Don't know whether that odd hierarchy is necessarily the root cause and changing that is the best way forward - and my VCL knowledge is too limited to be of much help here for a proper solution.... -- You are receiving this mail because: You are the assignee for the bug.
