From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#65217: 29.1; set-frame-size gets confused and drops calls Date: Mon, 21 Aug 2023 08:30:11 +0000 Message-ID: <77daee02cfc4d796b885@heytings.org> 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> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11147"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ash , Eli Zaretskii , 65217@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 21 10:31:12 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 1qY0Jb-0002f1-U0 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Aug 2023 10:31:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qY0JU-0005Op-TV; Mon, 21 Aug 2023 04:31:04 -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 1qY0JQ-0005OM-6n for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2023 04:31:01 -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 1qY0JP-0001QR-VF for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2023 04:30:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qY0JS-0005gN-0y for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2023 04:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Aug 2023 08:31: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.169260661721787 (code B ref 65217); Mon, 21 Aug 2023 08:31:01 +0000 Original-Received: (at 65217) by debbugs.gnu.org; 21 Aug 2023 08:30:17 +0000 Original-Received: from localhost ([127.0.0.1]:55501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY0Ii-0005fL-TR for submit@debbugs.gnu.org; Mon, 21 Aug 2023 04:30:17 -0400 Original-Received: from heytings.org ([95.142.160.155]:47558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY0Ig-0005fA-NX for 65217@debbugs.gnu.org; Mon, 21 Aug 2023 04:30:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1692606611; bh=/hCQQe76W++eqoEbn8goT70KBWwnqrrJDIFWsXgJz5M=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=MeekiFYs87Q/b/DJ4zhkOFSQJneLO0EkyLXvdxWBKaLkNLSiElNswdMjdwwGwoMi1 RzdzDV0NVYss8e+q2MawX3yD7YVNzi2GDa3K3WAqAMUw5RejRbGDib6Agrfft0u9BX HmIeyk6e/GSRL3byZOkOBA+XQTw9sMYI4X1ozXEdvnmpkgIYiRsgiXJGyrVTrjbduW R9jvXI4au/e0FpLC1kAaXZ3SHkK/m601HAF36S9CrqQLIyISAndrpPuT1EX8MkAqEe fMUH+yBvZuDKnp0axFPWkg+DSQlWwsTr9pIl0rSi7YY+95WGv29rQ5d9SnvFcW58jK gZRHk/JMYoRiw== In-Reply-To: <7a24940b-4d6e-7e7c-d81d-b9815e1d0fbb@gmx.at> 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:268070 Archived-At: > > The scroll bar is displayed and hidden repeatedly in either case- The > surprising thing is that with GTK3 the frame shrinks continuously. > 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). >> But ISTM that telling Elisp programmers that such requests are >> "committed" asynchronously, and that they can "commit" them immediately >> by calling (redisplay t), should solve most similar problems. > > People changing the tab bar or the default font may be hardly aware of > the fact that the toolkit stochastically resizes their frames behind > their backs. > 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?