Le 18/12/2024 à 17:07, Pavel Sanda a écrit :
Could you also confirm whether this is branch-only ? This would be
surprising and point to a missing update somewhere, requiring a different
approach.
It's difficult to make some reliable statement for both questions.
I'll try to come up with something in the next days. Currently I am strugling
to reproduce even on branch with different machine but the same document...
This looks indeed tricky. What the backtrace says is that the cursor is
in a paragraph for which metrics are not known (is it out of screen? I
do not know). Therefore, when one tries to save the screen position of
this cursor, there is a crash because it is not possible to do this
computation.
The patch I sent just skips the saving of screen position, which may
admittedly lead to other issues. Another way to solve this would be to
understand why the cursor's paragraph does not have metrics (usually
only visible paragraphs have that).
Note that this is not a crash, but an assertion: this will not happen on
distributed binaries.
JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel