[Konsole-devel] closing konsole sessions (was Re: A patch, a patch.. here is a patch.)

Waldo Bastian bastian at kde.org
Sat Jul 6 20:57:03 UTC 2002


On Saturday 06 July 2002 12:55 pm, Lubos Lunak wrote:
> On Saturday 29 June 2002 02:34, Waldo Bastian wrote:
> > This should solve many of the problems with konsole not properly exiting.
> >
> > Cheers,
> > Waldo
>
>  I've found a problem with the patch now. Killing the (konsole) sessions in
> queryClose() makes Konsole quit, and it shouldn't do so (saving data during
> (KDE) session shutdown shouldn't do anything like that). It mainly showed
> when during KDE startup Konsole windows weren't placed correctly (because
> it quit before KWin saved the state).

Right, that's indeed not good. Your patch looks good.

>  There's still one problem - QMainWindow instances aren't deleted if the
> window is not closed (WDestructive close doesn't do anything if just
> kapp->quit() is called). 

When does that happen? Can't we just delete all remaining mainwindows in 
main() then?

Cheers,
Waldo
-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com




More information about the konsole-devel mailing list