From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#60585: 30.0.50; global-text-scale-adjust shrinks window (was not before) Date: Sat, 07 Jan 2023 10:05:21 +0800 Message-ID: <87wn5zhzfi.fsf@yahoo.com> References: <86mt6wk45n.fsf@protected.rcdrun.com> <838rigw413.fsf@gnu.org> <371ba1d0be2ed2587dfd@heytings.org> <371ba1d0be28b1aabd0f@heytings.org> <371ba1d0be89572f1189@heytings.org> <371ba1d0beba84f0a6e6@heytings.org> <371ba1d0be604e224bc9@heytings.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30999"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 60585@debbugs.gnu.org, Gregory Heytings , Eli Zaretskii To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 07 03:06:21 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 1pDybE-0007qK-Tq for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Jan 2023 03:06:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDyb5-0004a3-BC; Fri, 06 Jan 2023 21:06:11 -0500 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 1pDyax-0004Zi-So for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2023 21:06:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pDyaw-0003y9-6N for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2023 21:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pDyav-0003Oy-PZ for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2023 21:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Jan 2023 02:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60585 X-GNU-PR-Package: emacs Original-Received: via spool by 60585-submit@debbugs.gnu.org id=B60585.167305713813034 (code B ref 60585); Sat, 07 Jan 2023 02:06:01 +0000 Original-Received: (at 60585) by debbugs.gnu.org; 7 Jan 2023 02:05:38 +0000 Original-Received: from localhost ([127.0.0.1]:56191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDyaY-0003O9-FE for submit@debbugs.gnu.org; Fri, 06 Jan 2023 21:05:38 -0500 Original-Received: from sonic301-30.consmr.mail.ne1.yahoo.com ([66.163.184.199]:45815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDyaW-0003Ns-Iu for 60585@debbugs.gnu.org; Fri, 06 Jan 2023 21:05:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1673057130; bh=wjpm/nwuDqI7R9E873oTiJA57Fr4nm1vheqMmTvhAS8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=fCj+Bjtgj+khSyhdbbLOTuK61N/XDT9GQOegD0KkmOEOfMGNw1wDqRWrcCmDwcp2GDSHQn2CeUserkjpjNdEj1p24a5g+UgO8bBR+F8cYlF5/9oEBQdHUO4VjJkkLQN1xA+vepZr2A8k2pPtSJB8baH9uqLN0pytWigu3+e0bftpcv2UILedQxvKztNkT+2NioFkJcuCfG3PwcozdsyIDBKfT0pNRDW/dm0yMHy1cK0C1wKF2QsUphH8kcyIraAqygzeoH1X6egaa/tFQFBVfr2Gnlq5XQWBegAsw6Y9MQxsOnjSumRbGARBeOFm9czRC2tWgIgL0M9FC/UjyMOJkg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1673057130; bh=EQMPyw4PX1MOQwPBivulsFGYL6Q+yKW9FrIj/HSoA7F=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=fW2TFwICkTccQHFP5fbro/vLr2C/q83K2iiqn6qp8iQoiK88396upGBQBtybpK00i1CFwHW8hK56KRmxHN63EqBvVentAcCNr7EQXtxIXIKakBdCJqra8P4yG/Xr6ZioHZrdCqV1mIdz3uLlEMxUW0xGC94fc2AFtzMMhSAKd0qFay/CsvPG1kNPi0jzBGjQ62bk7gFm5Hb5tX9D3rKnj64r07OzMiPXWZsr14cPV9GPC1HLBy7IwTVeniLB9BJwlBsfT4u27c1YktfS1KATcb8F/6iRZ5HpLyUhwb7aiseIJJi9FspPcfN+7X4WzIG15NFOf19k8Q593offH/A21A== X-YMail-OSG: pvBzD8kVM1m8og7Cwp0c6C.RzBwMn7hve4dN6DgiihiatgONxQPHTUz4_q9IgVp TSH.pWZ_LBRokIwhVMMEOCfQulzZB8FO6Wpacyjlkm3aj9a1s3OL8mtvUS8385Z.gpG8vXxhLkTf TL8cqimYo3S9mtR9fR2OPcwtGsP2WPgrB_r7z8pvTT4KEBIpVJquR3knZtl2eTgTTP_nnmYBVGMC N96PWqxI9EE9YUaF0Z7eTC8DmO64vBJ90ofCCfn_E4.PTNBj2tB477iCfDmuPh7PN5HCXZni_3nO .fNvcX4TaWLgylIk6vqDn6M80yUv7vwdDL1ZyDq3xDCJa3nc87HKh0O6m0WINndjnxweC1RL9gtv J11sN0OVjYnG1nUoshrHmnnqxGwWLEm7DpQLZADQTLqOXtwhCimsCDC2hs6v7vADOdMMsjeEtBa5 rFeeWq6fwFDEHE251JCMuuMkAqEoSb5CxW93Jp4hcSmZ1L2KSCEH1.8ve5twh63Ukes.PwpHyvdz CpsUmCwMcCfjAlvRLAhtsce.T7aDfZYCmOrg3AYKgGbKUTr3F.k46IZKw54XwyaSddLjvqENx08D q86iEjU.IzQmi8uWLzgt1M8mGFpo5GGm7WXBgow0H0B29E9FVB81gXUPi6TpBnP9C6tDm62Md1cI 8SFjQENHmMgZBpr_CJu7UIUwyATXC1ngm76tZTA0OTXXvmsUU1bVx2wNzUaeY2Jy6mjx_9lKPvo1 9IMmsEfdWnwvhJ.f2yZg_0xPDegOp4Oxm28izVgQy1JeLExxLIcHn18zCyxVV12.Zjmp4lzmCpBb 8cpi6.xcb38xJlheiqPRmZAySpunWJH4JMrMdJfFpN X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Sat, 7 Jan 2023 02:05:30 +0000 Original-Received: by hermes--production-sg3-b666c6484-8hzhs (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2e40114e20f4ccd3dc22c6fe2b2f87be; Sat, 07 Jan 2023 02:05:28 +0000 (UTC) In-Reply-To: (Jean Louis's message of "Sat, 7 Jan 2023 01:24:04 +0300") X-Mailer: WebService/1.1.20982 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:252764 Archived-At: Jean Louis writes: > * Gregory Heytings [2023-01-07 01:05]: >> I looked at this problem again, and found that, here at least, it >> disappears when you turn scroll-bars off. Is that also the case on >> your system? > > Yes, when I turn off scroll bars, I can't see that problem. > > Hints are here: > https://github.com/ice-wm/icewm/issues/115 > > so there is something to be set up in Emacs. I'm sure your window manager is just enforcing a strict increment policy on to clients. It is ok for window managers to do this. And the scroll bars just happen to be the right size to break the increments with your specific font, on your specific system. Normally, window managers only perform increment processing when configuring a window. But some listen to the window property and apply the increment the moment Emacs sets the hints on a frame. There is nothing wrong with this behavior, not in the window manager, and not in Emacs. On the GTK builds, emacsgtkfixed.c overrides several Xlib functions to essentially fit the increment to the frame, because otherwise GTK will set some outrageous increment that will cause Emacs to constantly shrink on some window managers (not just when the frame font is changed.) This is not needed in the Xt and no toolkit builds. If you turn on frame-resize-pixelwise and create a new frame, does the problem go away?