all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aaron Jensen <aaronjensen@gmail.com>
To: Alan Third <alan@idiocy.org>,
	Aaron Jensen <aaronjensen@gmail.com>,
	46155@debbugs.gnu.org
Subject: bug#46155: 28.0.50; Regression: buffer contents flicker on macOS frames when
Date: Sun, 31 Jan 2021 16:05:53 -0600	[thread overview]
Message-ID: <CAHyO48yv9i10x4aVzF+WEasCoWQw1tVmVRa5+JUBDWRAXfv90A@mail.gmail.com> (raw)
In-Reply-To: <YBcS5atJcCP8rz65@breton.holly.idiocy.org>

On Sun, Jan 31, 2021 at 2:28 PM Alan Third <alan@idiocy.org> wrote:
>
> 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.

Awesome, it works for me. It also fixes an issue I've had when
launching Emacs and resizing it and it remaining blank for an extended
period of time (probably while it's busy, but it's still rather
unsightly)

I'll give it a shot for a while and report back.





  reply	other threads:[~2021-01-31 22:05 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-28 15:48 bug#46155: 28.0.50; Regression: buffer contents flicker on macOS frames when Aaron Jensen
2021-01-28 16:39 ` Alan Third
2021-01-31 20:28   ` Alan Third
2021-01-31 22:05     ` Aaron Jensen [this message]
2021-02-08 15:25       ` Aaron Jensen
2021-02-08 21:45         ` Aaron Jensen
2021-02-09  7:58           ` martin rudalics
2021-02-09  9:55             ` Andrii Kolomoiets
2021-02-09 10:49               ` martin rudalics
2021-02-09 11:04                 ` martin rudalics
2021-02-09 11:30                   ` Andrii Kolomoiets
2021-02-09 17:31                     ` martin rudalics
2021-02-09 11:05                 ` Alan Third
2021-02-09 14:44                   ` Alan Third
2021-02-09 16:29                     ` Andrii Kolomoiets
2021-02-09 20:08                       ` Alan Third
2021-02-10  1:11                         ` Aaron Jensen
2021-02-11 22:16           ` bug#46155: [PATCH v2] Fix flicker when resizing NS frame programmatically (bug#46155) Alan Third
2021-02-12  4:06             ` Aaron Jensen
2021-02-13 22:44               ` Alan Third
2021-02-13 22:45                 ` Aaron Jensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHyO48yv9i10x4aVzF+WEasCoWQw1tVmVRa5+JUBDWRAXfv90A@mail.gmail.com \
    --to=aaronjensen@gmail.com \
    --cc=46155@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.