Vincent van Ravesteijn - TNW wrote:
Author: vfr
Date: Wed Jan 13 21:25:17 2010
New Revision: 33015
URL: http://www.lyx.org/trac/changeset/33015
Log:
Fix (partly?) bug #6451: Crash when interacting with
buffer-dependent dialog with no buffer open.
It seems to be a good idea to close all buffer-dependent
dialogs when there are no more buffers open.
This is not a good idea. buffer-dependent dialogs should
be disabled when there is no opened buffer.
Agreed, I was intending to restore the old behaviour.
This makes me think of the oddity that you can't open the outline
without a document etc.
And the problem with the connected insets and stuff..
Time to fix all this in once ?
That would be very nice indeed and I'd be very happy that you tackle
that. This will add a lot of polish to the dialogs.
Changing that is quite easy but boring... Basically this means switching
to the new DialogView base class. I made a proof of concept with the
InsetInfo dialog. This dialog doesn't need to be connected to the inset;
instead it will automatically adjust with the cursor position. This is
just to demonstrate that the old GuiDialog class design is broken.
Abdel.