Bug 148895 - Hang when using macOS Voice Control
Summary: Hang when using macOS Voice Control
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.2.2 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks: a11y-macOS
  Show dependency treegraph
 
Reported: 2022-05-02 17:02 UTC by David Snow
Modified: 2022-12-22 09:33 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 David Snow 2022-05-02 17:02:37 UTC
Description:
I switched back to the Intel version of LO on my 2020 MacBook Air M1 because the Apple silicon version hangs too frequently.  MacOS' dictation commands seem to work ok with LO Writer, but are very limited.  I enabled Voice Control in the Accessibility settings because this has a much larger set of controls.  When I did this LO Writer hangs (Not responding).

Steps to Reproduce:
1. Enable macOS' Voice Control in the Accessibility Settings 
2.  Bring up a new LO Writer document.
3. Try dictating some text.

Actual Results:
Beachball.  i.e. LO Writer hangs and doesn't respond

Expected Results:
Should work well


Reproducible: Always


User Profile Reset: No



Additional Info:
macOS version 12.3.1
Comment 1 David Snow 2022-05-02 17:05:17 UTC
I just tested this with MS Word and it works ok there.
Comment 2 Alex Thurgood 2022-05-03 07:44:15 UTC
Unfortunately, LO on macOS is not "accessible-tool friendly". 

Using any sort of accessibility tool on macOS with LO is pretty much guaranteed to make it crash and/or freeze. 

The reason is that most of the LO accessibility code is using deprecated Apple APIs and there simply aren't the developers to keep on top of the changes, or even rewrite the parts of the code to match current Apple accessibility API requirements.



  
Confirming with 

Version: 7.3.1.3 / LibreOffice Community
Build ID: a69ca51ded25f3eefd52d7bf9a5fad8c90b87951
CPU threads: 8; OS: Mac OS X 12.2.1; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded
Comment 3 Alex Thurgood 2022-05-03 07:45:33 UTC
It hangs for me with aarch64 M1 version too, requiring a forced kill..
Comment 4 Alex Thurgood 2022-05-03 07:46:10 UTC
Pretty certain this is a DUP, just can't find it right now.
Comment 5 Alex Thurgood 2022-12-22 09:22:53 UTC
I can now dictate using VoiceOver, with no crashing, when using:

Version: 7.6.0.0.alpha0+ (AARCH64) / LibreOffice Community
Build ID: ad387d5b984c6666906505d25685065f710ed55d
CPU threads: 8; OS: Mac OS X 13.0.1; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded