2.4 Crash (was: Updated LaTeXConfig.lyx (bxjsclasses added))

Jean-Marc Lasgouttes lasgouttes at lyx.org
Tue Feb 7 10:06:10 UTC 2023


Le 06/02/2023 à 22:46, Pavel Sanda a écrit :
> Yes. When I load the file the insetinfo shows its information.
> After fraction of second editor/toolbar somewhat blinks (that's normal,
> I think its when previews are initially loaded/shown into the document
> view).
> At this moment it used to crash. Now it does not, but the content
> of insetinfo disappears. I need to move with the mouse over the window
> to have the inset displayed again (no biggie compared to crash).

The alternative to what I did would be to count "dirty" insets at global 
level and only draw when count is zero. However, it strikes me as 
fragile. We do not want to end up in a state where LyX does not display 
anything after some point, do we?

For the same reasons (not ready), we already skip display when view is 
marked busy or when there is an undo group open. This is not the case 
here, but it would make sense to add this condition.

Do you think it is worth the risk?

JMarc


More information about the lyx-devel mailing list