Extension dialogs shouldn't default to modal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Undecided
|
John Smith |
Bug Description
Currently, extension dialogs that display a Live Preview checkbox default to non-modal. This means the main inkscape window can still be interacted with. When this checkbox is ticked, the dialog becomes modal, allowing the main window to update based on each change of the dialog parameters.
Extension dialogs that don't need to display the live preview checkbox though, are defaulting to modal. To make the extension non-modal, you just have to pretend that it can use a live preview checkbox (which would be a bad workaround).
My thoughts are:
a) It is more useful (certainly no less useful) to have non-modal extension dialogs, meaning you can go back and forth between the work and the dialog without opening and closing anything.
b) It is no risker to have these dialogs non-modal without the live preview checkbox than it is with the live preview checkbox. It makes no difference that I can detect. (Please correct me if I'm wrong).
I have written and attached a patch that implements this, please test it and give me feedback!
Thanks,
Craig
tags: |
added: extensions-plugins ui removed: extensions |
Changed in inkscape: | |
milestone: | none → 0.49 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
First notes (testing the patch with Inkscape 0.48+devel r9799 on OS X 10.5.8):
1) Do these concerns still apply (e.g. if an extension takes a long time to execute)? thread. gmane.org/ gmane.comp. graphics. inkscape. devel/21106/ focus=21340> thread. gmane.org/ gmane.comp. graphics. inkscape. devel/22081/ focus=22108>
<http://
<http://
2) Crash when toggling 'Live Preview' - after having had 'grid' properties pane opened once - still happens, backtrace slightly changed with your patch in. Not reproduced with modal dialogs that don't have a 'Live Preview' option, but needs checking imho (extensions, grid settings, undo history). /bugs.launchpad .net/inkscape/ +bug/237863>
<https:/
3) NEW: repeatable crash when importing bitmap while non-modal extension dialog is open (e.g. 'Replace Fonts…' or 'Close Curves…' (extension repository)). Does not happen in 0.48 when having an extension dialog in non-modal mode open ('Live Preview' toggled off, e.g. with 'Render > Gear…').