GNU bug report logs - #77039
31.0.50; Flickering on macOS

Previous Next

Package: emacs;

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

Date: Sat, 15 Mar 2025 16:43:01 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.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: gerd.moellmann <at> gmail.com, alan <at> idiocy.org, 77039 <at> debbugs.gnu.org
Subject: bug#77039: 31.0.50; Flickering on macOS
Date: Sun, 23 Mar 2025 16:03:17 +0000
[Message part 1 (text/plain, inline)]
On Sun, Mar 23, 2025 at 3:37 AM, Eli Zaretskii < eliz <at> gnu.org > wrote:

> 
> 
>> 
>> 
>> Cc: gerd. moellmann@ gmail. com ( gerd.moellmann <at> gmail.com ) , alan@ idiocy.
>> org ( alan <at> idiocy.org ) , 77039@ debbugs. gnu. org ( 77039 <at> debbugs.gnu.org
>> ) Date: Sun , 23 Mar 2025 12:13:10 +0200
>> From: Eli Zaretskii < eliz@ gnu. org ( eliz <at> gnu.org ) >
>> 
>> 
>> 
>> So in summary, I don't see anything abnormal here. If we want to keep the
>> only-current-line-changed optimization in redisplay_internal, someone will
>> have to come up with a smarter test for when line numbers are shown. I
>> think the underlying problem is that when the line number of the current
>> line becomes large enough to require more columns for line-number display,
>> we must redraw the entire window to avoid the problem with shifting or
>> line number described in https:/ / debbugs. gnu. org/ cgi/ bugreport. cgi?bug=54091#5
>> ( https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54091#5 ).
>> 
>> 
>> 
> 
> 
> 
> To clarify: this should not cause any flickering, AFAIU, because the
> comparison of glyphs in subroutines of update_frame is supposed to find
> that everything on the glass is already up-to-date and there's no need to
> draw anything. So flickering, which happens because portions of the window
> are actually redrawn on the glass, should not happen in this case.
> 
> 
> 
> 

Right, I don't observe any flickering. Am I correct that it is only comparing the glyphs on the current line? If so, that doesn't seem like a huge problem, even though it is (in most cases?) technically extra work.

Aaron
[Message part 2 (text/html, inline)]

This bug report was last modified 114 days ago.

Previous Next


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