Bug Hunting Session
Bug 115847 - accessibility: expose menus of menu buttons
Summary: accessibility: expose menus of menu buttons
Status: NEW
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: 2019-02-22 16:23 UTC (History)
3 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?”