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

From: Andrii Kolomoiets <[email-masked]>
Date: Tue, 09 Feb 2021 13:30:52 +0200

martin rudalics <[email-masked]> writes:

>>  >      (defun test/resize (frame)
>>  >        (modify-frame-parameters
>>  >         frame `((width . ,(+ 80 (random 20))))))
>>  >
>>  > After each letter typed, the minibuffer-only frame is resized several
>>  > times.  The text is not visible during resize.
>>
>> Can you try with a function that explicitly keeps the height constant -
>> i.e., calls 'fit-frame-to-buffer' with ONLY set to 'horizontally'.
>
> But I see that 'test/resize' does that already.  Is that function called
> more than once each time you type a letter?

Yes.  Almost each time I type or delete a letter.  Same on recent master
version under X (Gnome).  After typing C-g that function is called even
more times.