From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#52666: 27.0.50; Unexpected mode line flickering when creating frames Date: Mon, 20 Dec 2021 10:18:48 +0100 Message-ID: <0c04099a-02c7-6bf0-b2cf-492327a1582e@gmx.at> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7896"; mail-complaints-to="usenet@ciao.gmane.io" To: Markus Triska , 52666@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 20 20:15:08 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 1mzO7n-0001vR-IS for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Dec 2021 20:15:07 +0100 Original-Received: from localhost ([::1]:52852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzO7l-0008Lc-Sv for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Dec 2021 14:15:05 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzLpf-0007sP-07 for bug-gnu-emacs@gnu.org; Mon, 20 Dec 2021 11:48:15 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39730) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzLpS-0002fS-8t for bug-gnu-emacs@gnu.org; Mon, 20 Dec 2021 11:48:13 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mzLpS-0005nE-7I for bug-gnu-emacs@gnu.org; Mon, 20 Dec 2021 11:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Dec 2021 16:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52666 X-GNU-PR-Package: emacs Original-Received: via spool by 52666-submit@debbugs.gnu.org id=B52666.164001886422133 (code B ref 52666); Mon, 20 Dec 2021 16:48:02 +0000 Original-Received: (at 52666) by debbugs.gnu.org; 20 Dec 2021 16:47:44 +0000 Original-Received: from localhost ([127.0.0.1]:51272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzLp9-0005kt-GO for submit@debbugs.gnu.org; Mon, 20 Dec 2021 11:47:43 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:52005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzLp8-0005kU-0h for 52666@debbugs.gnu.org; Mon, 20 Dec 2021 11:47:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1640018855; bh=zOp5O5sANC6XUAIEt7hv5eB/1sdV8RRFdeacA7rT5Hk=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=l2IRzcfebZaibLAikKRAgJHDbcXV5MU0Zh7ehptJcPAwOqbdSqwmxz8OAibnNz3kP NK6rZ2t/6Er6ugZuhDJYqUDRwCONTd8h9dPSQD1Fk+tZAzMbFU6iDtN9+ujXl+3SyY CdfctCSzhJil4miWP6v+TuFw3M6Hc6D+CIX24YDc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.102] ([213.142.96.93]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MA7GS-1nAs8b0QBO-00BeA8; Mon, 20 Dec 2021 17:47:35 +0100 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:No42W63h2UlSno9TTBN5oRPukefM9uBjBr2r0PKh4oXrt7bfrf3 jB4baefat0jYcwNo/aJG9h/tGHRErGuJumfuon9UkeQCZQl0sfuvmEFtb75rU6UyGxNFr29 Hkug6V30gDg0DerETk+yMThT2TzaCAM/T91D8bUsdo06Q4vPGXH1Zd3Hjf/j9NCNzQm3n9+ rK+1ZuhWddT2+YURFisQQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:dOvSsAW8OX0=:N/zaSObgseDK9Rl8aaJ2XF 6wlMWXQeVOO1YWN81saDsSl0IIuN3MffmbEWR2KiKiyaxG2fEYIVnijW1FvXqMhenoeVElHr6 jbscgNxDWi+vAIfShn9oGpJQHuDP6bI5rYcInAqIONt1KJCaAsPN1AKepZXzm+cyFgVjHwQO9 vemwsl4PDN0p4ZB4BYsNwZFHMjqCUVL3QT/VeVyi3BpW94eWxzkVqXnNmXugLMDrS6Yjz2pOu 0G9YaCLhSMPFuRQCkDA0ELdlNtu7q6TlkE3EBqI1q6fobJQfF29NjDg4JVsqZw4nDxcOuLJHX KFQVH3li4Thd2C1hKjG23utaEEswJmUPBWtafh+DBBMP0JnSw7un/tWnN4nHhm1+W+JLVHqRe oX38BIzrNLzwzY9uhUzKx8RB4pG27jAKp7o1FpIsQHQrDUOypo9UkUUbbOVengpBguwOxKOu6 E8fLZJWDEAzGdm1/x4M4LyqDmnCFkrLsgpQiPTcyMA5FeZbpb1fZdvlctwdVihESDY5KgPnFY XqGErsaYGBp6d3mZOpANC6U3D3kUTq36cgCWJOIp1gz7HMxNSD9JlJvaKnRWwaz9FRRxnDgFD IDEjAbZHA0D0nDporHqKn/P2BE0Ovh4249fwA4OD3UH0gxV1AfxOSxLafhHXrUkXPgOmiXdEy 8IGVRyv4Zxz4Hhbg57A1wYiyYQ5nZI8xS4Xgvx/Chun7kazdHP0DH/g89p1dPbeaksQTzOUQP nM5a8xyD+979rLbiUY45fIGxwazZ+rxkfmZSN+wcXOYbZxEB+/BNw4FZ6RlbZp0oFqEKxiAG 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:222802 Archived-At: > 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. I can reproduce the flickering with a GTK build where the child frame never appears at all. I cannot reproduce it with a Lucid build where the child frame appears shortly and gets deleted as expected. In either case the mode line is redrawn because it changes from active to inactive and back. > 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. The (sit-for 0.3) might conflict with 'x-wait-for-event-timeout' so playing around with the latter could help. BTW is yours really a Lucid build on a Mac? martin