Received: (at 65217) by debbugs.gnu.org; 18 Aug 2023 13:26:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 18 09:26:10 2023 Received: from localhost ([127.0.0.1]:46379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qWzUQ-00066u-Hu for submit <at> debbugs.gnu.org; Fri, 18 Aug 2023 09:26:10 -0400 Received: from heytings.org ([95.142.160.155]:43382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gregory@HIDDEN>) id 1qWzUN-00066h-Re for 65217 <at> debbugs.gnu.org; Fri, 18 Aug 2023 09:26:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1692365165; bh=EKQgtpBsPCaPRL0dVmEubESkxqjEIpFS9k0U4oY/wK8=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=IiQMSEkZRYRnmIDJXCUeW7kAafuwlT/SCckrTdQ82G6gsQ+xZNhyhLdacfU9453HL McEmKIcHc340LRZ06utZ7YzLbQSi7JelZOHJ+W4MuSm6lx30ay7iWz/vOc5QEVBgXA PbAkC8Ck+PZNKoNXBUOTFZD5dzKPGUZFm+CgeKZgnafXy6Dj16H6S0SUvrg4JPXYuu bicTjnyXPxYEMIDCqzyMP7NqbaaQGZqLpdXZlqtO2IuXnd76eDYn+Mj1kkJ4W0q9DE 2j9ca7+H3c4aLIP9QFJB8Qk11m2OcjabjXNaCiCN7ggXpA3P5bP+YiKh1UpDsN+OO9 qObdzwKe9taIA== Date: Fri, 18 Aug 2023 13:26:04 +0000 From: Gregory Heytings <gregory@HIDDEN> To: Ash <ext0l@HIDDEN> Subject: Re: bug#65217: 29.1; set-frame-size gets confused and drops calls In-Reply-To: <ae2e34e0-f6dc-38a4-579d-b61a088da082@HIDDEN> Message-ID: <94e8ba2aff75a991a064@HIDDEN> References: <3444890c-9111-5785-e683-8a2119e624b6@HIDDEN> <handler.65217.B.169170885617684.ack <at> debbugs.gnu.org> <ae2e34e0-f6dc-38a4-579d-b61a088da082@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65217 Cc: 65217 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Ash, can you please try the following variant of your recipe? Does it do what you want? (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) (redisplay t) (set-frame-size my/frame width height) (redisplay t) (message (format "%s %s" (frame-width my/frame) (frame-height my/frame))))
bug-gnu-emacs@HIDDEN
:bug#65217
; Package emacs
.
Full text available.Received: (at 65217) by debbugs.gnu.org; 18 Aug 2023 12:27:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 18 08:27:04 2023 Received: from localhost ([127.0.0.1]:46304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qWyZE-0004Yd-Ig for submit <at> debbugs.gnu.org; Fri, 18 Aug 2023 08:27:04 -0400 Received: from sonic308-56.consmr.mail.ne1.yahoo.com ([66.163.187.31]:36336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <luangruo@HIDDEN>) id 1qWyZB-0004Y8-JF for 65217 <at> debbugs.gnu.org; Fri, 18 Aug 2023 08:27:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692361615; bh=W28+aHRXOntG84PEU1WCy2BGO0kQYf7O41+5dl9V/5g=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=FZqEhWp0fEwCYB22AN3kwPMa8OMmFaEszYkBxHtXVSco4psPW7DQ/zwvxQ7l3fGkgVdwD4RoJxEG97cT+mu8/LATGNPcKfmPiRNfKt3vgMQNMriX2+O1Yu8Fb1b/UCkbj5A1d54jNzOjqbvi8Oj8cnF49LUh0DOzSNHSIcxWHI7niPnsZHpAyq/yz9ilMAz9dvtqjx4VFVjyUi1AMcRKsLTl4Mlwt92d1jjvcFUvrl2uzyEt0uP7GcFs1T5AzHoqEeRTKHbt6bst8zCSZquFNI+KlFCt3ZW40ADPgBjuRXzA5ZrqvDhtjBvVFDQ2YCcAmuZVFh3hetoyNbKjR/SnBA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692361615; bh=McCAemsunwlrUMf3rz8nfr7t5ck19FauPTGbJYJwGAC=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=OFMyoP0Q9Lf64cOBmXfNFT2Nvq7e8gdWmFgd/K65/tRZPCVvpd3D1BvKnR2A6+3QqXDM8D/gk4l5sIN3BgECPDZDcJjwY4kyjtOkfhIUhiX3hk4tDwz/7cRsJ2M1DNZP5LGsRBM9hwE2ohRIRjggEcwFeteFk2sB08EBmZEFuOL+G5kFnUQD8wYssQFffilePXPE1dHqnfNEaT9CNIKQFPCVF8GAk5fJzTiy3rm0tGrsoCazmpHwtVVA8KV6Lpv3uHIy9S3qF41y0frTLqwKMzRWzZU1+m+VRcBzYad44+wBLHCInKKwSH0DAzjbaHxcduNoKnCh+yesztS/j6zMVg== X-YMail-OSG: 2BmPqvMVM1kSbdPqfMZUhErYcBj9lYS0KqWfSVaiHGkm25g37Z4NfjV0RbcJCSL w8xN0SNcFrOowuOWietBOuxAIVg8KLB_wROevAIxvgvofPi5Ifc1HdZIP_e8fCKm8Hl2e2i7ADN4 JA4NmkCacG06nGUtrLTObqYBvvHHkkjJ1T_XlzUya_5Ye8Fna7JoG0iXApzAN5O3M5x4i0e4F67U C7WUDYpzcAsXjlOb_zgoTG2LQl_46VgbpAVfJY_11WBwaLUWtIPWZYnNarNPfmp9j3s2hindYFiO oKTn6cGTagAKKbpUTO.Vc5dFS8TtGnQ1CFrTe7DltMjg0O2GtlNyzBrD9rJI.pVZt3vxJral2RJW JsQGRL0xWfM7MAStm61woxB0sBaBx5jbLgMC.X3J2h9R9eRZUH3oIPkg7LFgtYJqwYAvXgnaX0O9 smodysd2AyxkZjLWBGLJQf1URhOFySXjq8sj9Ei71cBSs9Ysu54tGYekt0Jkyo2h9xACO.HB2tA0 PTuHjYScM2Wz6U.5c1id8DDh5J3v1FMzOaifDur5ae6AX2HkpjDBeQL7GvqxOA8MWkGhlSJoyGKP WLl_r9QRXQ2j432F9yX7zlEmxJULKB0u0O2lLm_8X8PrNXRHr7cAnmveT8nhM_jJvOKDN0J4j1IG TodYsyrTPxVXjZp3sE5ADabEa8mPmqbjzcRfANQ1YxKZTbrR_W7uW58yeJSTNiFb81Nhw.n9aFuo 6zcbkKpsLVTBozfMxrZWF.7s9xP1HJOKPxDM8GPG8vwOtfaf88yW0mb88FzvgfdJ60r7z8QBxvx2 rp6VfmFCUQrwclScYVhnIeEA5WPekbaLCdIUQXZHzZtr0zys9Xr5SYbOgNuk_PASJVCUS6u962kb KtNfsfLOU6bI9ona4pHR2QxotGXnCc_5gym62zceoCMjWe67spkbu3OOt7LcKI2YCZS5WMLoucv3 eiFYYkxk2Jj1kYm7Kd43V.lpxYBwtRX_kUQBLE2KV2ePtlQwrFwCbJ3wI5zncELBwyYoy85nep1f 38vpuPD8GFEON6EuYFwOyAKW9OdYUhUajjpBunWhBmjs9fluYoMEU4zDpnUy7cMF2HK685Z.XGlS BuJRASPlIv9W29T8JAA5f2iqO6g0eJaOIJ_I5WCSRaYwsXqeetxuRH6DDJ4L8qICdLwGFmGlERfY w_Vt8FKwcvwthIIFOnFkV.t4rH2Z9irTJS6KQkA0jA6mG7Z3iLUXPYhsoRymzFBPIxZ7SIQGSJxs MvFjnU4BccpyxoHpRwYv3wOamslWJzCWri5Ay7Rjr6vHM0njym3DFi2S1rkT8zSEDmuR7cERn7he LjSKmmE61W3xLHhEs93lkk_yeUrHdRIFW_wENt7sUdaZmLHPJWlOjgUMK8a4GLLRuMKE76JhhK_W 9jvr9ClAYq.OCUd5m_f.W65hsfT2bqeaTJXVkDZsBXHsVi7vKcrFvw2Rdl7917dEsva8ciAgWDUj EBize7idTl7dyj6ldxVAjBfgaBo5oevLLEHPjJLABJBRFiXZ7IlorGhKquvopqYDAhALMmXqEzz1 tPP7snydTSjNanOqbkVPff1wgoGXW_BnrWQwn2x_CIRMtTkdbZHaqig8zsXabypXIaSK6bCnVvxs 0mK4X1vK2685turRSwzekQjTEfaZqNSPUs6L4_vU9I8cyWQHVqm2jDsIKRX0eOMLrWnO8Bn_9cRL B1egx0HZgpaG3znRn16NWdSWza0KGgfuvDOFeoczb6PC0icYhIh4jZ4BvdLG4FFPibjsZLqjMWaW Dv8A_dBQeafXubHDkE0JzsUeyrq_M13bqhG3IAt9nfEhxqCddR8J.pLmzCh7zor.oMGsYyCGjCdv uNW5cbjt83weFEdo9c6XSPchhSs52nAH2vd_1aGzjLu04AjpZfm3KKtur0htT02RNzaXszt.LUNz kchbGgdjYahirFmbm3Qqcr4eWRBWwHG7UV0lD3eQKI1WQpeWheJHAN.6wOHMgD2ua6bNj9ObpSUg UEhoRNb4ZZi3oNXhrT77GBkSnSGULol21oulaql1s8vmc2AuyyB.rUG81IXvtjzUr025rrTD2PSr m.CmOGUA4bZTe.JcufPKGCPXgX0D90BiMJS7lsDGR8C9Guy0Lv.cLwIpV_0dWQ7hZ78p.32SkMQr iY5odlaVU8LN6n6M8VQNt61JHcCOgh7MJoBgD2SeDIU30s.uUxYaqTGH5Q7PZmFMhxDP05ft90hi A8gk55wqSbadHYNs5VkM8iLQ0T1Zpkx0iPwxa4mMi_qIaIM1Vj9IpXVpVKDMC4Ff1YA-- X-Sonic-MF: <luangruo@HIDDEN> X-Sonic-ID: 8398e6a3-d125-493b-8353-2b98e773010b Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Fri, 18 Aug 2023 12:26:55 +0000 Received: by hermes--production-sg3-69654d8bd-xs829 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 5dcf67a6cad8d584acfc06c5516beea5; Fri, 18 Aug 2023 12:26:48 +0000 (UTC) From: Po Lu <luangruo@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#65217: 29.1; set-frame-size gets confused and drops calls In-Reply-To: <837cps4kfm.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 18 Aug 2023 15:14:05 +0300") References: <3444890c-9111-5785-e683-8a2119e624b6@HIDDEN> <handler.65217.B.169170885617684.ack <at> debbugs.gnu.org> <ae2e34e0-f6dc-38a4-579d-b61a088da082@HIDDEN> <83sf8i578j.fsf@HIDDEN> <47724cb8-8448-e210-621f-9c3883bdc0ca@HIDDEN> <8dc2bd48-d285-9911-3b69-2506fb7ea2a5@HIDDEN> <83r0o051w5.fsf@HIDDEN> <0b210770-99d2-2fd6-ae76-8c44d5902ab5@HIDDEN> <83h6ow500n.fsf@HIDDEN> <94e8ba2affd1f8d75106@HIDDEN> <837cps4kfm.fsf@HIDDEN> Date: Fri, 18 Aug 2023 20:26:42 +0800 Message-ID: <87zg2ofse5.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.21732 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 473 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65217 Cc: ext0l@HIDDEN, Gregory Heytings <gregory@HIDDEN>, 65217 <at> debbugs.gnu.org, rudalics@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: > Fine with me, assuming that Martin and Po Lu agree. I have no objection to this, provided that x-wait-for-event-timeout is respected. Also, bear in mind that a window manager is under no obligation to send a ConfigureNotify event if it elects not to resize the frame, so using such an argument is liable to result in timeouts under tiling window managers and their ilk, as well as if the window manager is unresponsive or crashes.
bug-gnu-emacs@HIDDEN
:bug#65217
; Package emacs
.
Full text available.Received: (at 65217) by debbugs.gnu.org; 18 Aug 2023 12:14:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 18 08:14:08 2023 Received: from localhost ([127.0.0.1]:46282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qWyMi-0004FB-6r for submit <at> debbugs.gnu.org; Fri, 18 Aug 2023 08:14:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1qWyMg-0004Ed-Vi for 65217 <at> debbugs.gnu.org; Fri, 18 Aug 2023 08:14:07 -0400 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 <eliz@HIDDEN>) id 1qWyMa-00028P-Nh; Fri, 18 Aug 2023 08:14:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/3DPIxvCI6lIIcn0z8Mi5VrxQ9sRJmmiFLSjklLWmn0=; b=eSgai+S7QMQH lb4+PblUuJxLjzR8T/bcufr5V0e/VLf0PI3XmwqsPdE8Sf6Iyaalw/Bi3EgeMKNdULvm3uSLAVQ6a /hCSQz/EgvqijEzINhE5bfqHLI8Ngwtexkf453z8Hk4U54IKr8DclNyiESEa6wPOIIte0yz7exBSP D4/L4lR1dlqzHXcsbG0afh1k70m5SlR3PqCcCNTe95+opMVECfgVcwDDDsFBCdKLtWIzrOUPwKYfA LD4DTxGbstg3fsIUcD2K+0flpM2wu36LDTlJ+MVlfe1VchZrCb1G37s0SBf1l+pLD70rwt0qn4EuB ct//EMCoOD8gXaVBOkMzOg==; Date: Fri, 18 Aug 2023 15:14:05 +0300 Message-Id: <837cps4kfm.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Gregory Heytings <gregory@HIDDEN>, Po Lu <luangruo@HIDDEN> In-Reply-To: <94e8ba2affd1f8d75106@HIDDEN> (message from Gregory Heytings on Fri, 18 Aug 2023 08:34:15 +0000) Subject: Re: bug#65217: 29.1; set-frame-size gets confused and drops calls References: <3444890c-9111-5785-e683-8a2119e624b6@HIDDEN> <handler.65217.B.169170885617684.ack <at> debbugs.gnu.org> <ae2e34e0-f6dc-38a4-579d-b61a088da082@HIDDEN> <83sf8i578j.fsf@HIDDEN> <47724cb8-8448-e210-621f-9c3883bdc0ca@HIDDEN> <8dc2bd48-d285-9911-3b69-2506fb7ea2a5@HIDDEN> <83r0o051w5.fsf@HIDDEN> <0b210770-99d2-2fd6-ae76-8c44d5902ab5@HIDDEN> <83h6ow500n.fsf@HIDDEN> <94e8ba2affd1f8d75106@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65217 Cc: ext0l@HIDDEN, 65217 <at> debbugs.gnu.org, rudalics@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Fri, 18 Aug 2023 08:34:15 +0000 > From: Gregory Heytings <gregory@HIDDEN> > cc: Ash <ext0l@HIDDEN>, rudalics@HIDDEN, 65217 <at> debbugs.gnu.org > > > I disagree. It is a consequence of the fact that the actual resizing is > > performed by the window manager, and that Emacs must wait for the > > window-system response event to perform the resize correctly. Lisp > > programs that perform several such operations in a row must inject short > > wait periods to allow for the processing of the window-system events. > > That's what Martin meant by saying that using sit-for solves the > > problems. > > > > Instead of assuming that Elisp programmers understand these subtle points, > can't we provide an optional argument to set-frame-size, say FORCE, that > would do that sit-for? Fine with me, assuming that Martin and Po Lu agree.
bug-gnu-emacs@HIDDEN
:bug#65217
; Package emacs
.
Full text available.Received: (at 65217) by debbugs.gnu.org; 18 Aug 2023 12:12:26 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 18 08:12:26 2023 Received: from localhost ([127.0.0.1]:46273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qWyL4-0004CA-DG for submit <at> debbugs.gnu.org; Fri, 18 Aug 2023 08:12:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1qWyL2-0004By-FG for 65217 <at> debbugs.gnu.org; Fri, 18 Aug 2023 08:12:25 -0400 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 <eliz@HIDDEN>) id 1qWyKw-0001g8-BL; Fri, 18 Aug 2023 08:12:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=oI2dayblvIhLRPxTth6ZcuoQGzt0sols3H7NURiljXI=; b=Y8gFRIptCkEd iDZNIYVXY5y6DA7851RaHZwUVIW0KlRdMSU6nBeaj7tLGjfbhNmdCTH370DU9ZSZY1Hu2CSoXbEZq XU3b7y2UGn0wzCFAv1sBHZ3Qr3DpH+lwkR0Ul9d7c3L89gx0tqhsjIhOfz5M/T5aqIL47zxGisGvn 9B/Y1D8bek20nbe9L5q7kvvxGoOfbMwI2OufsTZe9Pgfi9TCOpFi/MZfwYfiN5x3/8l0i82K9ybUg r/jep+MaiPTaHmNQajjtqH8ByaWCLrMCs5UOscV9HIF5Pwk3G7g5jR04wDA4l2JNuLcitRwT1axeW 4b5fGhoOQdTYTqVeSKT6hw==; Date: Fri, 18 Aug 2023 15:12:29 +0300 Message-Id: <838ra84kia.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: martin rudalics <rudalics@HIDDEN> In-Reply-To: <76cc2a16-1e06-5ce9-c513-3e45856e69d9@HIDDEN> (message from martin rudalics on Fri, 18 Aug 2023 10:25:27 +0200) Subject: Re: bug#65217: 29.1; set-frame-size gets confused and drops calls References: <3444890c-9111-5785-e683-8a2119e624b6@HIDDEN> <handler.65217.B.169170885617684.ack <at> debbugs.gnu.org> <ae2e34e0-f6dc-38a4-579d-b61a088da082@HIDDEN> <83sf8i578j.fsf@HIDDEN> <47724cb8-8448-e210-621f-9c3883bdc0ca@HIDDEN> <8dc2bd48-d285-9911-3b69-2506fb7ea2a5@HIDDEN> <83r0o051w5.fsf@HIDDEN> <0b210770-99d2-2fd6-ae76-8c44d5902ab5@HIDDEN> <83h6ow500n.fsf@HIDDEN> <76cc2a16-1e06-5ce9-c513-3e45856e69d9@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65217 Cc: ext0l@HIDDEN, 65217 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Fri, 18 Aug 2023 10:25:27 +0200 > Cc: 65217 <at> debbugs.gnu.org > From: martin rudalics <rudalics@HIDDEN> > > The first thing xg_frame_set_char_size (the function responsible for > dispatching the 'set-frame-size' call to GTK) does is to call > gtk_window_get_size to get the "current size" of the window showing the > frame. The doc of that function says that > > * Depending on the windowing system and the window manager constraints, > * the size returned by this function may not match the size set using > * gtk_window_resize(); additionally, since gtk_window_resize() may be > * implemented as an asynchronous operation, GTK+ cannot guarantee in any > * way that this code: > * > * |[<!-- language="C" --> > * // width and height are set elsewhere > * gtk_window_resize (window, width, height); > * > * int new_width, new_height; > * gtk_window_get_size (window, &new_width, &new_height); > * ]| > * > * will result in `new_width` and `new_height` matching `width` and > * `height`, respectively. > > where gtk_window_resize (window, width, height) corresponds to our > (set-frame-size my/frame 10 10) and the gwidth and gheight used in the > earlier mentioned > > if (outer_width != gwidth || outer_height != gheight) > > check are the new_width and new_height values returned by > gtk_window_get_size. So since we've been warned by the GTK people, the > attached patch which removes that conditional seems in order. Po Lu, do you agree with the patch? If you do, I'll install it on master. > Note that all other uses of gwidth and gheight remain in place and may > cause the above mentioned problems so maybe we should warn about this in > PROBLEMS. Please suggest the text for PROBLEMS, I think this is a good idea. Thanks.
bug-gnu-emacs@HIDDEN
:bug#65217
; Package emacs
.
Full text available.Received: (at 65217) by debbugs.gnu.org; 18 Aug 2023 08:34:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 18 04:34:22 2023 Received: from localhost ([127.0.0.1]:46092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qWuw2-0003xa-K3 for submit <at> debbugs.gnu.org; Fri, 18 Aug 2023 04:34:22 -0400 Received: from heytings.org ([95.142.160.155]:43092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gregory@HIDDEN>) id 1qWuvx-0003xP-W5 for 65217 <at> debbugs.gnu.org; Fri, 18 Aug 2023 04:34:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1692347656; bh=LWoNdz7x7JJSnoRpiLi4bgTAfT6zI8boLTQxBXizvcI=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=bsRvEgslF1gZ1Q7oMj9V2AMxtZlrwwdeNcASer+D7ampuujv+otMy0PvhSbvcSOtx Su23UDG6xC4taszED8urTRlmqbEPGn71IJNqthKdvKv0q8S3PtN8LqIP7JgMjSOouU AnuSc4J16RvgTutmLyJpisKkM2s4+J8Sh5rIkkwf3VoZDyCfbawDY3Up/Bnd+obvuI xUPVb2eoI25o2tS3hDWSRJpzjgMpqzcXVSwZD06Y2vKgAH3ElIlViZkEV5V9/TSuEI 0e2saOQSAez2urYQ6lgpex+Wc/83ZRdGoazRbkfnaBdSa+YF3dlNcgkrrHUHJLI5iw GcKc6tT2t4jpg== Date: Fri, 18 Aug 2023 08:34:15 +0000 From: Gregory Heytings <gregory@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#65217: 29.1; set-frame-size gets confused and drops calls In-Reply-To: <83h6ow500n.fsf@HIDDEN> Message-ID: <94e8ba2affd1f8d75106@HIDDEN> References: <3444890c-9111-5785-e683-8a2119e624b6@HIDDEN> <handler.65217.B.169170885617684.ack <at> debbugs.gnu.org> <ae2e34e0-f6dc-38a4-579d-b61a088da082@HIDDEN> <83sf8i578j.fsf@HIDDEN> <47724cb8-8448-e210-621f-9c3883bdc0ca@HIDDEN> <8dc2bd48-d285-9911-3b69-2506fb7ea2a5@HIDDEN> <83r0o051w5.fsf@HIDDEN> <0b210770-99d2-2fd6-ae76-8c44d5902ab5@HIDDEN> <83h6ow500n.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65217 Cc: Ash <ext0l@HIDDEN>, 65217 <at> debbugs.gnu.org, rudalics@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > > I disagree. It is a consequence of the fact that the actual resizing is > performed by the window manager, and that Emacs must wait for the > window-system response event to perform the resize correctly. Lisp > programs that perform several such operations in a row must inject short > wait periods to allow for the processing of the window-system events. > That's what Martin meant by saying that using sit-for solves the > problems. > Instead of assuming that Elisp programmers understand these subtle points, can't we provide an optional argument to set-frame-size, say FORCE, that would do that sit-for?
bug-gnu-emacs@HIDDEN
:bug#65217
; Package emacs
.
Full text available.Received: (at 65217) by debbugs.gnu.org; 18 Aug 2023 08:25:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 18 04:25:42 2023 Received: from localhost ([127.0.0.1]:46087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qWune-0003kV-DX for submit <at> debbugs.gnu.org; Fri, 18 Aug 2023 04:25:42 -0400 Received: from mout.gmx.net ([212.227.17.21]:36041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1qWunb-0003kH-Av for 65217 <at> debbugs.gnu.org; Fri, 18 Aug 2023 04:25:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1692347130; x=1692951930; i=rudalics@HIDDEN; bh=ty/TYSEXRlM+GL3DZb/basaOhtABnfxbddtCQwfzYFU=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=Jcy4RnAi+ZCzaY9OQY7ZylQ7lbLZ5thn4nmvcykXzk7/yqrZLRKE9vmXFl+U3YFtT4m8qBt BlcON2UIDl7Q0YXV+ixijS2TcdcnfXwTEQM0m2ujNKhiyWZznFDlL/WtqxDwgtG2zx3m67IhF ne/8DETvp34ZjqkqL6jc6W2WJnpGo+kiFPajgS4cX/XmQSiZ7e8Wd65oQ+MYn7/hygybO8BBs 5NK4YZ4mSgfErXmENkuscj7AsZK6jwpKTweoGsr4W2ydHoopTP2Ug2RxOg7iNK4w2Q/ytRNA8 KhP07GtGXgEwpsZRfiCpdohEUFZfUHFF5v++OQX1SUBqYpaiQvEQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.1.100] ([212.95.5.217]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MpUUm-1pyvsT3q4C-00ptNO; Fri, 18 Aug 2023 10:25:30 +0200 Content-Type: multipart/mixed; boundary="------------O1v80yibvXVVjmaMwMH18Tdn" Message-ID: <76cc2a16-1e06-5ce9-c513-3e45856e69d9@HIDDEN> Date: Fri, 18 Aug 2023 10:25:27 +0200 MIME-Version: 1.0 Subject: Re: bug#65217: 29.1; set-frame-size gets confused and drops calls Content-Language: en-US To: Eli Zaretskii <eliz@HIDDEN>, Ash <ext0l@HIDDEN> References: <3444890c-9111-5785-e683-8a2119e624b6@HIDDEN> <handler.65217.B.169170885617684.ack <at> debbugs.gnu.org> <ae2e34e0-f6dc-38a4-579d-b61a088da082@HIDDEN> <83sf8i578j.fsf@HIDDEN> <47724cb8-8448-e210-621f-9c3883bdc0ca@HIDDEN> <8dc2bd48-d285-9911-3b69-2506fb7ea2a5@HIDDEN> <83r0o051w5.fsf@HIDDEN> <0b210770-99d2-2fd6-ae76-8c44d5902ab5@HIDDEN> <83h6ow500n.fsf@HIDDEN> From: martin rudalics <rudalics@HIDDEN> In-Reply-To: <83h6ow500n.fsf@HIDDEN> X-Provags-ID: V03:K1:HvK5UPQTA5G6bkDtL7cfi6wuOphdiicsCfIUOiZFoY4IdgpBw1D AYRv5Jj29WymvAhB9Sp85wiL+7QNYIckO6XczbAKOo6KXoR91JNWOLE8gJ0rcRvKTAxag6v NWSw4N23Hj1d5R8SiHUaybyyyDNPHxAxAEOf1BwHUB/21hADZWSWNpuL9EAQGgenRNn2EzA jCQL62ugMx6Y3TGFLY7cQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:1CPEmWE1deM=;ILv5P2ZeGcpkvabNnqPxUNy8Mr6 gYC3RsNsctgfEPzAVgHxwPe9s/lTiFTrvoh476cbGvQheK8SkVWNxEOuXwGfCDZme2p76oI61 j1Q72L+bYshs0QU+hyJprPkc3wNetns2amXBYT1i/rQI7uAn+kbcw88DatTKLH9AcC3E7QwDf SiOL2O5TeyDfJyABpJtp1sZKz7AcVwohgoESigpMV9qQWFecbR/kOX/PLPdtyJPU2VvLfeUso vxnXVahtsgKLO9LbfMFXMMg7gnYBhic5qSMHuEKPiYob2Xc63cK+H73nh0dZyQN9zIPkcrblJ 4PvU1HpgpKFfXvGOB4eY9SVItQ2J88DlksM62tF8mfl/jaCi4LtwI5iwt/duplFCINgR5SShg DuYAHaApaXD3iT7H1J8SUjInK8CLbYXl0ZINx3hu9gH7PTxTEYdOAiJ5bW1zfHwTHpS/xXiT/ GUaT3YhPivwWXOTQzMU3Iu1FinynSt7gTNxKI+Fn4jHxDC86UPrjNbucjEVZxkzzDHwE7yB/Z lyG+EpKly8ISyq6GHgP8mWQKTS/a1hcrIyQE5O+K4C2I+Kw7PTmIY5EVweKBrwmO2Cupza6A0 ZKSRcSlxYUbYIj6+7XDLkRdXppex1FIy0GCSaGAVlCeto6zMxj+ZVtq/3zqeui4U0Ki4MGASv HWBOOgT+jttyW1PQC5MDzDCkEaCoV3HSZgsDI+C5uuaudZDkyRkC4f4SjbIeHkQvtbjqK/oR9 jGPhKZoa1a0LgE2MoDnsJI63BVaVj+NjJV51RHhgWadbfXyHxSs0FVcn/8GxsbMHtzlOhB6oe W3/K9EMgwPQRCiS8vxb4giZkQrAuCjFjneH0n5aQg9gwjQT/UKO5bdnND6zP8Tu9JyuZHP0UL Dc6DkhWQkROYoDwHhgnUW3or+AGPaE6hhkf8YNSCepE/gRzOPQYEO/xb9l76y0+isQYmlUiOT ZY81R+UAx6zyowEYZhYVHmrfzzc= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 65217 Cc: 65217 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) This is a multi-part message in MIME format. --------------O1v80yibvXVVjmaMwMH18Tdn Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > So this isn't a bug, but a limitation caused by the way Emacs's > interaction with the GUI systems is designed. The first thing xg_frame_set_char_size (the function responsible for dispatching the 'set-frame-size' call to GTK) does is to call gtk_window_get_size to get the "current size" of the window showing the frame. The doc of that function says that * Depending on the windowing system and the window manager constraints, * the size returned by this function may not match the size set using * gtk_window_resize(); additionally, since gtk_window_resize() may be * implemented as an asynchronous operation, GTK+ cannot guarantee in any * way that this code: * * |[<!-- language="C" --> * // width and height are set elsewhere * gtk_window_resize (window, width, height); * * int new_width, new_height; * gtk_window_get_size (window, &new_width, &new_height); * ]| * * will result in `new_width` and `new_height` matching `width` and * `height`, respectively. where gtk_window_resize (window, width, height) corresponds to our (set-frame-size my/frame 10 10) and the gwidth and gheight used in the earlier mentioned if (outer_width != gwidth || outer_height != gheight) check are the new_width and new_height values returned by gtk_window_get_size. So since we've been warned by the GTK people, the attached patch which removes that conditional seems in order. Note that all other uses of gwidth and gheight remain in place and may cause the above mentioned problems so maybe we should warn about this in PROBLEMS. martin --------------O1v80yibvXVVjmaMwMH18Tdn Content-Type: text/x-patch; charset=UTF-8; name="my-twiddle.diff" Content-Disposition: attachment; filename="my-twiddle.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL3NyYy9ndGt1dGlsLmMgYi9zcmMvZ3RrdXRpbC5jCmluZGV4IGY1ZTcw MzA1ZWFkLi5mNjljYTU3MDZkNSAxMDA2NDQKLS0tIGEvc3JjL2d0a3V0aWwuYworKysgYi9z cmMvZ3RrdXRpbC5jCkBAIC0xMjUxLDQ4ICsxMjUxLDQ1IEBAIHhnX2ZyYW1lX3NldF9jaGFy X3NpemUgKHN0cnVjdCBmcmFtZSAqZiwgaW50IHdpZHRoLCBpbnQgaGVpZ2h0KQogICAgICAg aGlkZV9jaGlsZF9mcmFtZSA9IGZhbHNlOwogI2VuZGlmCiAKLSAgICAgIGlmIChvdXRlcl93 aWR0aCAhPSBnd2lkdGggfHwgb3V0ZXJfaGVpZ2h0ICE9IGdoZWlnaHQpCisgICAgICBpZiAo aGlkZV9jaGlsZF9mcmFtZSkKIAl7Ci0gICAgICAgICAgaWYgKGhpZGVfY2hpbGRfZnJhbWUp Ci0gICAgICAgICAgICB7Ci0gICAgICAgICAgICAgIGJsb2NrX2lucHV0ICgpOworCSAgYmxv Y2tfaW5wdXQgKCk7CiAjaWZuZGVmIEhBVkVfUEdUSwotICAgICAgICAgICAgICBndGtfd2lk Z2V0X2hpZGUgKEZSQU1FX0dUS19PVVRFUl9XSURHRVQgKGYpKTsKKwkgIGd0a193aWRnZXRf aGlkZSAoRlJBTUVfR1RLX09VVEVSX1dJREdFVCAoZikpOwogI2Vsc2UKLQkgICAgICBndGtf d2lkZ2V0X2hpZGUgKEZSQU1FX1dJREdFVCAoZikpOworCSAgZ3RrX3dpZGdldF9oaWRlIChG UkFNRV9XSURHRVQgKGYpKTsKICNlbmRpZgotICAgICAgICAgICAgICB1bmJsb2NrX2lucHV0 ICgpOwotICAgICAgICAgICAgfQorCSAgdW5ibG9ja19pbnB1dCAoKTsKKwl9CiAKICNpZm5k ZWYgSEFWRV9QR1RLCisgICAgICBndGtfd2luZG93X3Jlc2l6ZSAoR1RLX1dJTkRPVyAoRlJB TUVfR1RLX09VVEVSX1dJREdFVCAoZikpLAorCQkJIG91dGVyX3dpZHRoLCBvdXRlcl9oZWln aHQpOworI2Vsc2UKKyAgICAgIGlmIChGUkFNRV9HVEtfT1VURVJfV0lER0VUIChmKSkKKwl7 CiAJICBndGtfd2luZG93X3Jlc2l6ZSAoR1RLX1dJTkRPVyAoRlJBTUVfR1RLX09VVEVSX1dJ REdFVCAoZikpLAogCQkJICAgICBvdXRlcl93aWR0aCwgb3V0ZXJfaGVpZ2h0KTsKLSNlbHNl Ci0JICBpZiAoRlJBTUVfR1RLX09VVEVSX1dJREdFVCAoZikpCi0JICAgIHsKLQkgICAgICBn dGtfd2luZG93X3Jlc2l6ZSAoR1RLX1dJTkRPVyAoRlJBTUVfR1RLX09VVEVSX1dJREdFVCAo ZikpLAotCQkJCSBvdXRlcl93aWR0aCwgb3V0ZXJfaGVpZ2h0KTsKLQkgICAgfQotCSAgZWxz ZQotCSAgICB7Ci0JICAgICAgZ3RrX3dpZGdldF9zZXRfc2l6ZV9yZXF1ZXN0IChGUkFNRV9H VEtfV0lER0VUIChmKSwKLQkJCQkJICAgb3V0ZXJfd2lkdGgsIG91dGVyX2hlaWdodCk7Ci0J ICAgIH0KKwl9CisgICAgICBlbHNlCisJeworCSAgZ3RrX3dpZGdldF9zZXRfc2l6ZV9yZXF1 ZXN0IChGUkFNRV9HVEtfV0lER0VUIChmKSwKKwkJCQkgICAgICAgb3V0ZXJfd2lkdGgsIG91 dGVyX2hlaWdodCk7CisJfQogI2VuZGlmCiAKLSAgICAgICAgICBpZiAoaGlkZV9jaGlsZF9m cmFtZSkKLSAgICAgICAgICAgIHsKLSAgICAgICAgICAgICAgYmxvY2tfaW5wdXQgKCk7Cisg ICAgICBpZiAoaGlkZV9jaGlsZF9mcmFtZSkKKwl7CisJICBibG9ja19pbnB1dCAoKTsKICNp Zm5kZWYgSEFWRV9QR1RLCi0gICAgICAgICAgICAgIGd0a193aWRnZXRfc2hvd19hbGwgKEZS QU1FX0dUS19PVVRFUl9XSURHRVQgKGYpKTsKKwkgIGd0a193aWRnZXRfc2hvd19hbGwgKEZS QU1FX0dUS19PVVRFUl9XSURHRVQgKGYpKTsKICNlbHNlCi0JICAgICAgZ3RrX3dpZGdldF9z aG93X2FsbCAoRlJBTUVfV0lER0VUIChmKSk7CisJICBndGtfd2lkZ2V0X3Nob3dfYWxsIChG UkFNRV9XSURHRVQgKGYpKTsKICNlbmRpZgotICAgICAgICAgICAgICB1bmJsb2NrX2lucHV0 ICgpOwotICAgICAgICAgICAgfQotCi0JICBmdWxsc2NyZWVuID0gUW5pbDsKKwkgIHVuYmxv Y2tfaW5wdXQgKCk7CiAJfQorCisgICAgICBmdWxsc2NyZWVuID0gUW5pbDsKICAgICB9CiAg IGVsc2UKICAgICB7Cg== --------------O1v80yibvXVVjmaMwMH18Tdn--
bug-gnu-emacs@HIDDEN
:bug#65217
; Package emacs
.
Full text available.Received: (at 65217) by debbugs.gnu.org; 18 Aug 2023 07:24:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 18 03:24:08 2023 Received: from localhost ([127.0.0.1]:46033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qWtq4-0002AC-6p for submit <at> debbugs.gnu.org; Fri, 18 Aug 2023 03:24:08 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:33057) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ext0l@HIDDEN>) id 1qWtq1-00029h-1c for 65217 <at> debbugs.gnu.org; Fri, 18 Aug 2023 03:24:07 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 999673200948; Fri, 18 Aug 2023 03:23:58 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 18 Aug 2023 03:23:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=catgirl.ai; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1692343438; x=1692429838; bh=kDMCLY3P2wMkzWVJzDTK74Cvr0W7H0GbssK npUyjnDM=; b=uAW6AtiSeBZo8SMz3iPP0mhZb6oajPSCw4KkOw8mpyfBvSREAZq jX8c+kPyLw3C1ErNAXMQMv5EbzD0RcvdZsDOS/zpTma9hFuZfUM2dKjcSgxGxYUW vvOBa0OzPXED9eNxtt6s51YQdX14cW8kodljGe5ZfpVM6D2FynwCiN7fBYCini8z u6AVoNplbov7XAZFBFdCcAc7bzhABkamW593X3sjAlYFFo3aLuIVCIE/u8ai0KYU GKCkcefTuaLukqfav8x1yY13mfQtgWvSkcB+WBmZagvueqwVjbsrU2hsCiVeykxv kkINK4X/DMAF7j0MZWzTfepd90jpjqalR7A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1692343438; x=1692429838; bh=kDMCLY3P2wMkzWVJzDTK74Cvr0W7H0GbssK npUyjnDM=; b=vVB50OCdtXEdcb9rVIRVDBGx5utkyfDqOnLyqZ9WOcfCD+huhYV I8D3Fgag6cxByCTQu8nybBuWZS+TRnQ7iLrcbwOENlhFuoER87IGpJ1TPuqKlZ52 kOfrU5GIKkRtYV2gQlqxmAQyuzCMRLZzGrYu4rgH93tmeNzXTYuzGtolj+e1MUWN VuggarZ1txFxyfm1WEu4j9abIuk1bI0AWMBpqjBF5wIUqea2ccllacvsQCxEWvM5 NDwHd78bnESwL1tbTxc5+ENgkeyLMonPX1NO3xMy5cdtIAkscuiWJU9TyQeibzCG zLBNPN1v60+lrKIdRs7F/bgTTmw6DS/glrw== X-ME-Sender: <xms:jRzfZK_MZF74nTTzeqh4mZg2QGNPZZD_kU1uo9gw8c58ReI-uthfaQ> <xme:jRzfZKt8Gnxzt877kUBe9Gf1D0t3jsFEVLnRkrcDwtVMONAAFGZlnEVh3C2BNeyOd RxxnziVGuqetezfPm0> X-ME-Received: <xmr:jRzfZAAPTdJt1xbr6J-hkNpEIuZpUFp3znABxvmdkrJngnX4Z35GmbJ0-iF9-UUoU4ImbiPuuq7wrlgrlXiaw6-r2a_Uuz4dNP54rtXFlgoyOA> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudduvddguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomheptehs hhcuoegvgihttdhlsegtrghtghhirhhlrdgriheqnecuggftrfgrthhtvghrnhepheeiud eludevhfeitdfftdfhgeegtdefteefveejhfdtffelvdelfedtfedttdelnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvgigthdtlhestggrth hgihhrlhdrrghi X-ME-Proxy: <xmx:jRzfZCfPLN90loJNgaFeSY4MjQA8B-NfNG1s5EKn1RDZaVN_9E8XMQ> <xmx:jRzfZPMBaU5R48A01YA2A4XLU8BNah4HDPzwKCI81Gm0JuQvEsVCsQ> <xmx:jRzfZMnCYMGcBDm9iJKqs65CkvUeTAxum0hd7mD5TegYwhakgr-SMA> <xmx:jhzfZF34ad5MIApf5TZyFGd0b2FDSxht5u74zi0ASq9HlMt-ouX_oQ> Feedback-ID: i98e14743:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 18 Aug 2023 03:23:57 -0400 (EDT) Message-ID: <55cd7e5c-3685-231a-77bb-16d4785ed9f0@HIDDEN> Date: Fri, 18 Aug 2023 00:23:56 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#65217: 29.1; set-frame-size gets confused and drops calls Content-Language: en-US To: Eli Zaretskii <eliz@HIDDEN> References: <3444890c-9111-5785-e683-8a2119e624b6@HIDDEN> <handler.65217.B.169170885617684.ack <at> debbugs.gnu.org> <ae2e34e0-f6dc-38a4-579d-b61a088da082@HIDDEN> <83sf8i578j.fsf@HIDDEN> <47724cb8-8448-e210-621f-9c3883bdc0ca@HIDDEN> <8dc2bd48-d285-9911-3b69-2506fb7ea2a5@HIDDEN> <83r0o051w5.fsf@HIDDEN> <0b210770-99d2-2fd6-ae76-8c44d5902ab5@HIDDEN> <83h6ow500n.fsf@HIDDEN> From: Ash <ext0l@HIDDEN> In-Reply-To: <83h6ow500n.fsf@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 65217 Cc: rudalics@HIDDEN, 65217 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On 8/17/23 23:37, Eli Zaretskii wrote: >> Date: Thu, 17 Aug 2023 23:04:06 -0700 >> Cc: rudalics@HIDDEN, 65217 <at> debbugs.gnu.org >> From: Ash <ext0l@HIDDEN> >> >> On 8/17/23 22:56, Eli Zaretskii wrote: >> >> Can we close this bug, or is there anything left to do here? >> >> IMO the fact that a set-frame-size call can fail to have an effect is absolutely a bug. > I disagree. It is a consequence of the fact that the actual resizing > is performed by the window manager, and that Emacs must wait for the > window-system response event to perform the resize correctly. Lisp > programs that perform several such operations in a row must inject > short wait periods to allow for the processing of the window-system > events. That's what Martin meant by saying that using sit-for solves > the problems. > > So this isn't a bug, but a limitation caused by the way Emacs's > interaction with the GUI systems is designed. If by "bug" you mean > that design, then it is pointless to keep such "bugs" open, since no > one is working on redesigning that aspect of Emacs, nor intends to do > so any time soon. I think if making this specific case work would require a substantial change then it's fine closing this out. But then I think there should be documentation that this can happen somewhere (in the general emacs documentation on frames, maybe with a link from the set-frame-size docs).
bug-gnu-emacs@HIDDEN
:bug#65217
; Package emacs
.
Full text available.Received: (at 65217) by debbugs.gnu.org; 18 Aug 2023 06:37:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 18 02:37:30 2023 Received: from localhost ([127.0.0.1]:45979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qWt6w-0000iL-IB for submit <at> debbugs.gnu.org; Fri, 18 Aug 2023 02:37:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1qWt6u-0000i5-30 for 65217 <at> debbugs.gnu.org; Fri, 18 Aug 2023 02:37:29 -0400 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 <eliz@HIDDEN>) id 1qWt6n-0004hQ-AY; Fri, 18 Aug 2023 02:37:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=TBum7hu+6yZs5BG+DF6J8XjlYiE9m+cr8KD7Oxg8KiI=; b=ZPcHIM6QYC6m 4x2upar+5I5E5l/UNnxkAmHS5S1g8NIyovkeRQJlXcmAdK/aJclUfHwOuuQaLFW087WFVIWu++Zi/ fLBVpUp3//9qEF2e6pBdhd0/rV6hUnGHm9HD7F7SQYlcady5jBlzPZi4hn4Pmw5b90EBdfuWAA0Mc Qn+X7krIGmjd5V3rtkZU4KMbwEX4ynbWyypZvAd23VNuBQBjjFl0GCUV4QokPh4PIlYgJSHvJOemz 9hzjMzG0EUbK8A4CDK9SMH7T1tavKKUN+mHfvOShd+ZxhWhOOIuPZPcZOlmqLNPV9eiiEDptDLfmR d2ZEfY31YCztugPkCM/CTA==; Date: Fri, 18 Aug 2023 09:37:28 +0300 Message-Id: <83h6ow500n.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Ash <ext0l@HIDDEN> In-Reply-To: <0b210770-99d2-2fd6-ae76-8c44d5902ab5@HIDDEN> (message from Ash on Thu, 17 Aug 2023 23:04:06 -0700) Subject: Re: bug#65217: 29.1; set-frame-size gets confused and drops calls References: <3444890c-9111-5785-e683-8a2119e624b6@HIDDEN> <handler.65217.B.169170885617684.ack <at> debbugs.gnu.org> <ae2e34e0-f6dc-38a4-579d-b61a088da082@HIDDEN> <83sf8i578j.fsf@HIDDEN> <47724cb8-8448-e210-621f-9c3883bdc0ca@HIDDEN> <8dc2bd48-d285-9911-3b69-2506fb7ea2a5@HIDDEN> <83r0o051w5.fsf@HIDDEN> <0b210770-99d2-2fd6-ae76-8c44d5902ab5@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65217 Cc: rudalics@HIDDEN, 65217 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Thu, 17 Aug 2023 23:04:06 -0700 > Cc: rudalics@HIDDEN, 65217 <at> debbugs.gnu.org > From: Ash <ext0l@HIDDEN> > > On 8/17/23 22:56, Eli Zaretskii wrote: > > Can we close this bug, or is there anything left to do here? > > IMO the fact that a set-frame-size call can fail to have an effect is absolutely a bug. I disagree. It is a consequence of the fact that the actual resizing is performed by the window manager, and that Emacs must wait for the window-system response event to perform the resize correctly. Lisp programs that perform several such operations in a row must inject short wait periods to allow for the processing of the window-system events. That's what Martin meant by saying that using sit-for solves the problems. So this isn't a bug, but a limitation caused by the way Emacs's interaction with the GUI systems is designed. If by "bug" you mean that design, then it is pointless to keep such "bugs" open, since no one is working on redesigning that aspect of Emacs, nor intends to do so any time soon.
bug-gnu-emacs@HIDDEN
:bug#65217
; Package emacs
.
Full text available.Received: (at 65217) by debbugs.gnu.org; 18 Aug 2023 06:04:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 18 02:04:19 2023 Received: from localhost ([127.0.0.1]:45936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qWsao-0008CX-P3 for submit <at> debbugs.gnu.org; Fri, 18 Aug 2023 02:04:19 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:34719) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ext0l@HIDDEN>) id 1qWsam-0008CG-MR for 65217 <at> debbugs.gnu.org; Fri, 18 Aug 2023 02:04:17 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 4296E3200954; Fri, 18 Aug 2023 02:04:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 18 Aug 2023 02:04:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=catgirl.ai; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1692338649; x=1692425049; bh=rs eW90t93bXfjkFwCnJOSpEP2iHkoQbo4+fa0UMWsfg=; b=N+jHp1OVnhZc/jIv8k SctO6tnfhhsHsbRYqo5L8b1OkPaXGjYSbWs4BzARBgMNnYJnWqrO12U+RSF+T+cA 37RPhzcaP0Wxh8j96MuLtByfSegpt1N5dW7bPic9ALu41xNcFOv157SASH6aUmgy tH9M5AWusGRi4EB4WUNjAl5l3BbIKd8b90wVy0IB4UPiwhcKY9L1wsL3h3sDh3Qc 0EgYHTXayV6ZEru3Gp5G5QV9Cfsi6tbwb7ON8wrQ6PMMpumbbGZe6MzJh6BxunQI 3w0nfsTfYas5WVcKkwus04/cvd+NKz/2gTbWaFRF/IWRIzRR1nK91Tz5qcR3mpUH 2+1g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1692338649; x=1692425049; bh=rseW90t93bXfj kFwCnJOSpEP2iHkoQbo4+fa0UMWsfg=; b=pdaDGhcEuncze3enoPB5RrZ5KAcSL 40FvJGrOkyA9sAQtz11XwAkEehys4j3l+DmfLZmBTzklrPrrGTa/kKgByLa2/R4Y cOWbHNbzvpbzHhyJKpLYcwsqXz/GE+D2z/4tqf9hazpRI4HruiPewiksd/XU5RNX bLsBWPsN8DNdxqNSX7SKgtsuEZ8YbZUKQ8ZcXJVNKhRTwsg4Fq+w3QQIhBwSepNi lsh0JWF5saRupwLnYwPLDeTox/f4eaznfAAvdmw+SP93PU7MBF3R2tV9vvtOG6lK v0C4X2ZE97ibYIyspp5OIC78pe4hxA6vWNt0KvYWj+okuWhnr+WiVccfA== X-ME-Sender: <xms:2QnfZBW_yepH49Wotd5UQlcWkqHgPEuIm_QCKtmAQyYMMuzDW8lf9A> <xme:2QnfZBlW5d4wrs2sI_v6UYu57KzRqU3bNNhdYah9rFFeDq66JKUEMgbq3ybjSq2Ww SO2PZf2144bIp9Y9Gs> X-ME-Received: <xmr:2QnfZNZ2bPc-6xQXqOYnSM9QHBnGfHTTz5zokgoYJYbbqo0RibhSdiAOSZ2gbrETq_p0ma0d7m872x__yQJEkAvaJUjKmulU-0e7SMCdDLGB0w> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudduvddguddtvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpegtkfffgggfuffvvehfhfgjsegrtderredtvdejnecuhfhrohhmpeetshhh uceovgigthdtlhestggrthhgihhrlhdrrghiqeenucggtffrrghtthgvrhhnpeekfeeuhf efffdtkeehjeeutddtjefhffeukeekuddthfekheekgfefvdetuefhvdenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegvgihttdhlsegtrghtgh hirhhlrdgrih X-ME-Proxy: <xmx:2QnfZEVJHjKFTgZdNjkxHYFhhZ5EedgnZjzcmCsgZOzq5HY-hTFBaA> <xmx:2QnfZLn0mCpIObzVVJIcagqtqVJS6qdSpFHRsQCLwmWQWQjxFg0Hag> <xmx:2QnfZBcFcRh-92PGWacv7xfTKRc3ap5txPt2PDW_1NuZGlnmJajN-Q> <xmx:2QnfZDtYudIGbJPcLCgNcc8iWsm6qgouQUyWo1IHh9g6Snr1ZlFSHw> Feedback-ID: i98e14743:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 18 Aug 2023 02:04:08 -0400 (EDT) Content-Type: multipart/alternative; boundary="------------303Q5V1hkInjT5VrCKrMAdSZ" Message-ID: <0b210770-99d2-2fd6-ae76-8c44d5902ab5@HIDDEN> Date: Thu, 17 Aug 2023 23:04:06 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#65217: 29.1; set-frame-size gets confused and drops calls Content-Language: en-US To: Eli Zaretskii <eliz@HIDDEN> References: <3444890c-9111-5785-e683-8a2119e624b6@HIDDEN> <handler.65217.B.169170885617684.ack <at> debbugs.gnu.org> <ae2e34e0-f6dc-38a4-579d-b61a088da082@HIDDEN> <83sf8i578j.fsf@HIDDEN> <47724cb8-8448-e210-621f-9c3883bdc0ca@HIDDEN> <8dc2bd48-d285-9911-3b69-2506fb7ea2a5@HIDDEN> <83r0o051w5.fsf@HIDDEN> From: Ash <ext0l@HIDDEN> In-Reply-To: <83r0o051w5.fsf@HIDDEN> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 65217 Cc: rudalics@HIDDEN, 65217 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) This is a multi-part message in MIME format. --------------303Q5V1hkInjT5VrCKrMAdSZ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 8/17/23 22:56, Eli Zaretskii wrote: > Can we close this bug, or is there anything left to do here? IMO the fact that a set-frame-size call can fail to have an effect is absolutely a bug. --------------303Q5V1hkInjT5VrCKrMAdSZ Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <p><br> </p> <div class="moz-cite-prefix">On 8/17/23 22:56, Eli Zaretskii wrote:<span style="white-space: pre-wrap"> </span></div> <blockquote type="cite" cite="mid:83r0o051w5.fsf@HIDDEN"> <pre class="moz-quote-pre" wrap="">Can we close this bug, or is there anything left to do here? </pre> </blockquote> IMO the fact that a set-frame-size call can fail to have an effect is absolutely a bug.<br> </body> </html> --------------303Q5V1hkInjT5VrCKrMAdSZ--
bug-gnu-emacs@HIDDEN
:bug#65217
; Package emacs
.
Full text available.Received: (at 65217) by debbugs.gnu.org; 18 Aug 2023 05:57:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 18 01:57:08 2023 Received: from localhost ([127.0.0.1]:45921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qWsTs-0007yT-6u for submit <at> debbugs.gnu.org; Fri, 18 Aug 2023 01:57:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1qWsTq-0007xq-A1 for 65217 <at> debbugs.gnu.org; Fri, 18 Aug 2023 01:57:07 -0400 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 <eliz@HIDDEN>) id 1qWsTi-00017j-Iv; Fri, 18 Aug 2023 01:56:59 -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=Mja1jsVHpch+Cq/ck+UlSPOZfPxZFeGNdVpfhxjlDf8=; b=TOIhNCHRQY32Rmjk4j32 Ee3t0ZdfXTtSYBj74qnEYeAD1KGwju1k6OuJeUfD+33lUz9WmZl/BBG1HtsWDdTFqcICIuHJ0aDMq USl1CPKbnRrnxAtq7W1SZmshhcZtIvHGKhmc+8EYvmhhX3/6RnYMf9Pati0iC/IshU6f0b6VHAXs/ +yWGpiF9nFDY5JvGSya2ViK/5WQYTc8iqCemC6GMBt1buRYfw2fMzBGLrs1VT2rPt/QdiT3+l6oO1 lhpYD/yhvirX6ZdPXJAHCB2455SIUB0g2wRS3zz+ANa63dfuoRfeaCimFKD8clD/NZC31UMa/a7C5 iPjRxONl3ONR5Q==; Date: Fri, 18 Aug 2023 08:56:58 +0300 Message-Id: <83r0o051w5.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Ash <ext0l@HIDDEN> In-Reply-To: <8dc2bd48-d285-9911-3b69-2506fb7ea2a5@HIDDEN> (message from Ash on Thu, 17 Aug 2023 18:13:31 -0700) Subject: Re: bug#65217: 29.1; set-frame-size gets confused and drops calls References: <3444890c-9111-5785-e683-8a2119e624b6@HIDDEN> <handler.65217.B.169170885617684.ack <at> debbugs.gnu.org> <ae2e34e0-f6dc-38a4-579d-b61a088da082@HIDDEN> <83sf8i578j.fsf@HIDDEN> <47724cb8-8448-e210-621f-9c3883bdc0ca@HIDDEN> <8dc2bd48-d285-9911-3b69-2506fb7ea2a5@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65217 Cc: rudalics@HIDDEN, 65217 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Thu, 17 Aug 2023 18:13:31 -0700 > Cc: 65217 <at> debbugs.gnu.org > From: Ash <ext0l@HIDDEN> > > > Hence, many comments but few good ideas. It would be interesting, > > however, whether others can observe different behaviors with these > > set-ups. > > > > Thanks for your attention, martin > > > https://github.com/casouri/eldoc-box/issues/68#issuecomment-1672313454 > > https://github.com/casouri/eldoc-box/blob/2663fd8834b7f2f5c659dc3b01006742a4922648/eldoc-box.el#L412 > > For the record, this is the context of how this bug was discovered. In > this specific case it was just a workaround for an issue related to > window-text-pixel-size and a '(space :width text) display prop, but we > (the eldoc-box maintainer and I) figured out another approach that > doesn't involve a spurious set-frame-size call. > > Anyway, thanks for the investigation :) I figured it was something along > those lines, but I'm not experienced in GTK or emacs's codebase. Can we close this bug, or is there anything left to do here?
bug-gnu-emacs@HIDDEN
:bug#65217
; Package emacs
.
Full text available.Received: (at 65217) by debbugs.gnu.org; 18 Aug 2023 01:13:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 17 21:13:45 2023 Received: from localhost ([127.0.0.1]:45777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qWo3c-0005yX-Up for submit <at> debbugs.gnu.org; Thu, 17 Aug 2023 21:13:45 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:41425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ext0l@HIDDEN>) id 1qWo3Y-0005yD-P7 for 65217 <at> debbugs.gnu.org; Thu, 17 Aug 2023 21:13:43 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 751A6320095A; Thu, 17 Aug 2023 21:13:34 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 17 Aug 2023 21:13:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=catgirl.ai; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1692321213; x=1692407613; bh=ftP/SeFiNmJ0sIgvcFPMT/n2bPkMupXde96 lfvTiqbM=; b=V8T1CpYDGQsxv19sJcNEYMAL1mIYSoramVCUjoVzPPfuc0RFW2z rJrjWAqitU21ruDeV5CmQKpj37CymTKMG3BWwcbrFxPpJkidqFJ3bMKvEOPGDGnE YPTFO5hU4cd0fiNGvFzhs5PAxMXN/M5/PgeSn+s+zXgduiJQ+Wjf4MW+Ak5ODhjL /cQC2gEd+/zhfJsLG+clGmmOOMsKrymjc+Hmu17w+4+KUvGfXOSZG9XptoYqWZfO frmyPyUo9BJmRnTAILKmC6z+/bpZn5ro1fDFWaAHKWqeZCMF7QQBJgNXJQTPAkDE nRaBRvLa+RxLqSkMoaOOcKxCykvAX1ufg5g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1692321213; x=1692407613; bh=ftP/SeFiNmJ0sIgvcFPMT/n2bPkMupXde96 lfvTiqbM=; b=KqcyQ63zZMKd6Oh2fLFVthx6SiM/SsbF5z/SpA3BFBrLX0bBfbO f7hjLNqCsZFB6QHAYIOgodIT82Hm/deuhMcOoghVFt2vBW0jDwAiSNrSiQegO9Vh EYLYXfRSaVSMJ+6O5YM855SFZkLEDdM4feXb2SSJ4MZwY9BaKalVVvhAT8WUHOhx Au0v4S4lkrNG37IaNFIUGuK8paHr+x2ey+l2Ifi1VB/MH5TpDNmAUPwmqwNCIPla aJiU6xe+Fs55yad1oGfBVL7CLeYLKJ9i/XdPBcPeS5n5e1VXB3KGebAX/SZMvVw0 WKiwt5InEsTxpummmag4tawhr/iOtWEomXQ== X-ME-Sender: <xms:vcXeZGOkRBF6oM-treuHqoWFnUsAgrIKtygYeHCmJa1s1pNw0zIJuQ> <xme:vcXeZE8MJbNx1UVgsWjA8uTHyYrUaxr-r3RO0Zy6tmlAgjH9xF4pVT48_3NWLovFw BL7-B5XURpTo8lnoqA> X-ME-Received: <xmr:vcXeZNSPCWJ-zep-3iYTOubblLff7EhnnUU4_CtRUqE2hUmZfJNgGgReDe0XaNB3Bmsvapd4dDjYBPUl13-o_hslPx7vFa7-2YNBpL7jBQN4sg> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudduvddggeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeetshhh uceovgigthdtlhestggrthhgihhrlhdrrghiqeenucggtffrrghtthgvrhhnpeduudfhve dtudetleduffejveettddvkeduveektefhvdeuiefgfeevtedtlefhveenucffohhmrghi nhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepvgigthdtlhestggrthhgihhrlhdrrghi X-ME-Proxy: <xmx:vcXeZGshngmoRfEA9v0-BwQV7vidXcvxmt5XqZNRgYbdj4VP2fd47A> <xmx:vcXeZOcgQv8vzFH21NLHpvufPDq-vPYr3Ed-8PDu69GIxjl2O1agaQ> <xmx:vcXeZK0okkDBSc2PFFbwGpjZcPc2JccG8Ki7VriD8K3X0cGGy_PeCw> <xmx:vcXeZCHP8dj5212sSycj794ng6PreRY81fPgaNZ6IkPVe5mxODl6TQ> Feedback-ID: i98e14743:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 17 Aug 2023 21:13:32 -0400 (EDT) Message-ID: <8dc2bd48-d285-9911-3b69-2506fb7ea2a5@HIDDEN> Date: Thu, 17 Aug 2023 18:13:31 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#65217: 29.1; set-frame-size gets confused and drops calls Content-Language: en-US To: martin rudalics <rudalics@HIDDEN>, Eli Zaretskii <eliz@HIDDEN> References: <3444890c-9111-5785-e683-8a2119e624b6@HIDDEN> <handler.65217.B.169170885617684.ack <at> debbugs.gnu.org> <ae2e34e0-f6dc-38a4-579d-b61a088da082@HIDDEN> <83sf8i578j.fsf@HIDDEN> <47724cb8-8448-e210-621f-9c3883bdc0ca@HIDDEN> From: Ash <ext0l@HIDDEN> In-Reply-To: <47724cb8-8448-e210-621f-9c3883bdc0ca@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 65217 Cc: 65217 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On 8/17/23 09:44, martin rudalics wrote: > >> (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? > > Many. Basically it's a bad idea to do the above. Setting up one size, > changing it to another one and then back to the initial one ... But > both 'set-frame-size' calls might be hidden in larger functions and so > the above can be seen as some kind of abstraction of a larger idea. > > What happens is that the (set-frame-size my/frame 10 10) has not been > yet processed by us at the time we run (set-frame-size my/frame 20 20): > Obviously so, since we run Lisp and do not process any configure events > in between. This means that the > > if (outer_width != gwidth || outer_height != gheight) > > check in gtkutil.c's xg_frame_set_char_size will tell that the window > already has the desired size and we do not send a second > gtk_window_resize request. In fact, when replacing the above line by > > if (true) // outer_width != gwidth || outer_height != gheight) > > the second request is processed and everything looks OK. Now that check > is not utterly necessary but omitting it might, if child frames should > be hidden during resizing, provoke flickering. Such flickering can be > already seen here with a Lucid build when running my/twiddle (otherwise > Lucid handles everything as expected). In the case at hand it's normal, > but if the frame should not change size, it should be ideally avoided. > > Unfortunately, the story does not end here. Suppose I do > > (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) > > instead, that is my/frame is shown in a completely normal top-level > window. In this case, the second resize request apparently gets ignored > (likely in gtk_window_move_resize but the real cause might be nested > somewhere else in the depths of GTK) and I get 10 as final width and > height which are also reported as such. Again, Lucid has no problem > processing this scenario as expected. > > As a final note, putting a (sit-for 0) in between the two > 'set-frame-size' calls so that the configure event gets processed in > between, fixes both scenarios on GTK builds here. > > Hence, many comments but few good ideas. It would be interesting, > however, whether others can observe different behaviors with these > set-ups. > > Thanks for your attention, martin https://github.com/casouri/eldoc-box/issues/68#issuecomment-1672313454 https://github.com/casouri/eldoc-box/blob/2663fd8834b7f2f5c659dc3b01006742a4922648/eldoc-box.el#L412 For the record, this is the context of how this bug was discovered. In this specific case it was just a workaround for an issue related to window-text-pixel-size and a '(space :width text) display prop, but we (the eldoc-box maintainer and I) figured out another approach that doesn't involve a spurious set-frame-size call. Anyway, thanks for the investigation :) I figured it was something along those lines, but I'm not experienced in GTK or emacs's codebase.
bug-gnu-emacs@HIDDEN
:bug#65217
; Package emacs
.
Full text available.Received: (at 65217) by debbugs.gnu.org; 17 Aug 2023 16:44:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 17 12:44:47 2023 Received: from localhost ([127.0.0.1]:45427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qWg75-00063A-0k for submit <at> debbugs.gnu.org; Thu, 17 Aug 2023 12:44:47 -0400 Received: from mout.gmx.net ([212.227.15.15]:47857) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1qWg70-00062s-GJ for 65217 <at> debbugs.gnu.org; Thu, 17 Aug 2023 12:44:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1692290673; x=1692895473; i=rudalics@HIDDEN; bh=NbpdRnx3SuWkJSOdqCb1WKMV1uVaemvb292dxn0/mwM=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=AzasfVikGSV35FAijWMN0KBIERjinp+ZtkO1/IHcrzRucCTEpS8U3ri65W0QSSYIn6jYcKE O3t79w3dxSeOdpLAjqrVGHzm1zmKNp1vhTJaE9o88lEjafe4pvd40pyqRilA2gLpzuIJ9xx4b 4duj1Qt/ocr96LNa+A28IVlj9yhGRX62rOU3qRY9d0ALE7POmggZ11VwAs66GvftfxIInSFs2 RnyltrdIlemDbK8gBmAs/KmmvE7wDeh53QgL8RMkCQB/UngZwLX9Xg0ldjR0HyXx4cYecObVz L5CIuKnGejK/oMyPzj42YAL/0zN5wNOnkyZxaKy46W2yMD9TvFZg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.1.100] ([46.125.249.16]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MD9X9-1qfmue350b-009Acm; Thu, 17 Aug 2023 18:44:33 +0200 Message-ID: <47724cb8-8448-e210-621f-9c3883bdc0ca@HIDDEN> Date: Thu, 17 Aug 2023 18:44:32 +0200 MIME-Version: 1.0 Subject: Re: bug#65217: 29.1; set-frame-size gets confused and drops calls Content-Language: en-US To: Eli Zaretskii <eliz@HIDDEN>, Ash <ext0l@HIDDEN> References: <3444890c-9111-5785-e683-8a2119e624b6@HIDDEN> <handler.65217.B.169170885617684.ack <at> debbugs.gnu.org> <ae2e34e0-f6dc-38a4-579d-b61a088da082@HIDDEN> <83sf8i578j.fsf@HIDDEN> From: martin rudalics <rudalics@HIDDEN> In-Reply-To: <83sf8i578j.fsf@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:K8CLV0gaixAabMB7Zs2cxkUThN6h7g9e8zKfRZU2CVxERxMc3uX Dzh+T/nXkUwPOLz3WUmut4gP9PE84gXjMRtIcYeBpP27CCGw8Rc12EMHqddMpFA5d5lHHv3 XjMSR1IxWFdZFHDlsI+FuVX9xEUprMwsAXffFNa8AM+dNzdx/DuzqprfnEtEGiM6ludxO6Q ovsljVPeG7xetoZpv5YTQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:tr+sEtl0Kug=;RQkgwCtJKQA8v+dPM0dYUJVfcBk gJNZ08A+WJmb4SGjAzsZtDOoqkv8KudOWUMolLG1HteophQKFUBfYr/vcD8KLIpD8AQjHDLIW PpvXpjpRF7kQnfeT/Vl2szVwifaYjKUOe98xs7mKwbMkKRJpcflfP1jdn2uSQw3r4NS4Dtiyy 1U2PEP8mdDaw7jUpNSxDxBzBOIMCehhszz2OkZhuuwzQTaztn/J7GtmAkmHEvdUw3f/hqPJTv RD8ki0aU/lfaaXxmUxjPXxvWOTF4orLk3qW0su+0JQnyTfnFQnqVn7SWUtyiTsoGj3WTQG4Z0 LJiF2xbB5xQrT4VOFhpKrUQUi4bVjBUolKu8PAzn7cQgtZ0peR9TcO9GL6/ndDwONQUj6wq9/ mI8A6Fx2Hj9IonQhfhulRZYMghGvwxPhvG5rZ1GD7GfldZa7gxYHbUeyNT0WMGz4NsKNhYain CnEGNeL2H75dSf7Ei/qK0EU8UO0CSLG0TL2VPVdXe9niFe33EiWhclfIo2ZR3OtLGwxrvWSef TBnWJhqSHxLpgc6vRIuNb3pvojcyQxKfGlSBQrGGcB02H4PrtjBBoz3SseDoaZVtIGDhfMDA5 KxjT4l2FhU/K3B2iaQ8N5gORZfQKZvNlhE7QNHvzkrEZVr8uZ0wt7HBxfkUW9XrtcrbYPEevf 9OkfBpOEz+YR3yxpe7JLkCNDEvcFEuPtUysY8iyaBerfj2kJukhlUNP0wLE4cr3GbVdUNbihV w5+8GLdkuB1OG8+qr+NriCq6uoNceFtCJBqqz7N/mGH1wLjv0n4SGgflo53faDI7qq0OA5OTh vcqKPa+rB9gaUzR4syHShBnp1IPXtXfvksYKALSgH3p0FMoc6rXmhWUEOrxNqdRqEWAxF8cA4 G+yddzEcEIxe8ZHvuV8w7d2fCFHhcnPF9uwppCWRTqGcVI+P4G5M1czAy6Tg+6gBesP1+ZMc2 mzMCvuIfQu32rfYgLJoco5tWCGs= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 65217 Cc: 65217 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) >> (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? Many. Basically it's a bad idea to do the above. Setting up one size, changing it to another one and then back to the initial one ... But both 'set-frame-size' calls might be hidden in larger functions and so the above can be seen as some kind of abstraction of a larger idea. What happens is that the (set-frame-size my/frame 10 10) has not been yet processed by us at the time we run (set-frame-size my/frame 20 20): Obviously so, since we run Lisp and do not process any configure events in between. This means that the if (outer_width != gwidth || outer_height != gheight) check in gtkutil.c's xg_frame_set_char_size will tell that the window already has the desired size and we do not send a second gtk_window_resize request. In fact, when replacing the above line by if (true) // outer_width != gwidth || outer_height != gheight) the second request is processed and everything looks OK. Now that check is not utterly necessary but omitting it might, if child frames should be hidden during resizing, provoke flickering. Such flickering can be already seen here with a Lucid build when running my/twiddle (otherwise Lucid handles everything as expected). In the case at hand it's normal, but if the frame should not change size, it should be ideally avoided. Unfortunately, the story does not end here. Suppose I do (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) instead, that is my/frame is shown in a completely normal top-level window. In this case, the second resize request apparently gets ignored (likely in gtk_window_move_resize but the real cause might be nested somewhere else in the depths of GTK) and I get 10 as final width and height which are also reported as such. Again, Lucid has no problem processing this scenario as expected. As a final note, putting a (sit-for 0) in between the two 'set-frame-size' calls so that the configure event gets processed in between, fixes both scenarios on GTK builds here. Hence, many comments but few good ideas. It would be interesting, however, whether others can observe different behaviors with these set-ups. Thanks for your attention, martin
bug-gnu-emacs@HIDDEN
:bug#65217
; Package emacs
.
Full text available.Received: (at 65217) by debbugs.gnu.org; 17 Aug 2023 09:49:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 17 05:49:23 2023 Received: from localhost ([127.0.0.1]:42790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qWZd5-0000Ws-ML for submit <at> debbugs.gnu.org; Thu, 17 Aug 2023 05:49:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1qWZd3-0000Wd-GW for 65217 <at> debbugs.gnu.org; Thu, 17 Aug 2023 05:49:21 -0400 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 <eliz@HIDDEN>) 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==; Date: Thu, 17 Aug 2023 12:49:16 +0300 Message-Id: <83sf8i578j.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Ash <ext0l@HIDDEN>, martin rudalics <rudalics@HIDDEN> In-Reply-To: <ae2e34e0-f6dc-38a4-579d-b61a088da082@HIDDEN> (message from Ash on Thu, 10 Aug 2023 16:16:30 -0700) Subject: Re: bug#65217: 29.1; set-frame-size gets confused and drops calls References: <3444890c-9111-5785-e683-8a2119e624b6@HIDDEN> <handler.65217.B.169170885617684.ack <at> debbugs.gnu.org> <ae2e34e0-f6dc-38a4-579d-b61a088da082@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65217 Cc: 65217 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Thu, 10 Aug 2023 16:16:30 -0700 > From: Ash <ext0l@HIDDEN> > > 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?
bug-gnu-emacs@HIDDEN
:bug#65217
; Package emacs
.
Full text available.Received: (at 65217) by debbugs.gnu.org; 10 Aug 2023 23:16:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 10 19:16:41 2023 Received: from localhost ([127.0.0.1]:44266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qUEtV-0004sB-By for submit <at> debbugs.gnu.org; Thu, 10 Aug 2023 19:16:41 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:36409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ext0l@HIDDEN>) id 1qUEtT-0004rq-1M for 65217 <at> debbugs.gnu.org; Thu, 10 Aug 2023 19:16:40 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 6AB9D320082A for <65217 <at> debbugs.gnu.org>; Thu, 10 Aug 2023 19:16:32 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 10 Aug 2023 19:16:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=catgirl.ai; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1691709391; x=1691795791; bh=TVEV9oslv3hzYvNeb3K+a9NUBYXNCBahyEN Q/uS5tTw=; b=T/H4s/b+PNdMHJgDCkJEw322hd7gK41vOE5pA/dR3dQrJce7Zpw Q80n9GpgkV4aHwFJzGccIT61fVo8WSZT+qWVUCNzsB1SHLEB+ChxZ5DN3vgKXeLf 314Y2WNVzpFEkVBQoFqwD7Td0hBDjlrKUsShqGiDJSDg11koDWBh09ElCyBYvdaG soLCg7wJUjmhTY25elDOtU7odaxEhqEKNh0OIKZNwQb0WHxESt+iaxcNUjuZXz1D S4yY9vbx9zJK5fQm+lnPLVxB+VGP0LPmqdaL1Af5guQfLnFJv2ZQ5PgXHiw7FJkM PN8shAD2Y1QWyVjj6MJpa1FkA5TrLnQOYcA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1691709391; x= 1691795791; bh=TVEV9oslv3hzYvNeb3K+a9NUBYXNCBahyENQ/uS5tTw=; b=F J4XWyx84wZYDGglFDCoAFSs1zUwF6wokvATrIZl007mDh94UBn8zZEd3+KOrGd7u WKvDB/SpXAphjq7lQG7E0sBYGc6CpAmk3LjRqnejZoJMjlQvBKPH7YqvS8d5dv0u 42w/XHtPYd9nFGLJncWWnwEIlcGoPPmXNCdfu5nQMt7hvmpU97U5+tYsDVZf6neV 8JsRY/p1jSvOjp4OEKEO4eAJODieCZ8U2LHTl1wJq55l9hd8Uv3aa/mJXHlaCDAa 9uOEoqixtnRy6z4QZEaOt5N5mgM0uaIyUn0oNsKuIbLVdF/ARkNsg3SiPBjRwQjd WLRgRKZwFP9DyYldeupdQ== X-ME-Sender: <xms:z2_VZChaZwuSdiA1rdIuaFCAEPFVPDhHwC_XBbQMs5_s91ErNZ-zCw> <xme:z2_VZDBv18piw4aivxjyHgie0CHQVibHWdm1fzgzqMYxCn0PB1YGciVcRYRoOQKh1 34FVqVbiqKjNa9rurs> X-ME-Received: <xmr:z2_VZKHPPwOrycvsV2Xsa6wwdmXJaYW2c0th2qUZ1djPHGt7JFBt18DxYjhDoogIhEX7IK8bL6P-UgknKdaCb5MS-oZ414tkHDXTFEYRdLkjiw> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrleejgddulecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekre dttddvjeenucfhrhhomheptehshhcuoegvgihttdhlsegtrghtghhirhhlrdgriheqnecu ggftrfgrthhtvghrnhepudduvdelvdfgteekhfejueethfffuefhfffghfffkeeutdetff efgfeludeikeeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepvgigthdtlhestggrthhgihhrlhdrrghi X-ME-Proxy: <xmx:z2_VZLR5BQK9WOS1GbwHjYBOpTCCJ4l6yJ6lXvl0O3cS9HPAjAbagQ> <xmx:z2_VZPxN4E0R-ZxvuJj5oR6k3OqMiGclIN3fNNmdJhOokuf5nUxS9Q> <xmx:z2_VZJ44yJvFrbtMjecigS4DeYN_oPuTCQKqWDeJcYRzsml8VVXOSQ> <xmx:z2_VZAtYiEXJhCfJ9d6VIdhCd34YWjAW-watscnqkvdkS25VMfU-aQ> Feedback-ID: i98e14743:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <65217 <at> debbugs.gnu.org>; Thu, 10 Aug 2023 19:16:31 -0400 (EDT) Message-ID: <ae2e34e0-f6dc-38a4-579d-b61a088da082@HIDDEN> Date: Thu, 10 Aug 2023 16:16:30 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: 29.1; set-frame-size gets confused and drops calls To: 65217 <at> debbugs.gnu.org References: <3444890c-9111-5785-e683-8a2119e624b6@HIDDEN> <handler.65217.B.169170885617684.ack <at> debbugs.gnu.org> Content-Language: en-US From: Ash <ext0l@HIDDEN> In-Reply-To: <handler.65217.B.169170885617684.ack <at> debbugs.gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: 65217 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.7 (--) 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).
bug-gnu-emacs@HIDDEN
:bug#65217
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 10 Aug 2023 23:07:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 10 19:07:36 2023 Received: from localhost ([127.0.0.1]:44258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qUEki-0004bA-2o for submit <at> debbugs.gnu.org; Thu, 10 Aug 2023 19:07:36 -0400 Received: from lists.gnu.org ([2001:470:142::17]:32802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ext0l@HIDDEN>) id 1qUEkc-0004ao-Qc for submit <at> debbugs.gnu.org; Thu, 10 Aug 2023 19:07:34 -0400 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 <ext0l@HIDDEN>) id 1qUEkW-00005Z-SJ for bug-gnu-emacs@HIDDEN; Thu, 10 Aug 2023 19:07:25 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ext0l@HIDDEN>) id 1qUEkU-0002ha-EU for bug-gnu-emacs@HIDDEN; Thu, 10 Aug 2023 19:07:24 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 3B899320094F for <bug-gnu-emacs@HIDDEN>; Thu, 10 Aug 2023 19:07:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 10 Aug 2023 19:07:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=catgirl.ai; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm3; t=1691708836; x=1691795236; bh=yY QAQonDTyhO/BbYbwI/oQYaLev2uIIxx3oxMrIeDDY=; b=JTnZhCmm8nVIn3dL+X F5o8ZoRcUHBQkArtpQgnTK8hnNJtR9S1MCHFEfYcVt/OTlYz/viNQQeWEttclxpu nXt2FJFzOxExOyAV1jALQaDF+cRh9Y4vPsi4ihY5SD4qZGlbMZqqSFzBhAVGWFy7 QvTHp+zKrrA7DKejoY26Q7PPmgjSqISppRSntTsyRTyHwMfZoVfoNKd4l52cI2BB 350/9sfJW/biNMjFsgfhcqQpUtCD3aH49ifQKQl0R5W6ExBigUdG0NSVQ5iom7RK SeAYHqlqj6dBZ60OumzCY7M3w4daZlkjT90GAnqrNuiEPpoofNLbugeohwdSUD+D Cpew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1691708836; x=1691795236; bh=yYQAQonDTyhO/ BbYbwI/oQYaLev2uIIxx3oxMrIeDDY=; b=2RIkmPATBJ5WCjaIX/dT6FoNQmF07 XWOOKosZDcbQ/ZG7bQ5ETdM0DbY4kuJdxNUPk++l+auDybV+4G89X8GQ73cVDwUp n8Q5V1q3cMHvlLk0VUko0mm12ioISAg0YYakN1rMySxOg5mTOynew9dnJ+w8Au9U g0M8Gzs51zJPUI+RaHz8TU9hv9bSYAPl9y3rWU1HQl0H80oEXwXQ/FjJn8uEwUU1 WAA1omBENVbTNJxowpNxDsK4De2U3c4jUUdijjpuloXLmVW9qDnemNvhJl/k6H5k h3g+6bnYRxQxfglODf7xFXfylz4TDER9uJ/KPXCanZCPpvJgut7fA5pWA== X-ME-Sender: <xms:pG3VZA1qjvayBuRjNNWnS6YVjF67XXqYHFzi3QFwG33i7-d-HQxqsw> <xme:pG3VZLHx3D_Pu0p60l1-wiEp_kwDTXboAaYlb9D-jhn1Vyigq_2Rh23NdbcyG1SnB hXQvhiQ3tleWFFaJ7s> X-ME-Received: <xmr:pG3VZI5GxPYSennwBnGdayyJxvD_0FlEf3gKRR4ppf8VL0PMgj0aHmUmTteo4XWHZik3HpLlkWMrdXzID3yFZcTrbWlXlt9GsemRXqnc5QnAVQ> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrleejgddujecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfvffuhfgtgfesthejredttd dvjeenucfhrhhomheptehshhcuoegvgihttdhlsegtrghtghhirhhlrdgriheqnecuggft rfgrthhtvghrnhepudekgedthefgteeflefgueegteevtdfffffhgfdtieetvdejudfgge fhvdduveelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepvgigthdtlhestggrthhgihhrlhdrrghi X-ME-Proxy: <xmx:pG3VZJ0KwdzDqDuAOIRr6cjlyE0HVt94YT-2528mTetYFsWxBChZFw> <xmx:pG3VZDFXupjXL93o0tsIMjPpYEhU60-Ua0HxpxyDP5Rt2CTQELi5Aw> <xmx:pG3VZC_Cv9Eb2nvK0RjU9WiQJh-JGrd0E2E003kOdV6wbiZUGiIdkQ> <xmx:pG3VZKxJ8cIZKbsHCzWv_Z_9LrSX5JX6plyG-3Uxt3606hr3yc5HEQ> Feedback-ID: i98e14743:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <bug-gnu-emacs@HIDDEN>; Thu, 10 Aug 2023 19:07:15 -0400 (EDT) Message-ID: <3444890c-9111-5785-e683-8a2119e624b6@HIDDEN> Date: Thu, 10 Aug 2023 16:07:14 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: bug-gnu-emacs@HIDDEN Subject: 29.1; set-frame-size gets confused and drops calls Content-Language: en-US From: Ash <ext0l@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=64.147.123.20; envelope-from=ext0l@HIDDEN; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.4 (/) From emacs -Q: (setq my/frame (make-frame `((left . 500) (top . 5) (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 call (my/twiddle 20 20). It prints "20 20", but the actual frame size is 10x10. However, if you recreate the frame and then call (my/twiddle 40 40) (or any size other than 20x20), the size is set correctly. I'm running under Wayland using sway. In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) System Description: NixOS 23.11 (Tapir) Configured using: 'configure --prefix=/nix/store/wc5fv03d7fdrhm76zgjji4n32zh3qqjd-emacs-pgtk-29.1 --disable-build-details --with-modules --with-pgtk --with-native-compilation --with-tree-sitter --with-xwidgets' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM XWIDGETS GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/d Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns radix-tree cl-print byte-opt debug backtrace find-func cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads xwidget-internal dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 86128 9402) (symbols 48 7551 0) (strings 32 21356 1429) (string-bytes 1 678192) (vectors 16 17914) (vector-slots 8 361954 18429) (floats 8 35 48) (intervals 56 286 0) (buffers 984 14))
Ash <ext0l@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#65217
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.