From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andrea Cardaci Newsgroups: gmane.emacs.help Subject: Re: About "white flashes" when a new frame is created Date: Mon, 30 Jan 2017 12:53:51 +0000 Message-ID: References: <20170129161530421732934@bob.proulx.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1485781545 24730 195.159.176.226 (30 Jan 2017 13:05:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Jan 2017 13:05:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 30 14:05:39 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYBeK-0006Bk-Tg for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Jan 2017 14:05:37 +0100 Original-Received: from localhost ([::1]:60407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYBeQ-0001hn-CM for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Jan 2017 08:05:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYBTB-0001gN-PN for help-gnu-emacs@gnu.org; Mon, 30 Jan 2017 07:54:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYBTA-0002KW-PH for help-gnu-emacs@gnu.org; Mon, 30 Jan 2017 07:54:05 -0500 Original-Received: from mail-vk0-x22a.google.com ([2607:f8b0:400c:c05::22a]:33498) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cYBTA-0002KC-LG for help-gnu-emacs@gnu.org; Mon, 30 Jan 2017 07:54:04 -0500 Original-Received: by mail-vk0-x22a.google.com with SMTP id k127so214298858vke.0 for ; Mon, 30 Jan 2017 04:54:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=3uJWmFVqYYeudZOnmCIvWh96EL6WXGm23iJo607cO90=; b=mTlTuB7BEhiuQq+phYlsGY5Zj7JEPAEXmsz4rbFyEgaCvmygkMNgZFDVXVYxoSJYBC +ZjeN/gIBGAwR/GA8P2SJ/Q0OBT6E/efWh1CnmxNuL7bRrwnZNUMxmrI8hDf6fhPjxI6 +Om+rRveGjJrGKFgdCFyV5vl2ywB8CY5gNUbeDpDx4MoutVHRswH9XAbsM3O2ouyMXWc NYv3WCwEIyOegZvyN5WXo0uW9QPCmr7eDV8yzKygikUD78f7pLB9GVql1ETdSzDIfnT+ 0KP8EmW1TZgy15Rcv5+FIOsCQDZgsRq4ZP9E4lJBEIE+rSbzkc2yki2yCbQ1LGwBu3xc 36LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=3uJWmFVqYYeudZOnmCIvWh96EL6WXGm23iJo607cO90=; b=HmVWFs7xYAWi4WyaSqH70o695x/M8nw/w5SqY6pRRLMx5q0nA1ei3YcWNEoXTynNDu qsVsZlUfXUWI7L/txlMWMSYpKMXopz6dZTK4GgP/yHXziPKgXyd83RIJ8MWOJ3L8YjEe OPonOyBnaOQBKLINDJWmrjIDb67UWRBDxclSFPXPfeSEYg2pSjJ5G3K0zHHLfNTHvGcO XenL2JzzVri7EfdzP9VG7w2tDRsGLXDh6IRzkwVYzif1YdSh9mCZMQJtLAVVAsGau0mB Vk6btAY1BDXGjY9IGR7Mwf6LpipR1ib+2dSOZoQZqfr6hEGqS9u+JjjH1DVMWd6su0X4 A3LQ== X-Gm-Message-State: AIkVDXLxaXTGqK3OXiSABc5hiVJ5rp8dggfikQ/jPFSuzErP+n+TGEn4FkFNDpN0npZ6b+95a/cY3VOJgSAJoA== X-Received: by 10.31.114.133 with SMTP id n127mr10232849vkc.129.1485780842480; Mon, 30 Jan 2017 04:54:02 -0800 (PST) In-Reply-To: <20170129161530421732934@bob.proulx.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::22a X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112203 Archived-At: Hi Bob, thanks, you pointed me into the right direction. It turned out that this is a GTK "issue" and it does not happen with the Lucid toolkit. Moreover I figured out how to fix this behavior in the GTK version, it does not avoid the artifacts, rather it makes them the same color as the background. As per [1] I added the following in `~/.emacs.d/gtkrc`: style "default" { bg[NORMAL] = "#000000" # ... } I've always considered the Lucid toolkit to be the *ancient* version, superseded by GTK, also considering its unspeakably ugly widgets (I do not use menus and dialogs normally, but they happen to pop up in certain circumstances); but maybe it is not this way... Cheers, Andrea [1]: https://www.gnu.org/software/emacs/manual/html_node/emacs/GTK-styles.html#GTK-styles On Mon, 30 Jan 2017 at 00:22 Bob Proulx wrote: Andrea Cardaci wrote: > Now, it is entirely possible that this is an issue with the window manager > (i3), but as I said this only happens with Emacs. In particular it doesn't > happen with rxvt, which has a black background too. rxvt in Debian Jessie uses libx11 not GTK. If what you are seeing is a GTK artifact then rxvt won't experience it. > So I was wondering if someone else is experiencing this. Please let me know > if you need more details about my environment. I'm using Emacs straight > from the master branch (03de82fe7ca09ab40fbcae394d4fcdfe3374496e), but the > same happens with version 24 from the Debian Jessie repo. I am not experiencing this using a Debian Jessie stock install of the emacs24-lucid package. It uses the Lucid toolkit instead of GTK. You might give it an install and test to see if it flashes for you or not. I find the Lucid emacs avoids some annoyances of the GTK emacs and therefore it is the normal one for me. Bob