On Tue, Jun 23, 2026 at 10:59:11AM -0400, Richard Kimberly Heck wrote: > > > > > > 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. > > OK!
Backported in 6b33482ce0. The session history is back in branch :) Pavel -- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel
