Bug 66813 - Tools / SQL dialog is modal
Summary: Tools / SQL dialog is modal
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Database (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-11 09:51 UTC by Lionel Elie Mamane
Modified: 2015-01-03 17:41 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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
Adding self to CC if not already on


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.