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: Mon, 02 Dec 2024 15:47:35 +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="30208"; 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 Mon Dec 02 16:48:29 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 1tI8ey-0007fp-Tn for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Dec 2024 16:48:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tI8ed-0002yq-JS; Mon, 02 Dec 2024 10:48:07 -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 1tI8eZ-0002yJ-68 for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2024 10:48: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 1tI8eY-0004w5-UE for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2024 10:48: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=YCtfdSv8PJiqM7eqnJMLddY7zw8/PAwCAcX/fBGySFQ=; b=SlYjzSxiTbLIFzuNEcdz4TKKlJWXF7+3mno39byZa03fDKiXKI573JD8YPnNrfnX6NIzuauQVZ2CQOnnajIknAcTPqXC8+2mAgIdqY9/BEfc0EKCGQS6tNLBz2bQpj/8HcklHK+alqdBrWNRGq0FLLcCmTVt1Wndcpdj5CGKAoJXhlL1gdSCyX9xmorhbyj3/sM9Iff+5AVYmmZIuM9aI28ksDsGbWgfoWmq0UxYES0kApF/ZzRMqUzmcxW57pDjmqvRl8WeBjtEYSm5xfvJCPF06nmkp0hpBwkEEwlWN5eC4UGm8HG5z5jk+FjCUBbFEoBa/7OL9mm7L5el35j2nA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tI8eY-0007ng-Ji for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2024 10:48: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: Mon, 02 Dec 2024 15:48: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.173315446129942 (code B ref 74496); Mon, 02 Dec 2024 15:48:02 +0000 Original-Received: (at 74496) by debbugs.gnu.org; 2 Dec 2024 15:47:41 +0000 Original-Received: from localhost ([127.0.0.1]:56216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI8eC-0007ms-OP for submit@debbugs.gnu.org; Mon, 02 Dec 2024 10:47:41 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:52838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI8eA-0007mj-Q7 for 74496@debbugs.gnu.org; Mon, 02 Dec 2024 10:47:39 -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 4B2Fla4O003427 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 2 Dec 2024 15:47:37 GMT Original-Received: (from van.ly@localhost) by sdf.org (8.18.1/8.12.8/Submit) id 4B2FlZwM011217; Mon, 2 Dec 2024 15:47:35 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:296332 Archived-At: martin rudalics writes: > > The puzzle is why having only F11 `fullboth' fullscreens will shift the > > bottom edge up by 8 pixels on CTWM restart. > > So I see two problems we have to investigate: > > - 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. That was the case when I was evaluating those expressions. But, now fullboth and maximized frames will adjust up the bottom edge by 8 pixels. > IIUC you are using Lucid. Now in xterm.c there are three instances of > > 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 pieced together the following steps to make emacs debuggable. I'll need pointers to info pages to make progress. a. make distclean b. configure ... 'CFLAGS=-g3 -ggdb -Og ...' c. make i. start, emacs -Q ii. use, M-x gdb 1 For help, type "help". 2 Type "apropos word" to search for commands related to "word"... 3 "0x7f7fff604da0s": not in executable format: file format not recognized 4 No symbol table is loaded. Use the "file" command. 5 Breakpoint 1 (xterm.c:18044) pending. 6 No symbol table is loaded. Use the "file" command. 7 Breakpoint 2 (xterm.c:28275) pending. 8 No symbol table is loaded. Use the "file" command. 9 Breakpoint 3 (xterm.c:28343) pending. 10 (gdb) run 11 The target does not support running in non-stop mode. -- vl