Bug 115847 - accessibility: expose menus of menu buttons
Summary: accessibility: expose menus of menu buttons
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.1.1 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks: a11y-Linux
  Show dependency treegraph
 
Reported: 2018-02-19 10:33 UTC by Samuel Thibault
Modified: 2023-07-17 09:24 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Thibault 2018-02-19 10:33:30 UTC
Description:
menu buttons don't show up as menu buttons in the Orca screen reader

Steps to Reproduce:
From swriter, going into Files->Templates->Manage templates to get the Templates dialog box, the "Settings" button on the bottom left corner is a menu button (as seen by the little triangle). 

Actual Results:  
The Orca screen reader however does not know this because the menu that the button would open is not exposed through AT-SPI as a child of the button before clicking the button.

Expected Results:
The menu opened by the button should already be exposed in AT-SPI as a child of the button, before  clicking the button.


Reproducible: Always


User Profile Reset: No



Additional Info:
It seems that in that example, the menu is built in templatedlg.cxx's SfxTemplateManagerDlg::SfxTemplateManagerDlg(), perhaps it is a matter of converting that to .ui?


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Comment 1 Alex ARNAUD 2018-02-20 09:42:40 UTC
Hello all,

Confirmed on Debian 8.10 Jessie with LibreOfficeDev 6.1 GTK2 and Orca 3.24. FYI, on Windows the issue doesn't appear.

Best regards.
Comment 2 Samuel Thibault 2018-02-20 13:35:38 UTC
I guess there is no problem on windows because MSAA has ROLE_SYSTEM_BUTTONDROPDOWN, while AT-SPI2 doesn't have that role. Perhaps we should just introduce that role, so that libreoffice can just expose it, instead of orca having to find out that it's a drop-down button?
Comment 3 QA Administrators 2019-02-21 03:42:26 UTC Comment hidden (obsolete)
Comment 4 Samuel Thibault 2019-02-22 16:23:52 UTC
Yes, I confirm the issue is still there with libreoffice 6.1.5.2, my question still holds: “I guess there is no problem on windows because MSAA has ROLE_SYSTEM_BUTTONDROPDOWN, while AT-SPI2 doesn't have that role. Perhaps we should just introduce that role, so that libreoffice can just expose it, instead of orca having to find out that it's a drop-down button?”
Comment 5 QA Administrators 2021-02-22 03:59:47 UTC Comment hidden (obsolete)
Comment 6 Samuel Thibault 2021-02-22 14:09:59 UTC
It seems that at least with Libreoffice 7.0.4.2 this is fixed for the provided example:

“
From swriter, going into Files->Templates->Manage templates to get the Templates dialog box, the "Settings" button on the bottom left corner is a menu button (as seen by the little triangle). 
”

On my system, Orca now behaves fine for this example, Jean-Philippe, do you still notice the issue somewhere else in libreoffice 7?
Comment 7 Chris Sherlock 2022-06-30 12:20:17 UTC
There is no settings in this dialog box any more in LO 7.3.x

Is this still an issue? I tested, seems to be a moot point now.
Comment 8 Michael Weghorn 2023-07-17 09:15:38 UTC
Closing as WORKSFORME based on comment 6 and comment 7. Please create a new ticket if there are still issues.