[LyX/master] Add "full" drawing strategy
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Tue Jun 11 16:06:28 UTC 2024
Le 11/06/2024 à 17:44, Richard Kimberly Heck a écrit :
> On 6/11/24 09:36, Jean-Marc Lasgouttes wrote:
>> The point is to offer a mode where the screen is redrawn fully every
>> time (only the drawing, not the metrics computation). The performance
>> seems quite reasonable to me, actually.
>
> I assume it is otherwise safe?
This is what I assume too :) All it does is to add the Update::ForceDraw
flag to force a full redraw. So it goes through known drawing mechanisms
to do its thing.
>> Having a proper UI for it would be great, but I am procrastinating on
>> that.
>
> What's our policy on preference updates? (I can't remember.) Do we care
> if a preference file saved with 2.4.1 cannot be used with 2.4.0?
This is a good question. As it is, it will fall back to the default
value ("partial" if supported, "backingstore" otherwise) if it does not
understand the value that was given (I just checked). The only harm is a
warning on the console.
JMarc
More information about the lyx-devel
mailing list