Bug 150596 - Libre Office crashes when opening a second document [macOS 13 Ventura]
Summary: Libre Office crashes when opening a second document [macOS 13 Ventura]
Status: RESOLVED DUPLICATE of bug 148435
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: ARM macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: macOS-UI-polish
  Show dependency treegraph
 
Reported: 2022-08-25 07:49 UTC by Lagorce
Modified: 2022-12-14 21:57 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 Lagorce 2022-08-25 07:49:59 UTC
Mac OS Ventura beta 13.0 (22A5321d)

When opening a second file Libre Office 7.4.0.3 crashes after a few seconds.

Tests :
first document Writer, second document Writer -> OK
first document Writer, second document Calc -> Crashes
first document Calc, second document Calc -> Crashes
first document Impress, second document Impress -> OK
first document Impress, second document Writer -> Crashes
first document Impress, second document Calc -> OK
first document Draw, second document Writer -> OK
first document Draw, second document Calc -> Crashes
Comment 1 Alex Thurgood 2022-08-25 11:46:40 UTC
Annoyingly, I don't have an ARM machine on which to test beta versions of macOS, so am unable to confirm.

Additionally, many (but not all) of the pre-versions of new macOS often receive patches by GA which overcome these early reported issues, so I guess we'll just have to wait and see.
Comment 2 Bill 2022-12-09 16:37:42 UTC
I can confirm this with macOS 13.0.1, LibreOffice 7.3.2.2 on both Intel and Arm machines (iMac 2019 Intel and MacBook Air 2020 M1). Also LibreOffice 7.4.3 Intel and Arm.

1) New Writer document
2) New Writer document
3) Switch to first document using Command+~
Note that the second (switched-from) document still has the window widgets (close, minimize, zoom) active, while the switched-to document has these inactive.
4) After a few seconds LibreOffice stops responding and must be forced to quit.

I do not get a crash in this situation simply by having 2 Writer documents open.

1) New Writer document
2) New Writer document
3) Switch to first document (Untitled 1) using the Window menu
On M1, Untitled 1 window comes to the front and window widgets are enabled/disabled properly. No crash
On Intel, Untitled 1 window comes to the front briefly then Untitled 2 window comes back to the front. No crash.

1) New Writer document
2) New Writer document
3) Switch to first document (Untitled 1) by clicking in the window
Untitled 1 window comes to the front and window widgets are enabled/disabled properly. No crash

All the above is the same when creating 2 new Calc documents.

I've opened LibreOffice in Safe Mode and the above still occurs.
Comment 3 Bill 2022-12-09 17:18:27 UTC
(In reply to Bill from comment #2)


> On Intel, Untitled 1 window comes to the front briefly then Untitled 2
> window comes back to the front. No crash.

This seems to be a separate issue. When the mouse moves over a toolbar icon in a back window the toolbar icon is highlighted and the window moves to the front, but it is not "active" - the editing cursor is not displayed and the window widgets are inactive.
Comment 4 steve 2022-12-12 14:20:26 UTC
Unable to reproduce:

1. new writer document 1
2. new writer document 2
3. switch from document 2 to 1

All good.

However you write "3) Switch to first document using Command+~" but I am not sure what you mean by that. ~ is when I press alt + n. So are you suggesting you change between the two documents by pressing cmd+alt+n? Could you clarify that step? I am unable to produce any crash.

Also is the crash happening for you when you switch using your mouse? Do you have any window managers installed on your mac?


Version: 7.4.3.2 + todays main build / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 8; OS: Mac OS X 13.0.1; UI render: default; VCL: osx
Locale: de-DE (en_DE.UTF-8); UI: en-US
Calc: threaded
Comment 5 Bill 2022-12-13 19:23:06 UTC
(In reply to steve from comment #4)

> 
> However you write "3) Switch to first document using Command+~" but I am not
> sure what you mean by that. ~ is when I press alt + n. So are you suggesting
> you change between the two documents by pressing cmd+alt+n? Could you
> clarify that step? I am unable to produce any crash.
> 
> Also is the crash happening for you when you switch using your mouse? Do you
> have any window managers installed on your mac?

I should have written "Cmd + `" (that's the "back tick" key under the esc key). See System Settings > Keyboard > Keyboard Shortcuts "Move focus to next window".

You may have to use Cmd+` a few times to get the crash.

The crash does not happen when using the mouse to switch windows, and does not happen when using the Window menu to switch windows.

I don't have any window managers installed.
Comment 6 Alex Thurgood 2022-12-14 11:16:47 UTC
Please try the latest 7.5 beta - a fix went in recently to bug 148435, which appears to have resolved the switching issue as well.
Comment 7 Bill 2022-12-14 17:55:09 UTC
(In reply to Alex Thurgood from comment #6)
> Please try the latest 7.5 beta - a fix went in recently to bug 148435, which
> appears to have resolved the switching issue as well.

I managed to find LibreOfficeDev 7.5.0.0.alpha1, 2022-Nov-29. Opening two documents and switching between them using Cmd+` does not crash.
Comment 8 Alex Thurgood 2022-12-14 21:57:01 UTC

*** This bug has been marked as a duplicate of bug 148435 ***