Bug 149789 - Toolbar button "New Style from Selection" selected in Writer but Orca does not speak what it does
Summary: Toolbar button "New Style from Selection" selected in Writer but Orca does no...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks: a11y-Linux a11y, Accessibility
  Show dependency treegraph
 
Reported: 2022-06-30 12:09 UTC by Chris Sherlock
Modified: 2023-08-16 06:20 UTC (History)
2 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 Chris Sherlock 2022-06-30 12:09:49 UTC
Description:
Using LibreOffice 7.3.4.2 using GTK3 backend. 

If you tab to the toolbar button "New Style from Selection" in Writer and have Orca screen reader enabled, it just says "New pushbutton". 

It should probably say "New Style from Selection pushbutton". 

From what I can tell, only the first word of each pushbutton tooltip is read out. 

Steps to Reproduce:
1. Turn on Orca screen reader (meta+alt+S in Gnome)
2. Open writer
3. Click into the style combo box in the formatting toolbar
4. Press tab - it just says "Formatting toolbar - update - pushbutton". 
5. Press tab again - it just says "Formatting toolbar - new - pushbutton".

Actual Results:
Wrong thing is said aloud. Only the first word is given...

Expected Results:
In step 4, it should say "Formatting toolbar - update style from selection - pushbutton".

In step 5, it should say "Formatting toolbar - new style from selection - pushbutton".


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.4.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.4-0ubuntu0.22.04.1
Calc: threaded
Comment 1 Michael Weghorn 2022-06-30 12:16:31 UTC
Confirmed. Same when using NVDA on Windows (just says "Update, button" in step 4).

Might have to check whether "update" and "new" are some text/label set somewhere or whether it's actually using the whole text, but for some reason cutting it off at the first space character.

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: b2c2e534b1f1ddec08288c698e8bd2787ab9836f
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 Michael Weghorn 2022-07-01 07:52:35 UTC
Pending fix: https://gerrit.libreoffice.org/c/core/+/136722
Comment 3 Michael Weghorn 2022-07-14 05:54:30 UTC
(In reply to Michael Weghorn from comment #2)
> Pending fix: https://gerrit.libreoffice.org/c/core/+/136722

Unassigning for now, since a better fix would require more fundamental changes, and it's unlikely I'll find the time to look deeper into this anytime soon.

Maxim's comment in the Gerrit change provides valuable information and a potential way to move forward, so if somebody else wants to look into this, this is more than welcome. :-)
Comment 4 Milton 2023-08-11 12:57:27 UTC
I cannot confirm with Orca 44.2, Ubuntu 22.04, LO 7.5.5. Orca speaks as expected in point 5. So it worksforme.
Version: 7.5.5.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: nl-NL (nl_NL.UTF-8); UI: nl-NL
Ubuntu package version: 4:7.5.5~rc2-0ubuntu0.22.04.1~lo1
Calc: threaded
Comment 5 Michael Weghorn 2023-08-16 06:20:53 UTC
(In reply to Milton from comment #4)
> I cannot confirm with Orca 44.2, Ubuntu 22.04, LO 7.5.5. Orca speaks as
> expected in point 5. So it worksforme.

I just retested with orca 44.1-2 on Debian testing and current LO git master.

It still only says "Update pushbutton" or "New pushbutton" for the "Update Selected Style" and "New Style from Selection" buttons in the toolbar for me.

What does it say for you?

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b363a689bf5b434113648373f98ee46aa00c09d7
CPU threads: 12; OS: Linux 6.4; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded