From: Mauro Aranda <maurooaranda@gmail.com>
To: Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
Cc: 20016@debbugs.gnu.org
Subject: bug#20016: 24.4; is there a way to avoid white flash while switching between themes
Date: Thu, 5 Nov 2020 19:08:21 -0300 [thread overview]
Message-ID: <CABczVwcHU5dCWF74YtpcKiszJTB0+JNCdzjTzMbiRMNVXUSB6w@mail.gmail.com> (raw)
In-Reply-To: <CAJQm8Rb8cqRS3dNj+xXN7PQs7mOm-_y+THQ1U5D3ffgJXgDWNA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1394 bytes --]
merge 22466 20016
quit
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl> writes:
> I am looking for a way to switch[1] between two themes gently [2],
> without unpleasant effect of window becoming white for a short moment
> (what means unpleasant white flash).
>
> Reproducting the problem
> =========================
>
> a) (to have clear start) Load any two dark themes and apply one of
> them. For example, eval the following:
>
> (load-theme 'twilight 't 't)
> (load-theme 'molokai 't 't)
> (enable-theme 'twilight)
>
> (feel free to replace twilight and molokai with any other dark
> themes)
>
> b) eval the following
>
> (disable-theme 'twilight)
> (enable-theme 'molokai)
>
> Emacs will drop twilight, *flash with white*, and only then apply
> molokai.
>
> c) the other way around is similar, eval
>
> (enable-theme 'twilight)
> (disable-theme 'molokai)
>
> The flash is still there, and happens during disable-theme.
>
> { In Emacs 24.3 case c) was worse than b) → lasted longer and
> sometimes caused 2-3 flashes. In 24.4 both cases are similar. }
Although I didn't test with those exact themes because I don't have
them, the description of the problem seems to be like the one in
Bug#22466, so I'm merging the bugs.
[-- Attachment #2: Type: text/html, Size: 1779 bytes --]
prev parent reply other threads:[~2020-11-05 22:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-06 15:07 bug#20016: 24.4; is there a way to avoid white flash while switching between themes Marcin Kasperski
2020-11-05 22:08 ` Mauro Aranda [this message]
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=CABczVwcHU5dCWF74YtpcKiszJTB0+JNCdzjTzMbiRMNVXUSB6w@mail.gmail.com \
--to=maurooaranda@gmail.com \
--cc=20016@debbugs.gnu.org \
--cc=Marcin.Kasperski@mekk.waw.pl \
/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.