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: Tue, 21 Dec 2021 11:32:53 +0100 Message-ID: <6faae86d-b1ef-57b4-e5d8-298c7777be24@gmx.at> References: <837dbz2twl.fsf@gnu.org> <84953d3c-e328-6221-3747-f7cfc69d89f6@gmx.at> <87wnjz6spx.fsf@metalevel.at> <058d7891-a08a-2ba8-e3c1-9a29ff3c8092@gmx.at> <87y24fdspi.fsf@metalevel.at> 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="11713"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52666@debbugs.gnu.org To: Markus Triska Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 21 11:35:01 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 1mzcU0-0002qj-PI for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Dec 2021 11:35:00 +0100 Original-Received: from localhost ([::1]:42770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzcTz-0005Kz-M0 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Dec 2021 05:34:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzcT4-00041M-Mc for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2021 05:34:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40916) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzcT4-000162-Dg for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2021 05:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mzcT4-0006eT-9Y for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2021 05:34: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: Tue, 21 Dec 2021 10:34: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.164008278625450 (code B ref 52666); Tue, 21 Dec 2021 10:34:02 +0000 Original-Received: (at 52666) by debbugs.gnu.org; 21 Dec 2021 10:33:06 +0000 Original-Received: from localhost ([127.0.0.1]:52453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzcSA-0006cI-Cj for submit@debbugs.gnu.org; Tue, 21 Dec 2021 05:33:06 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:35199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzcS5-0006bR-Mt for 52666@debbugs.gnu.org; Tue, 21 Dec 2021 05:33:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1640082774; bh=ScEppJHe+7sf1TYxVDvEIDinvUnWRgeGZt5/Etcji2k=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=ZRfFYmnH4lHzDAmKGOvfQX+9jFTcqUoWGrl14MQyE/0KBD72fgGdfMm/ktetVDY00 eXKqtVh9GtiJqph8BdE2s/mtlfi27tcTCv1rODAPahX1DxqZvoJn6F0SEL0YfM88vT 7PW05moamTQLYR4eUr26aOlztR6SCjdO/BpSWwF4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.103] ([213.142.96.105]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M3UZG-1n0AgG25Ss-000cae; Tue, 21 Dec 2021 11:32:54 +0100 In-Reply-To: <87y24fdspi.fsf@metalevel.at> Content-Language: en-US X-Provags-ID: V03:K1:AlnztQONQXKWYZE7y9N9E68PXnvmlkf6/aVRy5LluQ6teEMwk1P 6lK0DpvFPg5ChP0avxVmtwF6TFuEM0kG9jadk7fuAnGZqdQOt02JH2Cy1ZOg0BOy07RwHnZ wvj70xQur2GkFGowhimevnNdH/FY+9pho0/w2s6c+TG9e8QcZD0V3yYA1W0ZwtBKJnmGfu5 3r2JYZ4rrzqaIQwIiyRQA== X-UI-Out-Filterresults: notjunk:1;V03:K0:Ky4+IB1mlZA=:7M2JR+JgqCdJrg706hB/er 65DCl3CvpgGkLjHvfNgyhthum3ntt/nS7jOBlrcLJAuk0zMECMMLCjWSrawa/L8d8YAKGg8MH SlxXT/NXwYw6KxHEbExuLobIu6O5Lc6yYKZJhq8JiVf4yqdD++LnlAG6oNQhIaJRDbb7+xvzH oqLOp7UE8fGbXwQgRTiTK9dbOcyAFrcOftjy09lbQy7kJFtPQHYo1VW+DwGoNET3orrwtJwlH MdGdMFfLsOabwwk1qPJUwDBSyR/YmAeixTg4agVPQqsPdP7Y+gw8cj/V5z9jNNjT6OugpNQLg xbc/MZ9+b4AvK8TnYgDxPgX1U5Ltr8lz8fVpDe65A3zJXb162XmgnObj3pGNuQkEli/eeyDQ4 ckwK0ubZmj8m+dWAkvJN4/Pf3Jtltkr34r/Ykl7FXB/Ka9Dp37Yrwqx7Bq2Bv+IoPnaOuJAg2 CWjSGOa5n45jyz54SIE6OgmJ7uZSIQfvMC2DlCapifDzUvD5H3zcWH/muuAhulrGtLfj5Y9yq zM+OXrxnB78EO35sgfJJrrmKoF2VkiDN6wGMaq+Kup51rYio1SKpYJSmcF4QM3QhHIRoqeYEH 7HwAxHbEqTbHzefrFZGqShfREkHVjX+4ZWZbm9Y8wWM3sDTjDP+d8VLCS+qp3npyyvwZHB2IY PiHrI83LedsOsATs+6uOh+5YgOtiisQM1VypGhjh4XxGRr5NvvelCMjs2W1BQjNDwXz5wPmGY 4gu9fcdSLmQynkUnj1QqGfkXLd9UPcC5pehqsD8g0up30TsrTrFAPTi6BOfnhEns090lOwB5 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:222863 Archived-At: > Do you still observe the mode line flickering you mentioned in the Gtk > build also with this version? I later found out that with my GTK-3 build the child frame never became visible with your original recipe when I moved the mouse into the area reserved for it. Maybe this is related to my focus follows mouse settings maybe it's something else. I can explain the mode line flickering as follows: This (let ((f (make-frame `((parent-frame . ,(selected-frame)) (left . 200) (top . 200))))) creates a child frame at a 200 . 200 pixels offset from the top-left corner of the parent's native frame. Since the size of the child frame is by default that of its parent, the child frame will thus draw over the entire area of the parent frame (including mode line and scroll bars) to the right of and below that position. Next you do (set-frame-width f 200 nil t) which will expose the part of the parent frame to the right of a ~400 pixels X-position and then you do (set-frame-height f 200 nil t) which will expose the part of the parent frame below a ~400 pixels Y-position. With all possible delays involved when setting width and height ('x-wait-for-event-timeout' might come into play here too) such flickering should not come as a surprise here. martin