Le 07/01/2026 à 20:29, Richard Kimberly Heck a écrit :
Open the attached file. Make sure the cursor is at the start. Now do:
Navigate> Next Note. Boom! The key seems to be that there is a note in a
branch, which is inside a closed footnote. If the footnote is open, the
crash does not occur. (The branch itself is open inside the closed
footnote. Not sure if that matters.) I take it the problem is that the
metrics for the inset where the note is haven't been calculated, so it's
not in the dimension cache.
This is fixed in master now. For 2.5.x, I can either:
1/ backport the patch
or
2/ replace the code
if (!tm.contains(bot_pit))
tm.redoParagraph(bot_pit);
with an unconditional
tm.redoParagraph(bot_pit);
as it was in 2.4.x.
Solution 2/ removes an optimization (visible with big bad files or slow
machines), but I could do the backport later when we are convinced that
it is enough.
What is reasonably sure is that the new code is better than the old one.
JMarc
--
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel