Bug 135468 - Mac's Built in dictation while inserting comments causes crash.
Summary: Mac's Built in dictation while inserting comments causes crash.
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.4.4.2 release
Hardware: All macOS (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: a11y-macOS
  Show dependency treegraph
 
Reported: 2020-08-05 16:16 UTC by portadactyl
Modified: 2022-12-22 09:35 UTC (History)
0 users

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 portadactyl 2020-08-05 16:16:32 UTC
Description:
When I use the built-in dictation on my 2020 MacBook Air(hit function button twice to dictate) while adding a comment, it  causes a crash. This only happens if I hit the dictate button multiple times in the same comment and it only happens if I am dictating a longer sentence.

To replicate you would have to insert a comment, then dictate the first few words of the comment and then stop. Then hit the dictate function button again and dictate for more than 10 or 15 seconds.  And then libre office will lock up.

If that doesn't work, try dictating three times, and then try talking for even longer the second and third time.

I haven't tested this, but it doesn't appear to be related to the length of the first dictation session. I can write as long as I want as long as I don't allow Dictation to pause. 

Steps to Reproduce:
1.Add comment
2. 2020 MacBook Air should have the ability to take dictation when you hit the function key twice
3. Dictate a brief sentence
4. Pauses and allow Dictation to end
5. Dictate a longer sentence. Talk for 10 or 20 seconds and the program should lock up.
6. If this doesn't work pause and allow Dictation to end. It might be locking up after this pause.
7. If it works twice, sometimes a third time will crash it. Talked for even longer. It seems like the more times dictation is initiated the more likely it is to lock up especially when the sentences run long. 

Actual Results:
Now that I am attempting to re-create it, I can't get it to happen again.

Maybe it only happens when commenting on larger documents?

But I've had libre office lock up and must be restarted four times already in the last five days because of this, so there must be a way to reproduce it.

Expected Results:
I get a little hourglass indicator which then turns into the spinning color wheel that Macs have. Then I have to force a shut down. How much point I'm usually able to recover half of my work from the day, but not everything from the last save point


Reproducible: Couldn't Reproduce


User Profile Reset: No



Additional Info:
That's it.
Comment 1 portadactyl 2020-08-08 13:48:31 UTC
It continues to happen. I have found that it has nothing to do with the number of times I dictate into a comment it is only the number of words that I say. If I dictate more than a paragraph then as soon as I click out of the comment the program locks up.
Comment 2 Alex Thurgood 2020-08-10 14:20:23 UTC
Wouldn't be a huge surprise. LO has struggled for a long time with the accessibility features of macOS, crashes and hangs being fairly frequent, as the LO code does not generally keep pace with the macOS accessibility API.

I'm currently not in a position to test this though to confirm/deny.
Comment 3 QA Administrators 2022-08-11 03:46:50 UTC Comment hidden (obsolete)
Comment 4 Telesto 2022-12-21 22:57:38 UTC
No issue
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8635c9aa8c6f1078a9e220076d5a08daf30077e8
CPU threads: 8; OS: Mac OS X 12.3.1; UI render: Skia/Metal; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 5 Alex Thurgood 2022-12-22 09:12:05 UTC
Confirming, no repro with

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

I suspect that this issue may have been resolved by the fix to bug 148435, or some of the other commits that have recently gone into the code.