Download it now!
Bug 66813 - Tools / SQL dialog is modal
Summary: Tools / SQL dialog is modal
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Dialog
  Show dependency treegraph
Reported: 2013-07-11 09:51 UTC by Lionel Elie Mamane
Modified: 2019-06-10 13:35 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Lionel Elie Mamane 2013-07-11 09:51:18 UTC
The dialog opened by Tools/SQL has IMHO no good reason to be modal.

That dialog is implemented by dbaccess/source/ui/dlg/directsql.{src,cxx}.

I tried just replacing "ModalDialog" by "Dialog", but that makes a syntax error in directsql.src

@caolan: any hint?
Comment 1 Caolán McNamara 2013-07-11 10:20:06 UTC
Try "ModelessDialog" (and make that same change in the .cxx/,hxx for the baseclass of the dialog
Comment 2 Lionel Elie Mamane 2013-07-11 18:56:25 UTC
(In reply to comment #1)
> Try "ModelessDialog" (and make that same change in the .cxx/,hxx for the
> baseclass of the dialog

That compiles, but as soon as the Base window gets focus, the dialog window grabs focus, so in practice it is as-if it were modal.
Comment 3 Alex Thurgood 2015-01-03 17:41:16 UTC Comment hidden (no-value)
Comment 4 QA Administrators 2016-01-17 20:04:55 UTC Comment hidden (spam)
Comment 5 QA Administrators 2017-03-06 14:32:46 UTC Comment hidden (spam)