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: Sun, 01 Dec 2024 09:59:23 +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="18555"; 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 Sun Dec 01 11:00:30 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 1tHgkf-0004eQ-HY for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Dec 2024 11:00:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHgkI-0004Nk-LY; Sun, 01 Dec 2024 05:00:06 -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 1tHgkF-0004NV-Ld for bug-gnu-emacs@gnu.org; Sun, 01 Dec 2024 05:00: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 1tHgkF-0001ru-7q for bug-gnu-emacs@gnu.org; Sun, 01 Dec 2024 05:00:03 -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=MVvDDdOxhUyzjudx4RblQQz5I6nkibK9902yQxUA0F8=; b=nkuPvnJFrkdQpDBdK/7cRxEVx9CSLPyMq2rl/CpngMoKOSDDdtqTiAiYYIJE8og1sF6RMnrhUb2SGU3Q0MmZJ1S7pr3tD+W7ORNXZpsPN9JZX5+Iu1FOgfpFiR+5FiSjAXTaonZDMm9VEv95AIWqGinQPLBIW4JBTXcl9fv7PsrTKSQlYsXW4jySbTPkt/i1fImwM7GFyZhDYKGQ4k70/gWAa5sJfkqfQUmelsMWhPJzXQZ3A3LgO6P45XQFkl5V31a+P4A41SmksbQT1iZ9HhFUabUPSwWchAOCKoAFLsfJ8UrbLlKFpe0LLCewt+uKVJmBOtb4bWA91ZhZ2KZ1dw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHgkF-0007AL-0d for bug-gnu-emacs@gnu.org; Sun, 01 Dec 2024 05:00:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Van Ly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Dec 2024 10:00: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.173304716727448 (code B ref 74496); Sun, 01 Dec 2024 10:00:02 +0000 Original-Received: (at 74496) by debbugs.gnu.org; 1 Dec 2024 09:59:27 +0000 Original-Received: from localhost ([127.0.0.1]:50323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHgjf-00078c-DA for submit@debbugs.gnu.org; Sun, 01 Dec 2024 04:59:27 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:55417) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHgje-00078U-1Y for 74496@debbugs.gnu.org; Sun, 01 Dec 2024 04:59:26 -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 4B19xOIo009918 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sun, 1 Dec 2024 09:59:24 GMT Original-Received: (from van.ly@localhost) by sdf.org (8.18.1/8.12.8/Submit) id 4B19xO0d012660; Sun, 1 Dec 2024 09:59:24 GMT In-Reply-To: (message from martin rudalics on Sun, 1 Dec 2024 09:46:38 +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:296231 Archived-At: martin rudalics writes: > > An emacs session that never uses CTWM's `toggle zoom' to "maximize" > > Could you please explain how that toggle works and how an emacs session > can use it? IIUC without it you see the problem below. With it you > don't see the problem. Does it have any detrimental side-effects to set > that toggle? > I use a CTWM keyboard shortcut that pops up a `Window' context menu over the emacs frame. Included is a section that lists Window - Zoom - Zoom-V - Zoom-H Using `Window, Zoom' effects the `maximize' operation on the frame, the frame border shows while the frame occupies all of the screen. When this maximized frame is in a CTWM virtual workspace and has as neighbors that are F11 invoked fullscreen frames, CTWM restart does not cause the shift at the bottom frame edge upwards by a few pixels. > > 5 ;; Z. F11 fullscreen after > > 6 (frame-geometry) > > => 7 ((outer-position -3 . -3) (outer-size 1920 . 1072) (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 . 14) (tool-bar-external) (tool-bar-position . top) (tool-bar-size 0 . 0) (internal-border-width . 1)) > > But this is a difference of 8 pixels and nowhere near the 50 pixels you > mentioned earlier. > The 50 pixels was my rough guess estimate. The measured value is 8 pixels. > > 8 > > 9 ;; A. F11 fullscreen before > > 10 (frame-parameter nil 'fullscreen) ; => fullboth > > 11 > > 12 ;; Z. F11 fullscreen after > > 13 (frame-parameter nil 'fullscreen) ;=> nil > > > > Using CTWM's `toggle zoom' to "maximize" allows the F11 fullscreen to > > persist across CTWM restart. > > Not really IIUC. The 'fullscreen' status is reset in either case. > In an emacs session, I arrange for 3 CTWM virtual workspaces to each display an emacs frame fullscreen invoked by F11. CTWM restart causes the bottom edge to shift upwards by 8 pixels. Undesired behavior. In a new, quit and start again, emacs session, I arrange for 3 CTWM virtual workspaces to display 2 emacs frames fullscreen invoked by F11 and 1 emacs frame `maximized' full screen with border edges showing. CTWM restart does not change how the frames are displayed. Desired behavior. Using CTWM's `Window, zoom' that sees the following result lets the F11 fullscreen and `maximized' full screen with border edges persist across CTWM restart. Desired behavior. =>27 (frame-parameter nil 'fullscreen) ; => maximized The puzzle is why having only F11 `fullboth' fullscreens will shift the bottom edge up by 8 pixels on CTWM restart. Hope that helps. -- vl