Enrico Forestieri wrote: > On Thu, Nov 30, 2006 at 01:05:09AM +0100, Peter Kümmel wrote: >> Enrico Forestieri wrote: >>> On Thu, Nov 30, 2006 at 12:21:41AM +0100, Enrico Forestieri wrote: >>>> On Wed, Nov 29, 2006 at 04:56:48PM +0100, Peter Kümmel wrote: >>>>> Bennett Helm wrote: >>>> [...] >>>>>> I'm trying again with current svn, but session isn't working for me: >>>>>> everything below [session info] in the session file has been deleted, >>>>>> and nothing I do brings it back -- including deleting the session file >>>>>> and having it regenerated. >>>>>> >>>>>> This may be related to two other problems I'm having that have recently >>>>>> cropped up: >>>>> Yes, I think the crash prevents the correct creation of 'session'. >>>> No, I don't think so. I see this on linux, solaris and cygwin, too. >>>> Everything below [session info] is missing. >>>> >>>> Seemingly, GuiView::closeEvent() isn't called. I don't know why, though. >>> More precisely, it isn't called when quitting through File->Exit. >>> >> Maybe this function misses something: >> >> void GuiView::close() >> { >> QMainWindow::close(); >> } > > Other than that, it seems to be never called... >
The close event in GuiView calls saveGeometry() then unregisterView() which then throws a LFUN_LYX_QUIT, but 'Exit' over menu only throws a LFUN_LYX_QUIT. But this is enough for tonight. Peter