2.4 Crash (was: Updated LaTeXConfig.lyx (bxjsclasses added))
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Tue Feb 7 13:27:38 UTC 2023
Le 07/02/2023 à 12:21, Pavel Sanda a écrit :
>> 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.
>
> I guess I would add this condition, but I really do not understand painting
> machinery...
I began to think about that, and I realize now that I need to keep this
information per-bv: for a document open in multiple views, recreating
the inset information breaks all the bufferviews, but computing the
metrics only fixes one bufferview.
This is going to be a bit more complex than anticipated, but not that ugly.
JMarc
More information about the lyx-devel
mailing list