bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46155: 28.0.50; Regression: buffer contents flicker on macOS frames


From: Alan Third
Subject: bug#46155: 28.0.50; Regression: buffer contents flicker on macOS frames when
Date: Sun, 31 Jan 2021 20:28:21 +0000

On Thu, Jan 28, 2021 at 04:39:49PM +0000, Alan Third wrote:
> On Thu, Jan 28, 2021 at 09:48:25AM -0600, Aaron Jensen wrote:
> > From emacs -Q:
> > 
> > (dotimes (n 10)
> >   (set-frame-parameter nil 'width (+ 80 n))
> >   (sit-for 0.1))
> > 
> > This was previously fixed in bug#30699
> > 
> > I don't know if it was reverted at some point and I didn't notice, or it
> > was started flickering again after Alan's recent (fantastic) performance
> > improvements.
> > 
> > This reproduces on master (non-native-comp) as of ac102bb966 as well.
> 
> Apple deprecated the functions we were using to block screen drawing.
> 
> It's possible we can have a neater work-around now since we're drawing
> to an offscreen buffer and therefore have greater control over what's
> displayed. I'll have to look into it again.

Well... I tried something ridiculous and it appears to work...

I suspect forcing redisplay this way within the NS run loop is bad
form, but it appears to work.
-- 
Alan Third

Attachment: 0001-Fix-flicker-when-resizing-NS-frame-programmatically-.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]