[RFC] Make scrolling-by-selection smoother

Jean-Marc Lasgouttes lasgouttes at lyx.org
Sat Jul 20 19:22:02 UTC 2024


Hello,

I find that the small patch below makes scrolling by setting mouse at 
the bottom of the screen much smoother. The question is whether the 
performance is good enough on slower systems. I guess there is a way to 
measure that drawing requires more time than the inter-event duration, 
but I am not sure how.

So, especially if you have a slow-ish computer, please test.

JMarc

PS: the profiler tells me that more than 10% of this time is lost 
updating macros over and over. I'll take a look at that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-WIP-make-scrolling-smoother.patch
Type: text/x-patch
Size: 913 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240720/b99995be/attachment.bin>


More information about the lyx-devel mailing list