Bug 146598 - Freezing when using cut, copy, or paste on macOS
Summary: Freezing when using cut, copy, or paste on macOS
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All macOS (All)
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-05 20:58 UTC by Catriona Watson
Modified: 2023-01-11 10:40 UTC (History)
12 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 Catriona Watson 2022-01-05 20:58:14 UTC
Description:
We love Libre Office and prefer it to the previous programs we have used and have written several books and articles using it. Lately, especially when using the copy/cut paste features the program freezes forcing us to use force quit and then recover. Very frustrating.

Steps to Reproduce:
1. Copy or cut
2. Tennis ball keeps going
3. Force Quit: Libre Office not Responding
4. Recover file.
5. File recovered successfully
6. Repeat steps 1-5.

Actual Results:
Same thing happens.

Expected Results:
Same thing happens.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Allowed me to cut/copy and paste.
Comment 1 Julien Nabet 2022-01-05 21:21:11 UTC
On which MacOs version are you?
LO has some pb with recent MacOs version like Monterey.

Could you first try https://wiki.documentfoundation.org/QA/FirstSteps ?

Then I noticed you indicated 7.0.4, could you give a try to 7.1.8 or even more recent 7.2.4?
Comment 2 Michael Warner 2022-01-05 22:55:12 UTC
I have updated the summary to be more descriptive.
Comment 3 skg 2022-01-16 07:54:38 UTC
I have a similar problem, exactly as given  but i am using LO 7.0.4.2 on Raspberry Pi with Debian Bullseye OS. 
processed as given below.

Steps 1-6 done.
same thing happens.
also tried after complete purge and reinstall of LO.
today,, instead of rebooting, left the system hanging and after an afternoon nap, found copy and paste had worked.
data on the sheet is about 500 rows, 2o columns. Cleared Direct Formatting before copy n paste.

since i am new to this bug reporting system, plz advise if i need to post this some place else.
thnx
skg, india.
Comment 4 steve 2022-01-18 17:40:01 UTC
Just ran into a hang with LibreOffice 7.2.5.2 on macOS 11.6.2 after pressing ⌘C to copy something.

Crash log (1 year):
https://bin.disroot.org/?128d0f210274b4fe#9bGwHiBqC38wC7aLDGV5CcH5NyNwKk7ynLhWS4mF6wFi

Setting OS back to macOS as this is what the original report was about. There is certainly something off with cut copy paste in LO.

@skg: please file a separate new issue (after checking no existing issue matches your problem) specifically for linux. The causes for the problems are probably not identical and keeping things narrowed down will help actually getting the problems addressed. You can cross-link the linux bug in the `See also:` section.

NEW (since I reproduced), macOS to keep things focused.
Comment 5 Sam 2022-04-18 09:21:13 UTC
Same here: I love LibreOffice, but working with it on macOS Monterey is utterly frustrating because often it is hanging (= produces the spinning wheel): https://bugs.documentfoundation.org/show_bug.cgi?id=148051

It is unpredictable when these hangings occur, but often copying and pasting is involved or simply creating or opening a document.
Comment 6 Sam 2022-04-18 09:23:17 UTC
*** Bug 148051 has been marked as a duplicate of this bug. ***
Comment 7 Xisco Faulí 2022-04-21 14:13:58 UTC
if you are using ARM, I would recommend to use Libreoffice 7.3 since it contains some fixes in that area.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 8 steve 2022-05-01 20:41:28 UTC
Persisting on master. Just happened when pasting a URL in writer in Hyperlink dialog into URL field. However, this is a general problem affecting all components.

After force quit seeing crash report (1 year): https://bin.disroot.org/?72c20a0728884d89#HhMcgCMwwo7ZSTe2WWbjix2YQjPnEWAdkGfzjduyh5sZ
Comment 9 steve 2022-05-01 20:42:51 UTC
Hm for me this happened on an intel mac. Do we need a separate bug? Or do we change Hardware to "all" since bug happens on both ARM and Intel?

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 67d8c245daf7c6ee33e908255f2bbd0ea8d08206
CPU threads: 8; OS: Mac OS X 12.3.1; UI render: default; VCL: osx
Locale: de-DE (en_DE.UTF-8); UI: en-US
Calc: threaded
Comment 10 Sam 2022-05-02 05:36:29 UTC
I think it would help if the two *Hardware:* dropdown lists were organised differently. In the left one, for example, I could not enter "MacBook Pro (early 2015)" but instead had to research to find out which of the items (x86…, IA64, ARM, etc.) apply. In the right one, it looks as if it were relevant what macOS is affected since the current freezing problem probably began with macOS 12 Monterey only, so it may be useful to enter this rather than "macOS (All)".
Comment 11 Sam 2022-05-02 05:46:09 UTC
BTW, what has improved working with LO is turning OFF

Load/Save > General
Save AutoRecovery information every: [X] minutes

Freezings still occur but a bit less often.

Maybe this is the only relevant setting listed here: https://bugs.documentfoundation.org/show_bug.cgi?id=148051#c28
Comment 12 rtpbs20 2022-05-08 12:50:51 UTC
hello, fyi - i reverted back to 7.1.0.1 version about 3 weeks ago, and I have experienced zero issues since, no crashes whatsoever
Comment 13 steve 2022-05-13 19:15:08 UTC
Happened in both dev and Fresh version whenever copying something in preview app, LibreOffice freezes.Having to manually type long strings without being able to copy paste is a serious problem for an office application.

Reverted to Version: 7.1.8.1 / LibreOffice Community
Build ID: e1f30c802c3269a1d052614453f260e49458c82c
CPU threads: 8; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: de-DE (en_DE.UTF-8); UI: en-US
Calc: threaded

No immediate freeze, although unsure since this is not the earliest affected version.
Comment 14 Catriona Watson 2022-05-14 05:13:00 UTC
Still using the latest Monterey 12.3.1 with the latest version of LO. Seems to freeze more often when trying to input a graphic or if the file is left open long enough for the screen to go to sleep. Still save frequently, but I still get caught out.
Comment 15 Jean 2022-06-16 17:13:00 UTC
I met the same problems with MacBook Pro (Big Sur) and LibreOffice 7.2 et 7.3 in March, April, this year. I tried the different updates, all crashed.
I downgraded to 7.1.8.1. and everything is fine since.
I just came here to get information whether the problem was solved. Apparently not.
I keep preciously the dmg versions of 7.1.8.1. till further notice !
For your information,
Comment 16 Yannick Trottier 2022-06-25 19:06:50 UTC
I changed the hardware from ARM to All, since this same bug is happening on my MacBook Air 2018 x86 on MacOS 10.14.6, and steve's comment said it also happened to him on an Intel. The frequent crashes have made LibreOffice unusable since I upgraded to 7.2, and 7.3 did not help. I have the impression that letting the Startcenter rest for a few seconds before starting a module or loading a file made a big difference in how long I could go without a crash. Some people on ask.libreoffice report that 7.1.8.1 is stable, so I have just downgraded to that.  Limited testing has not reproduced the crashes so far.
Comment 17 Julien Nabet 2022-06-25 20:04:33 UTC
Stephan: I see more and more comments about blocking pbs on Mac specifically, so it's not only the "famous" tdf#128233.
I know that we've been always lacking dev resource, especially on specifics like macos (or Base part) and new Apple's security policy and the use of ARM processors worsened the situation.
Perhaps the future of LO on macos should be really debated on ESC?
At minimum is LO ready for ARM or should we stop indicating LO can run on it?
Any thoughts here?

Michael: just for curiosity, there are no Collabora clients complaining about macos support? I mean no company is interested in putting some money to fix these blocking pbs, they just wait for some benevolent do the job or don't use macos at all or simply just use MsOffice?
Comment 18 steve 2022-06-26 13:58:29 UTC
I stopped using LibreOffice on macOS since a few months, mostly due to the copy paste crashes. Going back to an old version with various unfixed security issues is not a great fallback. Switched to NeoOffice, now available outside of MAS via https://github.com/neooffice/NeoOffice

This issue here is not related to ARM as are many other open macOS issues. Apparently fixing macOS issues is not a priority. I think most companies with resources to go with macs also use MS Office, which somewhat creates a vicious circle.

The fact that 7.3 (?) was released with Skia as default, while it was not ready, shows that there is not only little development for macOS but also no real testing on macOS happening.
Comment 19 Michael Meeks 2022-06-27 09:02:27 UTC
> they just wait for some benevolent do the job

This is normal I'm afraid - similarly the Mac app-store revenue we've intermittently used to try to help here is about to stop cf. https://listarchives.documentfoundation.org/www/board-discuss/2022/msg00610.html

I was interested to see tdf#128233 - is there a good ranked list of the top priority Mac bugs that we can schedule to look at with our last remaining investment here ? =) thanks !
Comment 20 Julien Nabet 2022-06-28 20:18:23 UTC
(In reply to Michael Meeks from comment #19)
>...
> I was interested to see tdf#128233 - is there a good ranked list of the top
> priority Mac bugs that we can schedule to look at with our last remaining
> investment here ? =) thanks !

I don't have a good ranked list but IMHO the big one is indeed tdf#128233 and this one the second.
About first one, I'd like to test https://gerrit.libreoffice.org/c/core/+/136523 (see discussion in it and the last comments of tdf#128233).

Big chunk is migration from Carbon to Cocoa framework since I wouldn't be surprised that Apple drops support of Carbon (after some many years, they would be right to do it!).
Comment 21 Alex Thurgood 2022-11-15 14:04:20 UTC
The behaviour described overall seems to be similar to bug 148435, a later reported bug, with an identified problematic commit, Apple stack/spindump traces, and the duplicates pretty much all have the same entry of an idle process causing what appears to be a deadlock leading to a crash.

I would be inclined to mark this as a DUP of bug 148435.
Comment 22 Telesto 2022-12-20 18:28:40 UTC
Setting to NEEDINFO, based on comment 21
Comment 23 TH 2022-12-23 16:20:02 UTC
Problem still exists 

Version: 7.4.3.2 / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 12; OS: Mac OS X 11.7.2; UI render: default; VCL: osx
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded
Comment 24 Alex Thurgood 2022-12-23 16:35:14 UTC
(In reply to TH from comment #23)
> Problem still exists 
> 
> Version: 7.4.3.2 / LibreOffice Community
> Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
> CPU threads: 12; OS: Mac OS X 11.7.2; UI render: default; VCL: osx
> Locale: de-DE (de_DE.UTF-8); UI: de-DE
> Calc: threaded

@TH : please try with either:

LibreOffice 7.4.4 pre-release
or
LibreOffice 7.5 beta pre-release.

or alternatively, wait until 7.4.4 is released in January.
Comment 25 Patrick Luby (volunteer) 2022-12-23 20:29:50 UTC
(In reply to steve from comment #8)
> Persisting on master. Just happened when pasting a URL in writer in
> Hyperlink dialog into URL field. However, this is a general problem
> affecting all components.
> 
> After force quit seeing crash report (1 year):
> https://bin.disroot.org/
> ?72c20a0728884d89#HhMcgCMwwo7ZSTe2WWbjix2YQjPnEWAdkGfzjduyh5sZ

Looking at the above report, I think that this bug is caused by the same bug that I posted a patch for earlier today:

https://bugs.documentfoundation.org/show_bug.cgi?id=148435#c82
Comment 26 Yannick Trottier 2022-12-26 15:46:56 UTC
Thank you for the Christmas gift! Initial trials with 7.4.4.1 seem to have solved the bug.
Comment 27 Scott Ishiyama 2023-01-04 22:18:48 UTC
Just wanted to add my thanks!  This issue normally appeared when I had two (I never was able to open more than two) documents at the same time -- normally a Calc and a Writer document.  I didn't isolate it to when I did a Cut/Paste, but I did a number of Cut/Pastes with 7.4.4.1 RC and the problem is completely gone.
Comment 28 Sam 2023-01-11 10:40:11 UTC
I'd just like to add here my thanks to the developers for resolving this issue. I've been using LO 7.4.4.1 (on macOS 12.6.2) for roughly a week now, several hours per day, and there hasn't been a single freeze so far, which is phenomenal compared to previous versions after 7.1.8.1. Now we can recommend LibreOffice to Mac users again.