From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Reuben Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72986: Disabling menu-bar-mode changes size of new frames Date: Tue, 5 Nov 2024 23:06:37 +0000 Message-ID: References: <54072426-c373-420c-8343-29035fba25a6@gmx.at> <3d0a1e9a-5efc-4491-ab85-e3e58cb0f068@gmx.at> <0e78c0db-105c-4a60-acd4-7267e225259b@gmx.at> <74c278ea-e286-4841-98ed-6ae38cb63980@gmx.at> <3797189d-e13b-4340-9629-80cda5aaaced@gmx.at> Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000c92c22062632743a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6811"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Eli Zaretskii , 72986@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 06 00:08:18 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 1t8Seo-0001b4-0z for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Nov 2024 00:08:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8Seb-0007yc-S6; Tue, 05 Nov 2024 18:08: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 1t8SeZ-0007yR-OJ for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2024 18:08:04 -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 1t8SeZ-0000M5-Ex for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2024 18:08:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=cxpY8BJWB3PLAtkQFO9clJGu13oBQoQUuZvPVovxFdg=; b=JXORNI94I0Gia7L8KsmGWlZ6P+snZZ4waYOBG+IWWrmq196oYphIqiV/WatMFbSE51GA5fVppVvBZr7Ra/6bGbrhP5fGiNDc/FLAwjSZIuOwpqDIJM1Pvj1JkMON1r9KvIMzZbjD25oRnm4mosCkTTjDsy0uE9sRicHZQMJAtkjUpxpgzvn5bQuC+X6r/HgJ/TbEHXb3+CapDIxqai3lhnjB/1M+1cvS9nXzP44Mw5YpdhUqBq6f0KLfZYoBcucHGUJ/Ap3bAc714oOwcDiS0YeOPJdTKd37UKL7qzf02lCltSjI8YW9m+o+/KkbIXyCGquEE/WLTeBiVQQHtDQLzA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SeY-0003sb-7K for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2024 18:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Nov 2024 23:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72986 X-GNU-PR-Package: emacs Original-Received: via spool by 72986-submit@debbugs.gnu.org id=B72986.173084807714900 (code B ref 72986); Tue, 05 Nov 2024 23:08:02 +0000 Original-Received: (at 72986) by debbugs.gnu.org; 5 Nov 2024 23:07:57 +0000 Original-Received: from localhost ([127.0.0.1]:38319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8SeR-0003sE-2x for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:07:56 -0500 Original-Received: from mail-yw1-f172.google.com ([209.85.128.172]:61581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8SeM-0003s4-N7 for 72986@debbugs.gnu.org; Tue, 05 Nov 2024 18:07:54 -0500 Original-Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-6e38ebcc0abso69036687b3.2 for <72986@debbugs.gnu.org>; Tue, 05 Nov 2024 15:07:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1730848010; x=1731452810; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=cxpY8BJWB3PLAtkQFO9clJGu13oBQoQUuZvPVovxFdg=; b=yj+cC1qDhSwDwYM9DuD9liZJCv32tM8zaV5snOMZidhhNgNRAgxbyenkw1yS/06CiG rtN8EYgvdAWguSO0mGO7vOh8hCw4/WHD3KerWLQNk5hfauKO8CSC1k3S3ADyDakOGlN7 MrJXu8WnQG0Ke2/1xGE+c6rXTmbJoCPbcYbp0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730848010; x=1731452810; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cxpY8BJWB3PLAtkQFO9clJGu13oBQoQUuZvPVovxFdg=; b=cjZ9FyPCCGOBWrQzS+qf5q6FHztRMrIZtBO5/z21hlo/4zDctaurY+3Sp5/gd0ybfu fL5ie6AUlKHYtiiKCukw4vhghqw97d/4iYz4AcAwhlr5UPDRC5aN79sDeVFaQw/XmIOs YG4aidBKgx7aaxdORcqv3LhCOXqqnO3qZ4QM+DKnOQnh4RpiNxE7Su3jsl2h2d6Gytvf DZJDNiMUJCvXHHj4TteDB09wf4mvLYPd70CIlMsu2RvTlshMNnSZa/aO5ZX4wsdBwLxP gxhv2kS0q2+TyvYpNpx1kHhJVUWw+Euz8G/dCL2/3AtNOQ/EAqZhKLGSZmVeT0Fmv57Z If4w== X-Forwarded-Encrypted: i=1; AJvYcCWz0zns2JEpn4AQOxU9b7vfxaECZC0v4Gq2DShG78dfDvAxX/07cRBfF4tdlkdp0GvQfovw4g==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yyp+Qss156yioeJX5gMFzGthODGNBjwDBB9CCrxfJD3XdQ19Fqs ZgEcGAALNgmnvJuIa7B02WFR50qq83fBkmbn+xhdA5SNUP4bCLQnNtrnsfela4XPD5rKqYlFSgm Qf51g4ZW2vYbwvdtvAPJS5soRvNhAFgRwfNEJEg== X-Google-Smtp-Source: AGHT+IHY8YIkRDiSJRkl1IeCFIIHAMRbq0uc47qPT5FOfwIAxhwWZxIe0OFbH87F6sz1ZJAzSFrOc3GRGaBLEQkeHlA= X-Received: by 2002:a05:690c:6e09:b0:6e6:248:37bf with SMTP id 00721157ae682-6e9d8994a47mr391446077b3.22.1730848009816; Tue, 05 Nov 2024 15:06:49 -0800 (PST) In-Reply-To: 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:294924 Archived-At: --000000000000c92c22062632743a Content-Type: text/plain; charset="UTF-8" On Thu, 31 Oct 2024 at 14:14, martin rudalics wrote: > > Do let me > > know if you'd like me to redo with the default menu bar setting, > > Please do three things: > > - Make the second frame with the default menu bar settings. > Frame size history in this case: Frame size history of # x_create_frame_1 (5), TS=80x25~>1280x875, NS=80x25~>1296x875, IS=80x25~>1296x875, MS=32x70 IH IV gui_figure_window_size (5), TS=1280x875~>1280x1260, TC=80x25~>80x36, NS=1296x875~>1296x1260, IS=1296x875~>1296x1260, MS=32x70 IH IV scroll-bar-width (3), NS=1296x1260~>1328x1260, IS=1296x1260~>1328x1260, MS=160x175 scroll-bar-height (3), MS=160x175 menu-bar-lines (2), MS=160x175 x_create_frame_2 (0), MS=160x175 xg_frame_set_char_size, invisible, PS=1328x1260, XS=1328x1260, DS=1328x1260 xg_frame_set_char_size (5), MS=32x70 IH IV x_make_frame_visible MapNotify, not hidden & not iconified, PS=1328x1260, DS=1328x1260 ConfigureNotify, PS=1328x1260, XS=400x340, DS=1328x1260 xg_frame_resized, changed, PS=1328x1260, XS=400x340 change_frame_size_1, delayed, PS=1328x1260, XS=400x340, DS=1328x1260 tool-bar-lines (2), MS=160x175 xg_frame_set_char_size, visible, PS=1328x1260, XS=1328x1260, DS=400x340 +values, PS=200x195, XS=664x696 ConfigureNotify, PS=1328x1260, XS=1328x1258, DS=400x340 xg_frame_resized, changed, PS=1328x1260, XS=1328x1258, DS=400x340 change_frame_size_1, delayed, PS=1328x1260, XS=1328x1258, DS=400x340 change_frame_size (5), TS=1280x1260~>1280x1258, TC=80x36~>80x35, NS=1328x1260~>1328x1258, IS=1328x1260~>1328x1258, MS=32x70 IH IV set_window_configuration (4), MS=160x175 IH IV journalctl output: 9420: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 doesn't set gravity, using NW 9421: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 sets min width to 0, which makes no sense 9422: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 sets min height to 0, which makes no sense 9423: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x5000318 9424: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 sets base size 64 x 84 9425: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 sets min size 128 x 238 9426: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 sets resize width inc: 16 height inc: 34 9427: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 sets gravity 1 9428: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 has height_inc (34) that does not evenly divide min_height - base_height (238 - 84); thus effective min_height is really 254 9429: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000318 in move from 0,0 1328x1308 to 0,0 400x456 9459: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: require_titlebar_visible for 0x5000318 toggled to FALSE 9460: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Setting _NET_FRAME_EXTENTS on managed window 0x5000318 to left = 0, right = 0, top = 56, bottom = 0 9462: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000318 in move from 0,58 400x446 to 0,0 400x456 9490: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: require_titlebar_visible for 0x5000318 toggled to TRUE 9492: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Sending synthetic configure notify to 0x5000318 with x: 160 y: 274 w: 400 h: 390 9493: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000318 in move from 160,218 400x446 to 160,218 400x456 9524: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000318 in move from 160,218 400x446 to 160,218 400x456 9555: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x5000318 9556: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 sets base size 64 x 166 9557: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 sets min size 128 x 476 9558: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 sets resize width inc: 16 height inc: 34 9559: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 sets gravity 1 9560: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 has height_inc (34) that does not evenly divide min_height - base_height (476 - 166); thus effective min_height is really 506 9561: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000318 in move from 160,218 400x446 to 160,218 1328x1446 9592: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000318 in move from 160,218 1328x1446 to 160,218 1328x1446 9623: Nov 05 22:31:38 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000318 in move from 160,218 1328x1446 to 160,218 1328x1446 9654: Nov 05 22:31:44 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000318 in move from 160,218 1328x1446 to 160,218 1328x1446 - Make the first frame where in an early-init.el file you disable the > menu bar with a (menu-bar-lines . 0) entry in 'initial-frame-alist'. > Frame size history: Frame size history of # x_create_frame_1 (5), TS=80x25~>1280x875, NS=80x25~>1296x875, IS=80x25~>1296x875, MS=32x70 IH IV gui_figure_window_size (5), TS=1280x875~>1280x1260, TC=80x25~>80x36, NS=1296x875~>1296x1260, IS=1296x875~>1296x1260, MS=32x70 IH IV scroll-bar-width (3), NS=1296x1260~>1328x1260, IS=1296x1260~>1328x1260, MS=160x175 scroll-bar-height (3), MS=160x175 x_create_frame_2 (0), MS=160x175 xg_frame_set_char_size, invisible, PS=1328x1260, XS=1328x1260, DS=1328x1260 xg_frame_set_char_size (5), MS=32x70 IH IV x_make_frame_visible MapNotify, not hidden & not iconified, PS=1328x1260, DS=1328x1260 ConfigureNotify, PS=1328x1260, XS=1328x1260, DS=1328x1260 xg_frame_resized, unchanged, PS=1328x1260, XS=1328x1260 ConfigureNotify, PS=1328x1260, XS=1328x1258, DS=1328x1260 xg_frame_resized, changed, PS=1328x1260, XS=1328x1258 change_frame_size_1, delayed, PS=1328x1260, XS=1328x1258, DS=1328x1260 change_frame_size (5), TS=1280x1260~>1280x1258, TC=80x36~>80x35, NS=1328x1260~>1328x1258, IS=1328x1260~>1328x1258, MS=32x70 IH IV tool-bar-lines (2), MS=160x175 xg_frame_set_char_size, visible, PS=1328x1258, XS=1328x1258 +values, PS=664x629, XS=664x670 ConfigureNotify, PS=1328x1258, XS=1328x1258 xg_frame_resized, unchanged, PS=1328x1258, XS=1328x1258 set_window_configuration (4), MS=160x175 IH IV journalctl output: 10776: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 doesn't set gravity, using NW 10777: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets min width to 0, which makes no sense 10778: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets min height to 0, which makes no sense 10779: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x5000148 10780: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets base size 0 x 0 10781: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets min size 0 x 0 10782: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets resize width inc: 2 height inc: 2 10783: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets gravity 1 10784: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets min width to 0, which makes no sense 10785: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets min height to 0, which makes no sense 10786: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 has width_inc (2) that does not evenly divide min_width - base_width (1 - 0); thus effective min_width is really 2 10787: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 has height_inc (2) that does not evenly divide min_height - base_height (1 - 0); thus effective min_height is really 2 10788: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000148 in move from 0,0 1328x1260 to 0,0 1328x1316 10818: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: require_titlebar_visible for 0x5000148 toggled to FALSE 10819: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Setting _NET_FRAME_EXTENTS on managed window 0x5000148 to left = 0, right = 0, top = 56, bottom = 0 10821: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000148 in move from 0,58 1328x1316 to 0,0 1328x1316 10849: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: require_titlebar_visible for 0x5000148 toggled to TRUE 10851: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Sending synthetic configure notify to 0x5000148 with x: 80 y: 194 w: 1328 h: 1260 10854: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000148 in move from 80,138 1328x1316 to 80,138 1328x1316 10885: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x5000148 10886: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets base size 64 x 34 10887: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets min size 128 x 102 10888: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets resize width inc: 16 height inc: 34 10889: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets gravity 1 10890: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000148 in move from 80,138 1328x1316 to 80,138 1328x1314 10921: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000148 in move from 80,138 1328x1314 to 80,138 1328x1314 10952: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x5000148 10953: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets base size 64 x 116 10954: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets min size 128 x 340 10955: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets resize width inc: 16 height inc: 34 10956: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets gravity 1 10957: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 has height_inc (34) that does not evenly divide min_height - base_height (340 - 116); thus effective min_height is really 354 10958: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000148 in move from 80,138 1328x1314 to 80,138 1328x1396 10989: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000148 in move from 80,138 1328x1396 to 80,138 1328x1396 11051: Nov 05 22:45:20 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000148 in move from 80,138 1328x1396 to 80,138 1328x1396 - Make the second frame with menu bar mode disabled and any toolkit > where the second frame has the normal size. > So here I rebuilt Emacs reconfigured with --with-x-toolkit=lucid Frame size history of # x_create_frame_1 (5), TS=80x25~>1280x875, NS=80x25~>1298x877, IS=80x25~>1296x875, MS=32x70 IH IV tool-bar-lines (1), NS=1298x877~>1298x912, MS=160x175 tool-bar-position (3), MS=160x175 gui_figure_window_size (5), TS=1280x875~>1280x1260, TC=80x25~>80x36, NS=1298x912~>1298x1313, IS=1296x875~>1296x1260, MS=32x70 IH IV update_from_various_frame_slots, PS=1298x1313, XS=1298x1313 set_frame_size EmacsFrameRealize EmacsFrameResize, PS=1298x1313, XS=1298x1313 change_frame_size_1, delayed, PS=1298x1313, XS=1298x1313 scroll-bar-width (3), NS=1298x1313~>1314x1313, IS=1296x1260~>1312x1260, MS=160x175 scroll-bar-height (3), MS=160x175 x_create_frame_2 (0), MS=160x175 x_set_window_size_1, invisible, PS=1314x1313, XS=1314x1313, DS=1314x1313 x_set_window_size_1 (5), MS=32x70 IH IV EmacsFrameResize, PS=1314x1313, XS=1314x1313, DS=1314x1313 EmacsFrameResize, PS=1314x1313, XS=1314x1313, DS=1314x1313 x_make_frame_visible MapNotify, not hidden & not iconified, PS=1314x1313, DS=1314x1313 change_frame_size (5), MS=32x70 IH IV EmacsFrameResize, PS=1314x1313, XS=1314x1313 change_frame_size_1, delayed, PS=1314x1313, XS=1314x1313 journalctl output: 11456: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Window 0x50002fd doesn't set gravity, using NW 11457: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Window 0x50002fd sets min width to 0, which makes no sense 11458: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Window 0x50002fd sets min height to 0, which makes no sense 11459: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x50002fd 11460: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Window 0x50002fd sets base size 34 x 53 11461: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Window 0x50002fd sets min size 34 x 53 11462: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Window 0x50002fd sets resize width inc: 16 height inc: 35 11463: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Window 0x50002fd sets gravity 1 11465: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x50002fd in move from 0,0 1314x1313 to 0,0 1314x1369 11495: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: require_titlebar_visible for 0x50002fd toggled to FALSE 11496: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Setting _NET_FRAME_EXTENTS on managed window 0x50002fd to left = 0, right = 0, top = 56, bottom = 0 11498: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x50002fd in move from 0,58 1314x1369 to 0,0 1314x1369 11526: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: require_titlebar_visible for 0x50002fd toggled to TRUE 11528: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Sending synthetic configure notify to 0x50002fd with x: 160 y: 274 w: 1314 h: 1313 > before I > > reply to the rest of your questions, and apologies if this confused > things. > > There are no questions IIRC, just some speculations. Obviously, if you > have any idea about how to include debug information (geometry, size > requests) from GTK too, then we should be able to get the whole picture. > https://docs.gtk.org/gtk3/running.html suggests that setting GTK_DEBUG=geometry ought to help, but it requires gtk to be built with --enable-debug=yes. When I run emacs built with Ubuntu's supplied gtk, I get: GTK_DEBUG=geometry ./src/emacs (emacs:922673): Gtk-WARNING **: 22:58:57.468: GTK_DEBUG set but ignored because gtk isn't built with G_ENABLE_DEBUG -- https://rrt.sc3d.org --000000000000c92c22062632743a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, 31 Oct 2024 at 14:14, martin rudalics <rudalics@gmx.at> wrote:
=C2=A0> Do let me
=C2=A0> know if you'd like me to redo with the default menu bar sett= ing,

Please do three things:

- Make the second frame with the default menu bar settings.

Frame size history in this case:

Frame size history of #&= lt;frame =C2=A0*Minibuf-1* 0x55ae52a5ce70>
x_create_frame_1 (5), TS= =3D80x25~>1280x875, NS=3D80x25~>1296x875, IS=3D80x25~>1296x875, MS= =3D32x70 IH IV
gui_figure_window_size (5), TS=3D1280x875~>1280x1260, = TC=3D80x25~>80x36, NS=3D1296x875~>1296x1260, IS=3D1296x875~>1296x1= 260, MS=3D32x70 IH IV
scroll-bar-width (3), NS=3D1296x1260~>1328x1260= , IS=3D1296x1260~>1328x1260, MS=3D160x175
scroll-bar-height (3), MS= =3D160x175
menu-bar-lines (2), MS=3D160x175
x_create_frame_2 (0), MS= =3D160x175
xg_frame_set_char_size, invisible, PS=3D1328x1260, XS=3D1328x= 1260, DS=3D1328x1260
xg_frame_set_char_size (5), MS=3D32x70 IH IV
x_m= ake_frame_visible
MapNotify, not hidden & not iconified, PS=3D1328x1= 260, DS=3D1328x1260
ConfigureNotify, PS=3D1328x1260, XS=3D400x340, DS=3D= 1328x1260
xg_frame_resized, changed, PS=3D1328x1260, XS=3D400x340
cha= nge_frame_size_1, delayed, PS=3D1328x1260, XS=3D400x340, DS=3D1328x1260
= tool-bar-lines (2), MS=3D160x175
xg_frame_set_char_size, visible, PS=3D1= 328x1260, XS=3D1328x1260, DS=3D400x340
=C2=A0+values, PS=3D200x195, XS= =3D664x696
ConfigureNotify, PS=3D1328x1260, XS=3D1328x1258, DS=3D400x340=
xg_frame_resized, changed, PS=3D1328x1260, XS=3D1328x1258, DS=3D400x340=
change_frame_size_1, delayed, PS=3D1328x1260, XS=3D1328x1258, DS=3D400x= 340
change_frame_size (5), TS=3D1280x1260~>1280x1258, TC=3D80x36~>= 80x35, NS=3D1328x1260~>1328x1258, IS=3D1328x1260~>1328x1258, MS=3D32x= 70 IH IV
set_window_configuration (4), MS=3D160x175 IH IV

journalctl output:

=C2=A0 9420: Nov 05 22:31:36 dwks gno= me-shell[3900]: GEOMETRY: Window 0x5000318 doesn't set gravity, using N= W
=C2=A0 9421: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window = 0x5000318 sets min width to 0, which makes no sense
=C2=A0 9422: Nov 05 = 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 sets min height= to 0, which makes no sense
=C2=A0 9423: Nov 05 22:31:36 dwks gnome-shel= l[3900]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x5000318
=C2=A0 9424: N= ov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 sets base= size 64 x 84
=C2=A0 9425: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOME= TRY: Window 0x5000318 sets min size 128 x 238
=C2=A0 9426: Nov 05 22:31:= 36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 sets resize width inc= : 16 height inc: 34
=C2=A0 9427: Nov 05 22:31:36 dwks gnome-shell[3900]:= GEOMETRY: Window 0x5000318 sets gravity 1
=C2=A0 9428: Nov 05 22:31:36 = dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 has height_inc (34) that= does not evenly divide min_height - base_height (238 - 84); thus effective= min_height is really 254
=C2=A0 9429: Nov 05 22:31:36 dwks gnome-shell[= 3900]: GEOMETRY: Constraining 0x5000318 in move from 0,0 1328x1308 to 0,0 4= 00x456
=C2=A0 9459: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: re= quire_titlebar_visible for 0x5000318 toggled to FALSE
=C2=A0 9460: Nov 0= 5 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Setting _NET_FRAME_EXTENTS on = managed window 0x5000318 to left =3D 0, right =3D 0, top =3D 56, bottom =3D= 0
=C2=A0 9462: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Constr= aining 0x5000318 in move from 0,58 400x446 to 0,0 400x456
=C2=A0 9490: N= ov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: require_titlebar_visible f= or 0x5000318 toggled to TRUE
=C2=A0 9492: Nov 05 22:31:36 dwks gnome-she= ll[3900]: GEOMETRY: Sending synthetic configure notify to 0x5000318 with x:= 160 y: 274 w: 400 h: 390
=C2=A0 9493: Nov 05 22:31:36 dwks gnome-shell[= 3900]: GEOMETRY: Constraining 0x5000318 in move from 160,218 400x446 to 160= ,218 400x456
=C2=A0 9524: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMET= RY: Constraining 0x5000318 in move from 160,218 400x446 to 160,218 400x456<= br>=C2=A0 9555: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Updating = WM_NORMAL_HINTS for 0x5000318
=C2=A0 9556: Nov 05 22:31:36 dwks gnome-sh= ell[3900]: GEOMETRY: Window 0x5000318 sets base size 64 x 166
=C2=A0 955= 7: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000318 sets = min size 128 x 476
=C2=A0 9558: Nov 05 22:31:36 dwks gnome-shell[3900]: = GEOMETRY: Window 0x5000318 sets resize width inc: 16 height inc: 34
=C2= =A0 9559: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Window 0x500031= 8 sets gravity 1
=C2=A0 9560: Nov 05 22:31:36 dwks gnome-shell[3900]: GE= OMETRY: Window 0x5000318 has height_inc (34) that does not evenly divide mi= n_height - base_height (476 - 166); thus effective min_height is really 506=
=C2=A0 9561: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Constrai= ning 0x5000318 in move from 160,218 400x446 to 160,218 1328x1446
=C2=A0 = 9592: Nov 05 22:31:36 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000= 318 in move from 160,218 1328x1446 to 160,218 1328x1446
=C2=A0 9623: Nov= 05 22:31:38 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000318 in mo= ve from 160,218 1328x1446 to 160,218 1328x1446
=C2=A0 9654: Nov 05 22:31= :44 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000318 in move from 1= 60,218 1328x1446 to 160,218 1328x1446

- Make the first frame where in an early-init.el file you disable the
=C2=A0 =C2=A0menu bar with a (menu-bar-lines . 0) entry in 'initial-fra= me-alist'.

Frame= size history:

Frame s= ize history of #<frame =C2=A0*Minibuf-1* - GNU Emacs at dwks 0x62c518283= b88>
x_create_frame_1 (5), TS=3D80x25~>1280x875, NS=3D80x25~>12= 96x875, IS=3D80x25~>1296x875, MS=3D32x70 IH IV
gui_figure_window_size= (5), TS=3D1280x875~>1280x1260, TC=3D80x25~>80x36, NS=3D1296x875~>= 1296x1260, IS=3D1296x875~>1296x1260, MS=3D32x70 IH IV
scroll-bar-widt= h (3), NS=3D1296x1260~>1328x1260, IS=3D1296x1260~>1328x1260, MS=3D160= x175
scroll-bar-height (3), MS=3D160x175
x_create_frame_2 (0), MS=3D1= 60x175
xg_frame_set_char_size, invisible, PS=3D1328x1260, XS=3D1328x1260= , DS=3D1328x1260
xg_frame_set_char_size (5), MS=3D32x70 IH IV
x_make_= frame_visible
MapNotify, not hidden & not iconified, PS=3D1328x1260,= DS=3D1328x1260
ConfigureNotify, PS=3D1328x1260, XS=3D1328x1260, DS=3D13= 28x1260
xg_frame_resized, unchanged, PS=3D1328x1260, XS=3D1328x1260
C= onfigureNotify, PS=3D1328x1260, XS=3D1328x1258, DS=3D1328x1260
xg_frame_= resized, changed, PS=3D1328x1260, XS=3D1328x1258
change_frame_size_1, de= layed, PS=3D1328x1260, XS=3D1328x1258, DS=3D1328x1260
change_frame_size = (5), TS=3D1280x1260~>1280x1258, TC=3D80x36~>80x35, NS=3D1328x1260~>= ;1328x1258, IS=3D1328x1260~>1328x1258, MS=3D32x70 IH IV
tool-bar-line= s (2), MS=3D160x175
xg_frame_set_char_size, visible, PS=3D1328x1258, XS= =3D1328x1258
=C2=A0+values, PS=3D664x629, XS=3D664x670
ConfigureNotif= y, PS=3D1328x1258, XS=3D1328x1258
xg_frame_resized, unchanged, PS=3D1328= x1258, XS=3D1328x1258
set_window_configuration (4), MS=3D160x175 IH IV

journalctl output:

10776: Nov 05 22:45:08 dwk= s gnome-shell[3900]: GEOMETRY: Window 0x5000148 doesn't set gravity, us= ing NW
=C2=A010777: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Wi= ndow 0x5000148 sets min width to 0, which makes no sense
=C2=A010778: No= v 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets min h= eight to 0, which makes no sense
=C2=A010779: Nov 05 22:45:08 dwks gnome= -shell[3900]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x5000148
=C2=A0107= 80: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets= base size 0 x 0
=C2=A010781: Nov 05 22:45:08 dwks gnome-shell[3900]: GE= OMETRY: Window 0x5000148 sets min size 0 x 0
=C2=A010782: Nov 05 22:45:0= 8 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets resize width inc:= 2 height inc: 2
=C2=A010783: Nov 05 22:45:08 dwks gnome-shell[3900]: GE= OMETRY: Window 0x5000148 sets gravity 1
=C2=A010784: Nov 05 22:45:08 dwk= s gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets min width to 0, which = makes no sense
=C2=A010785: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOM= ETRY: Window 0x5000148 sets min height to 0, which makes no sense
=C2=A0= 10786: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 h= as width_inc (2) that does not evenly divide min_width - base_width (1 - 0)= ; thus effective min_width is really 2
=C2=A010787: Nov 05 22:45:08 dwks= gnome-shell[3900]: GEOMETRY: Window 0x5000148 has height_inc (2) that does= not evenly divide min_height - base_height (1 - 0); thus effective min_hei= ght is really 2
=C2=A010788: Nov 05 22:45:08 dwks gnome-shell[3900]: GEO= METRY: Constraining 0x5000148 in move from 0,0 1328x1260 to 0,0 1328x1316=C2=A010818: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: require_ti= tlebar_visible for 0x5000148 toggled to FALSE
=C2=A010819: Nov 05 22:45:= 08 dwks gnome-shell[3900]: GEOMETRY: Setting _NET_FRAME_EXTENTS on managed = window 0x5000148 to left =3D 0, right =3D 0, top =3D 56, bottom =3D 0
= =C2=A010821: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Constraining= 0x5000148 in move from 0,58 1328x1316 to 0,0 1328x1316
=C2=A010849: Nov= 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: require_titlebar_visible for= 0x5000148 toggled to TRUE
=C2=A010851: Nov 05 22:45:08 dwks gnome-shell= [3900]: GEOMETRY: Sending synthetic configure notify to 0x5000148 with x: 8= 0 y: 194 w: 1328 h: 1260
=C2=A010854: Nov 05 22:45:08 dwks gnome-shell[3= 900]: GEOMETRY: Constraining 0x5000148 in move from 80,138 1328x1316 to 80,= 138 1328x1316
=C2=A010885: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOME= TRY: Updating WM_NORMAL_HINTS for 0x5000148
=C2=A010886: Nov 05 22:45:08= dwks gnome-shell[3900]: GEOMETRY: Window 0x5000148 sets base size 64 x 34<= br>=C2=A010887: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x= 5000148 sets min size 128 x 102
=C2=A010888: Nov 05 22:45:08 dwks gnome-= shell[3900]: GEOMETRY: Window 0x5000148 sets resize width inc: 16 height in= c: 34
=C2=A010889: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Win= dow 0x5000148 sets gravity 1
=C2=A010890: Nov 05 22:45:08 dwks gnome-she= ll[3900]: GEOMETRY: Constraining 0x5000148 in move from 80,138 1328x1316 to= 80,138 1328x1314
=C2=A010921: Nov 05 22:45:08 dwks gnome-shell[3900]: G= EOMETRY: Constraining 0x5000148 in move from 80,138 1328x1314 to 80,138 132= 8x1314
=C2=A010952: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Up= dating WM_NORMAL_HINTS for 0x5000148
=C2=A010953: Nov 05 22:45:08 dwks g= nome-shell[3900]: GEOMETRY: Window 0x5000148 sets base size 64 x 116
=C2= =A010954: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x500014= 8 sets min size 128 x 340
=C2=A010955: Nov 05 22:45:08 dwks gnome-shell[= 3900]: GEOMETRY: Window 0x5000148 sets resize width inc: 16 height inc: 34<= br>=C2=A010956: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Window 0x= 5000148 sets gravity 1
=C2=A010957: Nov 05 22:45:08 dwks gnome-shell[390= 0]: GEOMETRY: Window 0x5000148 has height_inc (34) that does not evenly div= ide min_height - base_height (340 - 116); thus effective min_height is real= ly 354
=C2=A010958: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Co= nstraining 0x5000148 in move from 80,138 1328x1314 to 80,138 1328x1396
= =C2=A010989: Nov 05 22:45:08 dwks gnome-shell[3900]: GEOMETRY: Constraining= 0x5000148 in move from 80,138 1328x1396 to 80,138 1328x1396
=C2=A011051= : Nov 05 22:45:20 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x5000148 = in move from 80,138 1328x1396 to 80,138 1328x1396

- Make the second frame with menu bar mode disabled and any toolkit
=C2=A0 =C2=A0where the second frame has the normal size.

So here I rebuilt Emacs reconfigured w= ith --with-x-toolkit=3Dlucid

Frame size history of #<frame =C2=A0*Minibuf-1* 0x5885e759c460&= gt;
x_create_frame_1 (5), TS=3D80x25~>1280x875, NS=3D80x25~>1298x8= 77, IS=3D80x25~>1296x875, MS=3D32x70 IH IV
tool-bar-lines (1), NS=3D1= 298x877~>1298x912, MS=3D160x175
tool-bar-position (3), MS=3D160x175gui_figure_window_size (5), TS=3D1280x875~>1280x1260, TC=3D80x25~>8= 0x36, NS=3D1298x912~>1298x1313, IS=3D1296x875~>1296x1260, MS=3D32x70 = IH IV
update_from_various_frame_slots, PS=3D1298x1313, XS=3D1298x1313set_frame_size
EmacsFrameRealize
EmacsFrameResize, PS=3D1298x1313, X= S=3D1298x1313
change_frame_size_1, delayed, PS=3D1298x1313, XS=3D1298x13= 13
scroll-bar-width (3), NS=3D1298x1313~>1314x1313, IS=3D1296x1260~&g= t;1312x1260, MS=3D160x175
scroll-bar-height (3), MS=3D160x175
x_creat= e_frame_2 (0), MS=3D160x175
x_set_window_size_1, invisible, PS=3D1314x13= 13, XS=3D1314x1313, DS=3D1314x1313
x_set_window_size_1 (5), MS=3D32x70 I= H IV
EmacsFrameResize, PS=3D1314x1313, XS=3D1314x1313, DS=3D1314x1313EmacsFrameResize, PS=3D1314x1313, XS=3D1314x1313, DS=3D1314x1313
x_make= _frame_visible
MapNotify, not hidden & not iconified, PS=3D1314x1313= , DS=3D1314x1313
change_frame_size (5), MS=3D32x70 IH IV
EmacsFrameRe= size, PS=3D1314x1313, XS=3D1314x1313
change_frame_size_1, delayed, PS=3D= 1314x1313, XS=3D1314x1313

journalctl output:

=C2=A011456: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Window 0x50= 002fd doesn't set gravity, using NW
=C2=A011457: Nov 05 22:53:55 dwk= s gnome-shell[3900]: GEOMETRY: Window 0x50002fd sets min width to 0, which = makes no sense
=C2=A011458: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOM= ETRY: Window 0x50002fd sets min height to 0, which makes no sense
=C2=A0= 11459: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Updating WM_NORMAL= _HINTS for 0x50002fd
=C2=A011460: Nov 05 22:53:55 dwks gnome-shell[3900]= : GEOMETRY: Window 0x50002fd sets base size 34 x 53
=C2=A011461: Nov 05 = 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Window 0x50002fd sets min size 3= 4 x 53
=C2=A011462: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Wi= ndow 0x50002fd sets resize width inc: 16 height inc: 35
=C2=A011463: Nov= 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Window 0x50002fd sets gravit= y 1
=C2=A011465: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Const= raining 0x50002fd in move from 0,0 1314x1313 to 0,0 1314x1369
=C2=A01149= 5: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: require_titlebar_visib= le for 0x50002fd toggled to FALSE
=C2=A011496: Nov 05 22:53:55 dwks gnom= e-shell[3900]: GEOMETRY: Setting _NET_FRAME_EXTENTS on managed window 0x500= 02fd to left =3D 0, right =3D 0, top =3D 56, bottom =3D 0
=C2=A011498: N= ov 05 22:53:55 dwks gnome-shell[3900]: GEOMETRY: Constraining 0x50002fd in = move from 0,58 1314x1369 to 0,0 1314x1369
=C2=A011526: Nov 05 22:53:55 d= wks gnome-shell[3900]: GEOMETRY: require_titlebar_visible for 0x50002fd tog= gled to TRUE
=C2=A011528: Nov 05 22:53:55 dwks gnome-shell[3900]: GEOMET= RY: Sending synthetic configure notify to 0x50002fd with x: 160 y: 274 w: 1= 314 h: 1313

=C2=A0> before I
=C2=A0> reply to the rest of your questions, and apologies if this confu= sed things.

There are no questions IIRC, just some speculations.=C2=A0 Obviously, if yo= u
have any idea about how to include debug information (geometry, size
requests) from GTK too, then we should be able to get the whole picture.

https://docs.gtk.org/gtk3/running.html sug= gests that setting GTK_DEBUG=3Dgeometry ought to help, but it requires gtk = to be built with --enable-debug=3Dyes. When I run emacs built with Ubuntu&#= 39;s supplied gtk, I get:

GTK_DEBUG=3Dgeometry ./src/emacs

(emacs:922673): Gtk-WARNING **:= 22:58:57.468: GTK_DEBUG set but ignored because gtk isn't built with G= _ENABLE_DEBUG

-= -
--000000000000c92c22062632743a--