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


View this message in rfc822 format

From: Aaron Jensen <aaronjensen <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Alan Third <alan <at> idiocy.org>, 30699 <at> debbugs.gnu.org
Subject: bug#30699: 26.0.91; buffer contents flicker on macOS frames when frames are resized
Date: Mon, 5 Mar 2018 08:21:45 -0800
On Mon, Mar 5, 2018 at 8:01 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> Not really.  Setting the frame's garbaged flag causes a thorough
> redisplay on the next opportunity, so removing that could prevent
> redisplay in a variety of situations.

Ok, and because this removes the setting of the frame's garbage flag
from the `updateFrameSize` function and moves it to when it receives
the `windowWillResize` event,  I should only expect to see painting
issues after a frame's size is changed I would imagine.

Does anyone know if there are more ways to change a frame's size than
`set-frame-parameter`, a mouse drag or AppleScript?

> AFAIK, no.  Redrawing a garbaged frame involves clearing it and
> completely redrawing all of its windows, and that is what you perceive
> as flicker.

Thanks, I was thinking about double buffering--painting both the clear
and the next paint on the same buffer before swapping it in, but I'm
sure that's much more simplistic than what is actually happening.




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

Previous Next


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