On 1/9/26 11:44 AM, Jean-Marc Lasgouttes wrote:
Le 08/01/2026 à 21:26, Richard Kimberly Heck a écrit :
On 1/8/26 1:45 PM, Jean-Marc Lasgouttes wrote:
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.

Your call. I certainly do not know this code.

Hi there,

I ended up committing a safe removal of the broken optimization. I propose to backport what is currently in master to the first non urgent 2.5 version (2.5.1 or 2.5.2).

OK!

Riki


--
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to