GNU bug report logs - #30699
26.0.91; buffer contents flicker on macOS frames when frames are resized

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Sun, 4 Mar 2018 17:39:01 UTC

Severity: normal

Tags: fixed

Found in version 26.0.91

Fixed in version 27.1

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


Message #71 received at 30699 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 30699 <at> debbugs.gnu.org, aaronjensen <at> gmail.com
Subject: Re: bug#30699: 26.0.91; buffer contents flicker on macOS frames when
 frames are resized
Date: Sat, 10 Mar 2018 00:25:55 +0000
[Message part 1 (text/plain, inline)]
On Fri, Mar 09, 2018 at 11:24:15PM +0000, Alan Third wrote:
> The other solution I have is to use NSDisableScreenUpdates to prevent
> updates being flushed to the screen until after redisplay, but that
> completely breaks resizing with the mouse.

I just realised that this isn’t actually hard to get right.

Patch attached. I think this is a better solution than the last one.

Disabling screen updates just stops them being flushed to the screen,
when they’re enabled all the updates happen at once (including the
window manager’s frame resize). I guess it’s like drawing to an
off‐screen buffer then swapping.
-- 
Alan Third
[0001-Fix-frame-resize-flicker-on-macOS-bug-30699.patch (text/plain, attachment)]

This bug report was last modified 7 years and 114 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.