Subject: bug#42406: Mouse-wheel scrolling can be flickering

From: Konrad Podczeck <[email-masked]>
Date: Tue, 15 Dec 2020 20:31:19 +0100

Performance does not degrade when only the two calls of wset_update_mode_line you mentioned are commented out. However, with just commenting out these two instances, I still have a scroll performance problem when scrolling by using the scroll-bars. Could you also identify the instance concerning this?

Thanks, Konrad

> Am 15.12.2020 um 16:20 schrieb martin rudalics <[email-masked]>:
> 
> > Just to clarify, despite of the title of this bug, it is not a
> > flickering, but the mouse-wheel scrolling preformance decreases with
> > the number of open frames, in the sense that it becomes more and more
> > sticky.
> 
> In that case we should consider implementing a variable that updates the
> mode lines on one specific frame only.  Does performance not degrade when
> you comment out _only_ the two instances of 'wset_update_mode_line' in
> 'window_scroll_pixel_based'?
> 
> martin