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#65217: 29.1; set-frame-size gets confused and drops calls Date: Mon, 21 Aug 2023 15:39:36 +0200 Message-ID: <514cff79-67db-d13a-e478-e2075b45bc82@gmx.at> References: <3444890c-9111-5785-e683-8a2119e624b6@catgirl.ai> <83sf8i578j.fsf@gnu.org> <47724cb8-8448-e210-621f-9c3883bdc0ca@gmx.at> <8dc2bd48-d285-9911-3b69-2506fb7ea2a5@catgirl.ai> <83r0o051w5.fsf@gnu.org> <0b210770-99d2-2fd6-ae76-8c44d5902ab5@catgirl.ai> <83h6ow500n.fsf@gnu.org> <94e8ba2affd1f8d75106@heytings.org> <387ee04aa99416f015d1@heytings.org> <93b5b958-fc04-9ab4-69cd-2ffaa95fb525@gmx.at> <22de08b62befbeb99393@heytings.org> <7a24940b-4d6e-7e7c-d81d-b9815e1d0fbb@gmx.at> <77daee02cfc4d796b885@heytings.org> 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="24380"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ash , Eli Zaretskii , 65217@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 21 15:40:13 2023 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 1qY58f-0006A2-EB for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Aug 2023 15:40:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qY58T-0008O5-Te; Mon, 21 Aug 2023 09:40:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qY58S-0008N5-3o for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2023 09:40:00 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qY58R-0008PH-SI for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2023 09:39:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qY58T-0007Sj-Qv for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2023 09:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Aug 2023 13:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65217 X-GNU-PR-Package: emacs Original-Received: via spool by 65217-submit@debbugs.gnu.org id=B65217.169262519128665 (code B ref 65217); Mon, 21 Aug 2023 13:40:01 +0000 Original-Received: (at 65217) by debbugs.gnu.org; 21 Aug 2023 13:39:51 +0000 Original-Received: from localhost ([127.0.0.1]:55867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY58J-0007SH-Eh for submit@debbugs.gnu.org; Mon, 21 Aug 2023 09:39:51 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:58231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY58G-0007S0-Ef for 65217@debbugs.gnu.org; Mon, 21 Aug 2023 09:39:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1692625177; x=1693229977; i=rudalics@gmx.at; bh=bsF8aNkOsB8o6CAY1G5WguOdww1Nd+Gg2x1DzvhC0Z8=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=K8heyoMNB8RlGtpGRiO+QKFI0vakOLDV3WeYemQk0A+N9fz6F5vF75oAv695JZ/cNXffj+s x9B1Izf3Hr6Vvp6yS0hHZvyQDywhtzue4psUfhONe7fBUSY9k3+LdECKP3C752vSrHgHIyCAp j+AqcmFEJpbqFbJr78WAp/ENsRM8yYtftwPbAcf9e0MLhZKixvU5kEu40rwQwWvA9s/JTb5eI eQpqx64RgRZAbjSkZNRbtY7fN+FD32+ub60keqlFFM3jxPAb1i2cbbNz15tLi6ugG31yOO+N/ 48afzjGSXs7X6ESs9l8CL/yMRTYEmMl+vQkWRB0UhmUr6bbzRwPQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.1.100] ([213.142.97.188]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MOiDX-1qNIpy0txv-00QEME; Mon, 21 Aug 2023 15:39:37 +0200 Content-Language: en-US In-Reply-To: <77daee02cfc4d796b885@heytings.org> X-Provags-ID: V03:K1:XRKDGd7PfQjlpnDmVI79FJs2xlCS8yALWNPFA9Cf9iCKr0qYg4+ vRDC3Kh8dUEd5ER7MAACOq233B0fBpFpHxVJ8W7SH1fWedhakDDsFpLfXpCS6xcFmTFm9f3 7f0hqqvBZZwdPjTQKXv5xJBbqB3nyp+g96FSzDsZM1dI8CQvzF5FEj/iLWXIv2KP1ZVVgkj qbVsAQYo9+zlVtQGtLcBQ== UI-OutboundReport: notjunk:1;M01:P0:aW1B/6vvl9M=;Sy1YSQMjKPv0v5643wXTcfqt0yq efaodPWHQ5SwpPENC52aOqa0LVNxOAzid/OoJIlg8R2WKUsEOiG68IDNeAQ1IC8rbot+UMNrI 7G0Y5/4jAc1ficYAK9BA1K+qFBTgw/Hk8rLM+nBvvcGBTIIb+EjhfzIyJLBZvlo34lZ5s+REl 5pXs9NaIO+zdg54m2cJGVcN7bf7P1cXVwK+le2PpsnHk7COvpg5DojePx6eg+cX7A1TV/pokl MmwFZT4qt28KCOWvPL2zoM/Ormjocy5rR5Ybc3y3OZlOoOck2f9zAlahyQY7znIk/5CVG3EG1 MbLR2/C9ONfsDo0qdNxOw9RBxy2A6mmNmPJdViy/maOJ/gmArI+KPteSPzzKDbTg05qazv7ZR fIoTCndJ24NWpcNEsVwBTcPp8OYrOLy4xNZweICwr7oA+e2ZjHVPkKhloRghtn8HUIjJUMkjo 8K7XNbx/jpumZWZ4R+hhewd3Cqs7Lj0hLx4H9H+68z7FkW/GwiPpH+qmDRtkQzvJ5MXOoVeF5 GLLrZU+ParQvvKz5LO0oda40QLiklRMpZcn8dMt+YRx/J8ZALiGthdW7iGQdtV+wV+Cxzf23Z EJsEv6F1sAv9az9zouCZ4taabtbDv8sctS5lPpnA66Gh3pKRQ7hN6nDXL8zubBJDzTNpfv5HJ XKmGJ3XraqFPvaQ+ZiLXSEdvrFb97EpQSVpuDPeT9UtwHy3QHm3hfA5C3q8T5fTZqjhT5wvCo YMBg/tJw0Vt59mAcS9r2Inb4eG8RDqSqA1N2mp1B96nuDboIyqmDybFFK+t6JYYwjCDnM9NO 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268097 Archived-At: > It doesn't here. Just in case, I tried a few different window > managers (IceWM, Fluxbox, Window Maker, ...) and the result was the > same: the scroll bar is displayed and hidden repeatedly, but the frame > size doesn't change (except of course by the few pixels that are used > to display the scroll bar). Does that mean that my older recipe (setq my/frame (make-frame `((left . 500) (top . 5) (width . 20) (height . 20)))) (defun my/twiddle (width height) (set-frame-size my/frame 10 10) (set-frame-size my/frame width height) (sit-for 0) (message (format "%s %s" (frame-width my/frame) (frame-height my/frame)))) (my/twiddle 20 20) works correctly with your setup? In which case the GTK people might have fixed this in the meantime (I'm still on GTK+ Version 3.24.5) and the only problem is with child frames as in the OP. > What would you suggest for this specific bug report? The OP hasn't > replied yet, so it's not yet know whether that advice solves their > problem, but don't you agree that calling (redisplay t) after calling > set-frame-size (and other similar functions) would in most cases help > to have the frame "in sync" with the code? I'd agree if (1) the patch I posted earlier doesn't help and (2) the problem above with normal top-level frames has not been fixed. martin