GNU bug report logs - #64846
Emacs 29 RC on Windows: White background color flashes on startup, before background color from config takes effect on Windows

Previous Next

Package: emacs;

Reported by: Yanchi Tóth <yanchi.toth <at> gmail.com>

Date: Tue, 25 Jul 2023 10:21:01 UTC

Severity: normal

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Yanchi Tóth <yanchi.toth <at> gmail.com>
Cc: 64846 <at> debbugs.gnu.org
Subject: Re: bug#64846: Emacs 29 RC on Windows: White background color flashes
 on startup,
 before background color from config takes effect on Windows
Date: Wed, 26 Jul 2023 14:20:44 +0300
> From: Yanchi Tóth <yanchi.toth <at> gmail.com>
> Date: Wed, 26 Jul 2023 10:32:54 +0200
> Cc: 64846 <at> debbugs.gnu.org
> 
> Hmmm. I tried adding the early init file with what you suggest, but the situation stays the same

The other possibility is to set the background and foreground colors
in the X resources.  On Windows, you can put these "X resources" in
the Registry, and Emacs will follow them.  See the node "X Resources"
in the Emacs user manual for the details.

> Note that if I make the frame larger at startup, the bright rectangle stays pretty much the same size,
> which hints at this being related to repainting dirty areas? Maybe when Windows sends the first
> WM_ERASEBKGND,
> the frame background color is not set yet, so Emacs repaints with white?

Maybe.  I don't know enough about the low-level details of the Emacs
display on Windows to tell.

> I don't think this is a release blocker, and I could investigate this later myself, if it would help.

It definitely won't block the release of Emacs 29.1.




This bug report was last modified 1 year and 331 days ago.

Previous Next


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