On Sat, Nov 29, 2025 at 04:20:55PM +0100, Jean-Marc Lasgouttes wrote:

> The other question is: why does one more call to updateBuffer create such a 
> problem? Many other actions trigger it.

The other slowness case I mentioned is also due to updateBuffer(): just
clicking inside and outside of the note with MergedManuals_times10.lyx.

Specifically, it is due to this code inside BufferView::mouseEventDispatch():

        if (cur.needBufferUpdate() || buffer().needUpdate()) {
                cur.clearBufferUpdate();
                buffer().updateBuffer();
        }

If I comment out that code, the mouse clicks are very responsive.

Scott

Attachment: signature.asc
Description: PGP signature

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to