Bug 31915 - Modal dialogs aren't on OS X and multiple copies can be opened simultaneously or menu entries activated
Summary: Modal dialogs aren't on OS X and multiple copies can be opened simultaneously...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: Other macOS (All)
: medium major
Assignee: Not Assigned
: 68230 120298 120330 (view as bug list)
Depends on:
Blocks: macOS-UI-polish Dialog 98842
  Show dependency treegraph
Reported: 2010-11-25 03:43 UTC by Laurent Godard
Modified: 2022-09-05 13:00 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:

click the button to initiate a modal dialog (9.43 KB, application/vnd.oasis.opendocument.spreadsheet)
2010-11-25 03:43 UTC, Laurent Godard

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Godard 2010-11-25 03:43:11 UTC
Created attachment 40569 [details]
click the button to initiate a modal dialog

if a modal dialog is active, the menus remains active, leading to potential inconsistency

the activre window and toolbar is not active but the main menu remain active as they are detached to the top level classic Mac Os menu bar

the menus remain fully fonctional

a modal dialog should not allow to play with the menus

works correctly for windows and linux
Comment 1 Yifan Jiang 2010-11-26 02:41:06 UTC
Look like a OSX specific problem. I didn't see the problem on SLED11 and Windows.
Comment 2 Rainer Bielefeld Retired 2012-07-14 07:08:53 UTC Comment hidden (off-topic)
Comment 3 Laurent Godard 2012-07-16 07:09:47 UTC
reproduced on LibrO 3.5.4
IIRC, the problem was the same on OOo
Comment 4 Roman Eisele 2012-08-16 10:19:41 UTC
Yes, this is a MacOS X-specific issue. It is REPRODUCIBLE on MacOS X 10.6.8 (Intel) with
* LibreOffice 3.3.0 release
* LibreOffice 3.4.0 release
* LibreOffice (Build-ID: 7122e39-92ed229-498d286-15e43b4-d70da21)
* LibreOffice (Build ID: 932b512)
and also with
* Apache OpenOffice 3.4.0 (AOO340m1, build 9590, rev. 1327774);
therefore an old issue, probably inherited from OOo 3.x.

There are countless ways to reproduce this issue; a particularily easy one:
1) open a new Writer document
2) type some characters (optional)
3) select Format > Paragraph
4) Notice that still all menu items are active; so you can
5) select Format > Character:
now *two* modal dialogs are visible at the same time, stacked on top
to each other.

Really bad user experience ;-)

Background: maybe modal dialogs are not really modal in LibO, but are handled like non-modal dialog windows?
Comment 5 bfoman (inactive) 2013-07-25 07:07:57 UTC
This bug has not been touched by its Assignee for a long time. To make it clearer which bugs should be fixed by someone else please take following action:
- If you are the Assignee, and you are actively working on the bug, please give it an update. 
- If you are the Assignee, and you do not plan to work on it in the near future,
please reassign it to the default assignee.
Comment 6 Don't use this account, use tml@iki.fi 2013-08-06 07:11:20 UTC
Apparently the code makes no attempt to use application-modal dialogs on OS X, except for in the file picker. At least not using the normal Cocoa API for that as I could see no use of runModalForWindow, runModalSession, beginModalSessionForWindow or beginSheet. I wonder if this was ever on the radar of those doing the Mac OS X port. Or is it so that it is just a coincidence that the dialogs mentioned here are application-modal on Linux, is the intent from LO's point of view that they don't need to be?
Comment 7 How can I remove my account? 2013-08-26 07:34:58 UTC
*** Bug 68230 has been marked as a duplicate of this bug. ***
Comment 8 QA Administrators 2014-10-23 17:31:45 UTC Comment hidden (obsolete)
Comment 9 retired 2014-10-24 20:41:37 UTC
Persisting with Version:
Build ID: 7d55112667c8fcddb67bc3803796b46c93aa56b0

Comment 10 Alex Thurgood 2015-04-07 13:05:40 UTC
FWIW - Still there in LibreOffice 4422
OSX 10.10.2

and it was already the case with OOo 3.2.1
Comment 11 tommy27 2016-04-16 07:26:04 UTC Comment hidden (obsolete)
Comment 12 Christopher Alexander Chavez 2016-08-30 17:48:03 UTC
(In reply to tommy27 from comment #11)

Reproduced using on OS X 10.11.6. This seems to be a common issue with many programs, but I don't know if someone's already described a workaround for this.
Comment 13 QA Administrators 2017-09-01 11:15:13 UTC Comment hidden (obsolete)
Comment 14 eisa01 2017-09-01 20:28:13 UTC
Still present

Build ID: 2b78b9feab9521e614b9edae17709cb6e2001292
CPU threads: 2; OS: Mac OS X 10.12.6; UI render: default; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2017-08-25_05:47:15
Locale: en-US (en_US.UTF-8); Calc: group
Comment 15 QA Administrators 2018-09-19 02:52:01 UTC Comment hidden (obsolete)
Comment 16 Christopher Alexander Chavez 2018-09-19 05:38:16 UTC
Build ID: 5d19a1bfa650b796764388cd8b33a5af1f5baa1b
CPU threads: 4; OS: Mac OS X 10.13.6; UI render: default; 
Locale: en-US (en_US.UTF-8); Calc: group threaded

Still present. I'm under the impression this is the same bug responsible for being able to open multiple "About LibreOffice" or Preferences dialogs.
Comment 17 Alex Thurgood 2018-10-04 06:53:09 UTC
*** Bug 120298 has been marked as a duplicate of this bug. ***
Comment 18 Alex Thurgood 2018-10-05 10:17:39 UTC
*** Bug 120330 has been marked as a duplicate of this bug. ***
Comment 19 QA Administrators 2019-10-06 03:18:27 UTC Comment hidden (obsolete)
Comment 20 eisa01 2019-11-02 15:42:41 UTC
This is still present

Build ID: 80109586e6cb6d3e2e0a53a9079c3125ec9b8368
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 21 QA Administrators 2022-05-22 03:42:57 UTC Comment hidden (obsolete)
Comment 22 Christopher Alexander Chavez 2022-06-21 16:46:16 UTC
Was still present in (I haven’t yet tried anything newer):

Version: / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 2; OS: Mac OS X 10.15.7; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded