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 14:26:32 +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="37994"; 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 15:27:22 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 1tHkuv-0009iQ-NZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Dec 2024 15:27:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHkug-0002vi-7I; Sun, 01 Dec 2024 09:27: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 1tHkud-0002uq-4t for bug-gnu-emacs@gnu.org; Sun, 01 Dec 2024 09:27: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 1tHkuc-0000hi-Sn for bug-gnu-emacs@gnu.org; Sun, 01 Dec 2024 09:27: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=N+c8A3RdC3hozvVrTqdpBKRh8k4eAxp2jCbzYe4U5/g=; b=ZLLqnC7MP9ztCrsD4Jull4Ckgt0BIXAiHRm2UKgaiT5f8nl4P0JAbFZQzZqe8YUXjWdfEF16IlwgjNsw5NBoQNfmZwB34meekTsMYszTJId9s9ef0JlXoK+T94i5H5M718xhSxKhq8mdW1mvE7XGSu3pXrS+rcNFpRhbXFc9wHlKxNleynNKC/rLEuwzMjRRteseP/8vl2F3N2Gj8fx+xz1jAj/Wpt/PJz/yBd7rI9CDYej7Wc08tMu8lBYt+/ckUu4I78vS/CINtcEJgx5r7Glezz1SJi2mukBYEe5Gu6BecPFNKjWCF9BqLDna6dMA5jJpzXvp/sIaB/vbkJfBCw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHkuc-00049G-MA for bug-gnu-emacs@gnu.org; Sun, 01 Dec 2024 09:27: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: Sun, 01 Dec 2024 14:27: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.173306319915873 (code B ref 74496); Sun, 01 Dec 2024 14:27:02 +0000 Original-Received: (at 74496) by debbugs.gnu.org; 1 Dec 2024 14:26:39 +0000 Original-Received: from localhost ([127.0.0.1]:50779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHkuE-00047r-CO for submit@debbugs.gnu.org; Sun, 01 Dec 2024 09:26:38 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:51660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHkuB-00047e-QV for 74496@debbugs.gnu.org; Sun, 01 Dec 2024 09:26:36 -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 4B1EQY5s028948 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sun, 1 Dec 2024 14:26:34 GMT Original-Received: (from van.ly@localhost) by sdf.org (8.18.1/8.12.8/Submit) id 4B1EQWTM027078; Sun, 1 Dec 2024 14:26:32 GMT In-Reply-To: <35e06858-90ec-48f1-9aca-557d0a8bb080@gmx.at> (message from martin rudalics on Sun, 1 Dec 2024 12:05:46 +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:296253 Archived-At: > > - The fullscreen parameters are reset when restarting CWTM regardless of > whether the frame was maximized or fullboth. This means that when you > do F11, restart CWTM and do F11 again the frame will become fullscreen > again. Right? Yes. > - The size of fullscreen frames shrinks by 8 pixels unless there is a > maximized frame present. > > IIUC you are using Lucid. Now in xterm.c there are three instances of I use Lucid or Xaw, the bug diagnostics report will show it. > > store_frame_param (f, Qfullscreen, lval); > > Can you put a breakpoint on each of them, ideally conditioned on lval > equaling Qnil, restart CWTM and post a backtrace of whatever happens. > I'd like to find out what kind of event makes us reset the parameter. I'll need to find and read documentation to figure out how that is to be done. Meanwhile, some more observations. Inside xterm or uxterm the keychord `fn RET' or `meta RET' will fullscreen and persist across CTWM restart. Now unrelated to CTWM restart, the following is observed when zooming. Using the `Window' context menu zoom from CTWM on xterm or uxterm choosing any of the options `Zoom, Zoom-V, Zoom-H' leaves a - gap at the right and bottom edge for `Zoom', - gap at bottom edge for `Zoom-V' and - gap at the right edge for `Zoom-H'. The above suggests CTWM has issues calculating the height and width dimensions for fullscreen on u/xterm. Also, from a normal 80x24 u/xterm, when I `Window, Zoom' that results in the gap at right and bottom edge, then when I keychord `meta RET' the first time, I get the borderless fullscreen, keychord the second time and u/xterm returns to a normal 80x24 dimension. -- vl