> 2025/12/18 19:35、José Matos <[email protected]>のメール:
>
> I can still get a crash in that case.
> I have applied your patch because, as you can see, the problem occurs in line
> 134 and not on 132 as before.
>
> I think that this happened before but only now I understood, I was aware of
> the
> process, what I was doing when the assertion occurred.
>
> In almost all cases this is the use case:
>
> * the screen is split in two (left and right halves);
> * I create an itemized list on the right, but I do not type there, the
> paragraph
> is empty;
> * I go to the left part and copy some text from there;
> * I change the cursor to the empty paragraph in the right part and paste the
> text in there;
> * kaboom :-)
>
> This does not occur always but it is frequent enough for me to recall the
> previous experience. :-)
It sounds like a problem in Cursor::getFont(). Cursor::pos() goes out of range
either to negative direction or beyond the length of the paragraph.
Is it possible to give us an example file that can reproduce the phenomenon?
The problem occurs when the focus is in the outline pane or it goes around
different views, whose cursor position needs to be pinned down.
Koji
--
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel