From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65217: 29.1; set-frame-size gets confused and drops calls Date: Thu, 17 Aug 2023 12:49:16 +0300 Message-ID: <83sf8i578j.fsf@gnu.org> References: <3444890c-9111-5785-e683-8a2119e624b6@catgirl.ai> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25828"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65217@debbugs.gnu.org To: Ash , martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 17 11:50:16 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 1qWZdw-0006VZ-4J for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Aug 2023 11:50:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWZdo-0002TI-Md; Thu, 17 Aug 2023 05:50:08 -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 1qWZdi-0002R4-KF for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2023 05:50:03 -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 1qWZdi-0000YN-BZ for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2023 05:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWZdi-0000Xn-7l for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2023 05:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Aug 2023 09:50:02 +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.16922657642042 (code B ref 65217); Thu, 17 Aug 2023 09:50:02 +0000 Original-Received: (at 65217) by debbugs.gnu.org; 17 Aug 2023 09:49:24 +0000 Original-Received: from localhost ([127.0.0.1]:42790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWZd5-0000Ws-ML for submit@debbugs.gnu.org; Thu, 17 Aug 2023 05:49:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWZd3-0000Wd-GW for 65217@debbugs.gnu.org; Thu, 17 Aug 2023 05:49:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWZcx-0000S0-AP; Thu, 17 Aug 2023 05:49:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=yJm3A54v7GEHG6geo+B/x8MNrjKMkBh2TREkh341e4o=; b=a/OrjW5DfZZ4iq/bAeQ9 hydT1OuOOKxaGZx6Mj/jk8JRG384d/eaZ9H4vZEsxh8pKtKd+5m3+29ZmXjenLp5IjobiOS9fZTBZ oOM+ICcxfZ+Z6ybTbNMmLjMSJY0zGU0BNhtg84jJ0uue7rXnfb2InCDNeHOhdgsOUjUogpcy8q8x5 oITv6aSoKt3al12JJbr+WLUttVZq7YCjOhS9t2UeJRxhKNJU1gG8tOC0P6RfMmgXHrM2KWQzKzmhw GjBqu8caZ1kVO9i5im4El5vGwjqP3zzJ7NSvi794y38ExXf5f1ZoXfDOgVOzAYz+Ubmbo9LSahsJR rZCh6GfdjgDHXg==; In-Reply-To: (message from Ash on Thu, 10 Aug 2023 16:16:30 -0700) 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:267649 Archived-At: > Date: Thu, 10 Aug 2023 16:16:30 -0700 > From: Ash > > Sorry, I forgot to add that you have to set the frame's size to 20x20 to > get the bug to occur: > > > (setq my/frame > >       (make-frame `((left . 500) >                 (top . 5) >                 (width . 20) >                 (height . 20) >                     (parent-frame . ,(selected-frame))))) > > (defun my/twiddle (width height) >   (set-frame-size my/frame 10 10) >   (set-frame-size my/frame width height) >   (message (format "%s %s" (frame-width my/frame) (frame-height > my/frame)))) > > > Then (my/twiddle 20 20). Martin, any comments or ideas?