Re: Session restore not working in 2.5.1?
Pavel Sanda <[email protected]> Wed, 3 Jun 2026 11:37:00 +0200
| Newsgroups | gmane.editors.lyx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jun 03, 2026 at 11:17:06AM +0200, Jean-Marc Lasgouttes wrote: > Le 03/06/2026 ?? 10:47, Pavel Sanda a écrit : > > On Tue, May 12, 2026 at 06:15:56PM +0200, Pavel Sanda wrote: > > > The fix is straightforward: have the new LFUN_LYX_QUIT path call writeSession() (and probably preserve the closing_ / lastOpened().clear() semantics) before > > > tearing down work areas - e.g. call writeSession() on each view right before closeBufferAll(), or move the session-write logic into closeBufferAll() itself. > > > > The fix is not that straightforward and gets uncomfortably long if we want to > > preserve bunch of other stuff which we did before at the end of session before > > (save ui settings, fullscreen toggle, original order of buffer closings, etc.) > > Thanks for looking at that Pavel. I took a shot at a fix a couple weeks ago, I have hidden agenda here, as I want to push for 2.5.2 out, so that we have clean table for backports on my plate. This regression looks as must-fix. Pavel -- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel