From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.bugs Subject: bug#52666: 27.0.50; Unexpected mode line flickering when creating frames Date: Sun, 19 Dec 2021 21:42:21 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20825"; mail-complaints-to="usenet@ciao.gmane.io" To: 52666@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 19 21:31:11 2021 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 1mz2pr-0005Hf-3P for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Dec 2021 21:31:11 +0100 Original-Received: from localhost ([::1]:47328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mz2pp-0008Fs-DR for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Dec 2021 15:31:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mz2pj-0008Fi-1M for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 15:31:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36730) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mz2pi-0003qS-B1 for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 15:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mz2pi-0005px-4D for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 15:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Markus Triska Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Dec 2021 20:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52666 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163994582322387 (code B ref -1); Sun, 19 Dec 2021 20:31:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Dec 2021 20:30:23 +0000 Original-Received: from localhost ([127.0.0.1]:48276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mz2p5-0005p1-H1 for submit@debbugs.gnu.org; Sun, 19 Dec 2021 15:30:23 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:48918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mz2p3-0005ot-Rs for submit@debbugs.gnu.org; Sun, 19 Dec 2021 15:30:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mz2p3-00084p-Ii for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 15:30:21 -0500 Original-Received: from [78.47.144.35] (port=35612 helo=metalevel.at) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mz2p1-0003ex-Ml for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 15:30:21 -0500 Original-Received: from mts-Mac-mini.localdomain (localhost [127.0.0.1]) by metalevel.at (Postfix) with ESMTP id 207E19C73E for ; Sun, 19 Dec 2021 21:23:03 +0100 (CET) Original-Received: by mts-Mac-mini.localdomain (Postfix, from userid 501) id 03F311A2376E; Sun, 19 Dec 2021 21:42:21 +0100 (CET) X-Host-Lookup-Failed: Reverse DNS lookup failed for 78.47.144.35 (failed) Received-SPF: none client-ip=78.47.144.35; envelope-from=triska@metalevel.at; helo=metalevel.at X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:222748 Archived-At: Dear all, to reproduce this issue, please put the following form in a new file flicker.el: (while t (let ((f (make-frame `((parent-frame . ,(selected-frame)) (left . 200) (top . 200))))) (set-frame-width f 200 nil t) (set-frame-height f 200 nil t) (sit-for 0.3) (delete-frame f))) and then invoke Emacs with: $ emacs -Q -l flicker.el The form repeatedly creates and destroys a child frame, offset 200 pixels both horizontally and vertically from the top left corner of the frame. Unexpectedly, the mode line flickers in many (though apparently not all) iterations, starting at 200 pixels horizontally from the left, even though the frame does not overlap the mode line in any way. Ideally, the creation of the frame should not have any visible effect on the mode line. Could the pleasant double buffering feature I have read about help to remove this flickering when creating child frames? Please let me know if you can reproduce the issue or need any further information. I can reproduce the flickering both on OSX and on Debian. Thank you a lot! Markus In GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin18.0.0, X toolkit, Xaw scroll bars) of 2018-11-15 built on mts-mac Repository revision: b4eb908f858284a7962851fd99c94598f76afa6f Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: Mac OS X 10.14.2 Configured using: 'configure --prefix=/opt/local --without-ns --without-dbus --without-gconf --without-libotf --without-m17n-flt --without-gpm --with-gnutls --with-xml2 --with-modules --infodir /opt/local/share/info/emacs --with-json --with-x-toolkit=lucid --without-xaw3d --without-imagemagick --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-lcms2 --without-rsvg --with-xft 'CFLAGS=-pipe -Os ... Configured features: XPM JPEG TIFF GIF PNG NOTIFY KQUEUE ACL GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS JSON LCMS2 GMP