Session restore not working in 2.5.1?
Pavel Sanda
sanda at lyx.org
Mon Jun 22 21:23:28 UTC 2026
On Sat, Jun 20, 2026 at 12:14:47PM +0000, ??????????????? wrote:
> > 2026/06/03 18:37???Pavel Sanda <sanda at lyx.org>????????????:
> >
> > 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.
>
> Hi Pavel,
>
> This is not a proof by nature, but as far as I have tested the patch for various type of files for a week, it showed no problems.
Thanks for testin Koji. I pushed this master as be0260ba78ec5.
Riki, this should IMHO go into 2.5.2.
Pavel
More information about the lyx-devel
mailing list