From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs 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 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000038af1605b36356d2" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20265"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 20016@debbugs.gnu.org To: Marcin Kasperski Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 05 23:09:17 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kanRV-00057V-4k for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Nov 2020 23:09:17 +0100 Original-Received: from localhost ([::1]:41904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kanRT-0003uB-Pu for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Nov 2020 17:09:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kanRG-0003tr-2B for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2020 17:09:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kanRF-0002lC-Ps for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2020 17:09:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kanRF-0001fJ-Jl for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2020 17:09:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Nov 2020 22:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20016 X-GNU-PR-Package: emacs Original-Received: via spool by 20016-submit@debbugs.gnu.org id=B20016.16046141216376 (code B ref 20016); Thu, 05 Nov 2020 22:09:01 +0000 Original-Received: (at 20016) by debbugs.gnu.org; 5 Nov 2020 22:08:41 +0000 Original-Received: from localhost ([127.0.0.1]:54377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kanQv-0001eg-9l for submit@debbugs.gnu.org; Thu, 05 Nov 2020 17:08:41 -0500 Original-Received: from mail-wr1-f54.google.com ([209.85.221.54]:43835) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kanQs-0001eN-UF for 20016@debbugs.gnu.org; Thu, 05 Nov 2020 17:08:39 -0500 Original-Received: by mail-wr1-f54.google.com with SMTP id g12so3494574wrp.10 for <20016@debbugs.gnu.org>; Thu, 05 Nov 2020 14:08:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=YUSgvR9NUYzaGz35t3WBmhN+dbR9e+mktbPdnpYQLwU=; b=XXoOgc9eJmHJFQqxSsWyKvX15Bz2cA8z0CMZ+fq2ITVbED1A64j+2xGdYwmpK/DogT Y6ypSdwE6Xx40/evcsicOEU6vqqevUqUAJbbyjxZndzUsTN9Php/pwvejwy1mcP3R0cI Rnq7jlyNGsvHmB+NEEEkqEZNW9GuzxArc4ooDjtF6JjIMVv5IFRGzgN7v/XF8aIqRSWR utXJNlH0FuchERYSldIEN5HaloBpB4Lqqe+5K0ZghIAk8ZycLll2hMOE98u8TeVk0AYu VzDBFvLLiDBsT/M03OXAdYjAVQBLCF5lPGoEk9gH0AlrmhsMfWyG8WaFQlI8KpD9WNrq DhRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=YUSgvR9NUYzaGz35t3WBmhN+dbR9e+mktbPdnpYQLwU=; b=KBxZe0ny/lrZKI4ekEDu+L70teQOPGBYZ4yEH2TOCec5A0Q7wiroQi9Ih1MYuxnEx1 tSkSiZe4JmLkGusVuuojwxAAXOgVJ79ciCFiF+XgEkciw5I7qESYMUo/U18etdv3oo2G lCCZ8kMVMxv3wdfuK+KMsvYpuLcBUWgzRkyINZ4sqwLr91qZDESUaWUcFWkz8zecU+sq 198pwV9e2zVxP6YZNEALkAoginpesfDyHXYnLPzMGwkLWsmUdn3kigGcMhPwSa0mO1eQ gRVjXrWo0zMCtaRVj+9+JKZPIW+Yq9Xe5B+jju1Q7JKsUZwLvPWwSf9gQT37bbrQg6Fs Zjbg== X-Gm-Message-State: AOAM530wLzoHxa41OUGhs2vDix8SfA8U/6ekGibtyiQAak60VA2o9mZ+ 4UPlghEFZspQ6PsqoUykIswroTz/5LHdA/rMzyY= X-Google-Smtp-Source: ABdhPJwPQtik/O29apJ1clQtd8hKrQexAw2yMqx20Yo5uHmjxHrxYBWGGF8nWsaJMjYO/iEfIaOfNoBu4hs7OeZOOx0= X-Received: by 2002:a5d:4991:: with SMTP id r17mr5265620wrq.70.1604614113241; Thu, 05 Nov 2020 14:08:33 -0800 (PST) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192760 Archived-At: --00000000000038af1605b36356d2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable merge 22466 20016 quit Marcin Kasperski 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 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > > 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) =E2=86=92 lasted longer an= d > 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. --00000000000038af1605b36356d2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
merge 22466 20016
quit


Marcin Kasperski <= Marcin.Kasperski@mekk.waw.p= l> writes:

> I am looking for a way to switch[1] between t= wo themes gently [2],
> without unpleasant effect of window becoming = white for a short moment
> (what means unpleasant white flash).
&g= t;
> Reproducting the problem
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> =C2=A0 a) (to= have clear start) Load any two dark themes and apply one of
> =C2=A0= =C2=A0 =C2=A0them.=C2=A0 For example, eval the following:
>
> = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (load-theme 'twilight 't 't)=
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (load-theme 'molokai 't= 't)
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (enable-theme 'twil= ight)
>
> =C2=A0 =C2=A0 =C2=A0(feel free to replace twilight an= d molokai with any other dark
> =C2=A0 =C2=A0 =C2=A0 themes)
><= br>> =C2=A0 b) eval the following
>
> =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 (disable-theme 'twilight)
> =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 (enable-theme 'molokai)
>
> =C2=A0 =C2=A0 =C2= =A0Emacs will drop twilight, *flash with white*, and only then apply
>= ; =C2=A0 =C2=A0 =C2=A0molokai.
>
> =C2=A0 c) the other way arou= nd is similar, eval
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (ena= ble-theme 'twilight)
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (disabl= e-theme 'molokai)
>
> =C2=A0 =C2=A0 =C2=A0The flash is stil= l there, and happens during disable-theme.
>
> =C2=A0 =C2=A0 = =C2=A0{ In Emacs 24.3 case c) was worse than b) =E2=86=92 lasted longer and=
> =C2=A0 =C2=A0 =C2=A0 =C2=A0sometimes caused 2-3 flashes. In 24.4 b= oth cases are similar. }

Although I didn't test with those exact= themes because I don't have
them, the description of the problem se= ems to be like the one in
Bug#22466, so I'm merging the bugs.
--00000000000038af1605b36356d2--