From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Van Ly via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74496: 30.0.91; fullscreen frame set with F11 is shifted when ctwm restarts Date: Sat, 07 Dec 2024 14:03:46 +0000 Message-ID: References: Reply-To: Van Ly Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13354"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, 74496@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 07 15:04:19 2024 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 1tJvPu-0003Ld-D6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Dec 2024 15:04:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJvPh-00006V-8S; Sat, 07 Dec 2024 09:04:05 -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 1tJvPf-00005f-6A for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 09:04:03 -0500 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 1tJvPe-0007Zv-U4 for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 09:04:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:In-Reply-To:From:To:References:Subject; bh=nzFwxjFlX2/wO5DJKVjHCX1iw9OhJKgyarOs5B5Jeqw=; b=TuWWiumDdWAF5h2qZ7p6phjV6Uq9k3LsOiJFk2va1qV0ZBsdi5rxDegue0KiqNLZD6RcnoHHJa4/IKzVSQY6NvQfunymj/SWCK9NLCrjwDzjcTAvm4+vQ01/KEqT6+JFV9g1t2+1hYVJTBdQgCYTIxJJ/AN7DmHma3lw4gHRHf58RJ9k41RRtQdLihuN5lY/3YKtKyO8SMt4kA09SBgAmaQEvh68JfYHcpWD8GJaKIvqYAXpRDP6HTQPHM7Hlw3ZeaBig+eXcj6+2ifUPEMf6USxSo/7fg/9EsrcQN3p0ZmCezm3zsEImUChx641r3TtZfQJBsimICDX0azhr0qX7g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJvPe-0006yU-Hd for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 09:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Van Ly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Dec 2024 14:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74496 X-GNU-PR-Package: emacs Original-Received: via spool by 74496-submit@debbugs.gnu.org id=B74496.173358023326792 (code B ref 74496); Sat, 07 Dec 2024 14:04:02 +0000 Original-Received: (at 74496) by debbugs.gnu.org; 7 Dec 2024 14:03:53 +0000 Original-Received: from localhost ([127.0.0.1]:46037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJvPU-0006y4-Nv for submit@debbugs.gnu.org; Sat, 07 Dec 2024 09:03:53 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:49254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJvPS-0006xu-64 for 74496@debbugs.gnu.org; Sat, 07 Dec 2024 09:03:51 -0500 Original-Received: from sdf.org (iceland.freeshell.org [205.166.94.5]) by mx.sdf.org (8.18.1/8.14.3) with ESMTPS id 4B7E3l2r014303 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sat, 7 Dec 2024 14:03:48 GMT Original-Received: (from van.ly@localhost) by sdf.org (8.18.1/8.12.8/Submit) id 4B7E3kr6018162; Sat, 7 Dec 2024 14:03:46 GMT In-Reply-To: <2b771286-a64a-4ab4-bc9b-716401e2be70@gmx.at> (message from martin rudalics on Fri, 6 Dec 2024 11:42:49 +0100) 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:296569 Archived-At: martin rudalics writes: > More interesting is the following: With 'frame-resize-pixelwise' nil > zooming a frame vertically gets me a pixel height of 962. With > 'frame-resize-pixelwise' t it gets me 976. So please try again setting > > (setq frame-resize-pixelwise t) > > and do it in your init file. Its doc-string says explicitly > > With some window managers you may have to set this to non-nil in order > to set the size of a frame in pixels, to maximize frames or to make them > fullscreen. To resize your initial frame pixelwise, set this option to > a non-nil value in your init file. That first time I measured the frame attributes and the values persisted after a ctwm restart was from (setq frame-resize-pixelwise t) you were expecting values to be different from the first data capture I reported and I had misattributed the cause to be the presence of a maximized full screen. I hadn't put that setting in the init file and forgot about that. Below is the state of the windowframes. ;; with frame-resize-pixelwise setting confirmed (setq-default frame-resize-pixelwise t) Fullboth after F11 xwininfo: Window id: 0x4001aa "*About GNU Emacs*" Absolute upper-left X: 0 Absolute upper-left Y: 0 Relative upper-left X: 0 Relative upper-left Y: 0 Width: 1920 Height: 1080 Depth: 24 Visual: 0x20 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x22 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +0+0 -0+0 -0-0 +0-0 -geometry 1902x1057+-3+-3 (frame-geometry) => ((outer-position -3 . -3) (outer-size 1920 . 1080) (external-border-size -3 . -3) (outer-border-width . 0) (title-bar-size 0 . 6) (menu-bar-external . t) (menu-bar-size 0 . 0) (tab-bar-size 1918 . 21) (tool-bar-external) (tool-bar-position . top) (tool-bar-size 0 . 0) (internal-border-width . 1)) (frame-parameter nil 'fullscreen) => fullboth Fullboth after restart xwininfo: Window id: 0x4001aa "*About GNU Emacs*" Absolute upper-left X: 0 Absolute upper-left Y: 0 Relative upper-left X: 0 Relative upper-left Y: 0 Width: 1920 Height: 1080 Depth: 24 Visual: 0x20 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x22 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +0+0 -0+0 -0-0 +0-0 -geometry 1902x1057+-3+-3 (frame-geometry) => ((outer-position -3 . -3) (outer-size 1920 . 1080) (external-border-size -3 . -3) (outer-border-width . 0) (title-bar-size 0 . 6) (menu-bar-external . t) (menu-bar-size 0 . 0) (tab-bar-size 1918 . 21) (tool-bar-external) (tool-bar-position . top) (tool-bar-size 0 . 0) (internal-border-width . 1)) (frame-parameter nil 'fullscreen) => nil Maximized xwininfo: Window id: 0x400220 "*About GNU Emacs*" Absolute upper-left X: 3 Absolute upper-left Y: 3 Relative upper-left X: 0 Relative upper-left Y: 0 Width: 1914 Height: 1074 Depth: 24 Visual: 0x20 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x22 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +3+3 -3+3 -3-3 +3-3 -geometry 1896x1051+0+0 (frame-geometry) => ((outer-position 0 . 0) (outer-size 1914 . 1074) (external-border-size -3 . -3) (outer-border-width . 0) (title-bar-size 0 . 6) (menu-bar-external . t) (menu-bar-size 0 . 0) (tab-bar-size 1912 . 21) (tool-bar-external) (tool-bar-position . top) (tool-bar-size 0 . 0) (internal-border-width . 1)) (frame-parameter nil 'fullscreen) => maximized Maximized after restart xwininfo: Window id: 0x400220 "*About GNU Emacs*" Absolute upper-left X: 3 Absolute upper-left Y: 3 Relative upper-left X: 0 Relative upper-left Y: 0 Width: 1914 Height: 1074 Depth: 24 Visual: 0x20 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x22 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +3+3 -3+3 -3-3 +3-3 -geometry 1896x1051+0+0 (frame-geometry) => ((outer-position 0 . 0) (outer-size 1914 . 1074) (external-border-size -3 . -3) (outer-border-width . 0) (title-bar-size 0 . 6) (menu-bar-external . t) (menu-bar-size 0 . 0) (tab-bar-size 1912 . 21) (tool-bar-external) (tool-bar-position . top) (tool-bar-size 0 . 0) (internal-border-width . 1)) (frame-parameter nil 'fullscreen) => nil -- vl