Crash while searching (and displaying table?) in master
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Mon May 19 14:28:52 UTC 2025
Le 16/05/2025 à 21:11, Pavel Sanda a écrit :
> On Wed, May 14, 2025 at 11:52:24AM +0200, Jean-Marc Lasgouttes wrote:
>> I can reproduce this issue. Does the patch here work for you?
>
> I can confirm that your patch fixes the crash here.
>
>> I am actually frustrated because I do not really understand why the situation
>> happens.
I pushed the part of the patch that concerns tabular insets. The rest
needs more work.
> Don't know if it's related, but with your fix, the second time I hit Find button
> the crash is not there anymore, but the Idx inset uncollapses with broken
> geometry -- the line gets broken. That might cause subsequent problems?
In particular, the use of ShowCursor() (which does less redrawing) was
an issue. I fixed the issue at the right place in InsetCollapsible in a
second patch. Without it, consecutive uses of word-find would open the
inset but not close it on exit.
JMarc
More information about the lyx-devel
mailing list