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: Sat, 26 Oct 2024 13:39:17 +0100 Message-ID: References: <9bbb10e9-208f-4d03-87f1-6e63ee293ed5@gmx.at> <4666bf6d-6259-4f72-a65d-56e2c47f98c0@gmx.at> <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> Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d90c6b062560868c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36114"; 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 Sat Oct 26 14:41:50 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 1t4g73-0009I6-RC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Oct 2024 14:41:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4g6m-00051z-EN; Sat, 26 Oct 2024 08:41:32 -0400 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 1t4g6j-00051m-CK for bug-gnu-emacs@gnu.org; Sat, 26 Oct 2024 08:41:29 -0400 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 1t4g6j-0007kU-3F for bug-gnu-emacs@gnu.org; Sat, 26 Oct 2024 08:41:29 -0400 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=LsE3P7fsB4unefrOPRfVXllbQnEk+sXdTkgbbuWJkpc=; b=I4n8EyVELwOZUwCvfPSpLH2vQFBxk+9ptAhxhPtMSaAjD5EfvpMfFdE/RxeVTV8BgS8GvVT96xc0KwVdLITBQ+1nnRSYrU1W4ChiCmWVl40VUx0umwnLcn+CSHj5zHjWlywLw1UQ2Hyrv1sj5E8EnhRHU5xu9hVYOIFW4KaMGbydDqPhAK1SEeoARLDfElliuAKadAdtOWhStLVPR8r405HmXzdDa1sSm915zZg083TpySif87I3bFU+KeJNW+EEA6uR3tDLOtUXD48Mspysrlk6sXfDY4MUbHwME5Q2Wl8haE9+mSyn0HDKHqQyjHRJcCJZk2iAAg8HqfLvD5rKqg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t4g7G-0003nG-Cn for bug-gnu-emacs@gnu.org; Sat, 26 Oct 2024 08:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Oct 2024 12:42: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.172994647314490 (code B ref 72986); Sat, 26 Oct 2024 12:42:02 +0000 Original-Received: (at 72986) by debbugs.gnu.org; 26 Oct 2024 12:41:13 +0000 Original-Received: from localhost ([127.0.0.1]:40857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4g6R-0003ld-Gx for submit@debbugs.gnu.org; Sat, 26 Oct 2024 08:41:12 -0400 Original-Received: from mail-yw1-f172.google.com ([209.85.128.172]:60759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4g6O-0003lO-VX for 72986@debbugs.gnu.org; Sat, 26 Oct 2024 08:41:10 -0400 Original-Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-6e5b7cd1ef5so27770067b3.1 for <72986@debbugs.gnu.org>; Sat, 26 Oct 2024 05:40:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1729946370; x=1730551170; 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=LsE3P7fsB4unefrOPRfVXllbQnEk+sXdTkgbbuWJkpc=; b=GDByYEAp/DFtyQKuE4lyVTUlcIXh26DNI66Q07SHLP2YiL8VGZ3GYzZxAD3JhlWU04 oiAmbWbP9U2Gps1MVSiuS+us+6xAFJ3w5XZBaA4cWrdsbSl9anVliQ8bmt917UszxogY /x1lxqg0HbrDi44aqMC12xCvtSe4EXfVAVuno= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729946370; x=1730551170; 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=LsE3P7fsB4unefrOPRfVXllbQnEk+sXdTkgbbuWJkpc=; b=N+6zH5LGhGnW6S8MoPYuv/gRh4LJUEgP6hIWKVKFMs4YhIWQ0j2K/QUbCH2HI1PGZo Fg7fIAw3V3ejZwYT5r+L5vbwsy4D1AnrxTTOw22HMcw4c1CLe3hcPqdHLnC9shbBeT2M KJW+UoO5IMlaJSf5qNeXa6KJA5Sk777mz0CCLMDt8vgBWgmZpBI0ILjL5lcssflT1ALA /JHVd5Ng6ExHk+70nArJSRH9bLyr4267ViNV0EKZOoM3aj4kqSyO5h3Bj6tcVaWFsOG/ EE0axyrwLQjnxQLephZjulBvi8R0wvi9ghrguqPFDr0lEA+5zuU9sRql1Hqvb0UqxJCi Xwyg== X-Forwarded-Encrypted: i=1; AJvYcCWy5E24Qu/e7ku/+HVjHTt3aFnPt/xMaPcfsEEfHNTcE5s9bnNx31NkMSv5Yv9SBeWjJ7v0Og==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yx2ZsRpN3TNhKda4felaATBFSad9KeqjFdgV7+8Xgojq81dZpUL UHXiVe3Mb3ZfMpSJjVsKOEbQQYS35zt0/C8kfNZs1ytZsuBAejbCi7jWLmfzp77o7c3f4MPLtp4 SNL3F8nmbbV6b2GuipV//nUcg5KpFeUQXaQyqtw== X-Google-Smtp-Source: AGHT+IGwaAYUj//Pc2nu30zUSigCLpL7SXt3oxYsiQ2dc+AYfK6qK22ZP4qQuN1nC6hXKUp6KpK2bQQBDB/6Z13xqLI= X-Received: by 2002:a05:690c:10c:b0:6dd:cdb9:cf2a with SMTP id 00721157ae682-6e9d88d04dcmr23276687b3.1.1729946369713; Sat, 26 Oct 2024 05:39:29 -0700 (PDT) In-Reply-To: <74c278ea-e286-4841-98ed-6ae38cb63980@gmx.at> 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:294272 Archived-At: --000000000000d90c6b062560868c Content-Type: text/plain; charset="UTF-8" On Sun, 6 Oct 2024 at 16:02, martin rudalics wrote: [Apologies for the delay since last time!] Let us next check whether our event handler > drops events because they come with the same sizes. With the attached > gtkutil-frame-2.diff and the first frame without minibuffer. > Frame size history from opening first frame without minibuffer: 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=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 menu-bar-lines (2), MS=160x175 xg_frame_set_char_size, visible, PS=1328x1258, XS=1328x1258 +values, PS=664x654, XS=664x629 ConfigureNotify, PS=1328x1258, XS=1328x1258 xg_frame_resized, unchanged, PS=1328x1258, XS=1328x1258 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 I wasn't sure exactly what you wanted, so here's the same for the second frame: 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=400x374, DS=1328x1260 xg_frame_resized, changed, PS=1328x1260, XS=400x374 change_frame_size_1, delayed, PS=1328x1260, XS=400x374, DS=1328x1260 change_frame_size (5), TS=1280x1260~>352x374, TC=80x36~>22x10, NS=1328x1260~>400x374, IS=1328x1260~>400x374, MS=32x70 IH IV tool-bar-lines (2), MS=160x175 xg_frame_set_char_size, visible, PS=400x374, XS=400x374 +values, PS=200x187, XS=200x228 ConfigureNotify, PS=400x374, XS=400x374 xg_frame_resized, unchanged, PS=400x374, XS=400x374 set_window_configuration (4), MS=160x175 IH IV If you have any idea how to debug mutter on your system, we should be > able to get the cause right from there. It's possible to turn on debug topics in Mutter at run-time using the built-in Looking Glass debugger (`lg` from "Run Command" prompt). Having done this, I can see the output in journalctl. Using xwininfo, I found that the first window is ID 0x5000148 and the second window I opened is ID 0x500031c. Then, the logs show, grepping for the first ID: Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x5000148 in move from 50,108 1328x1430 to 50,108 1328x1430 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 has height_inc (34) that does not evenly divide min_height - base_height (340 - 116); thus > Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets gravity 1 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets resize width inc: 16 height inc: 34 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets min size 128 x 340 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets base size 64 x 116 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x5000148 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x5000148 in move from 50,108 1328x1430 to 50,108 1328x1430 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x5000148 in move from 50,108 1328x1314 to 50,108 1328x1430 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 has height_inc (34) that does not evenly divide min_height - base_height (238 - 116); thus > Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets gravity 1 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets resize width inc: 16 height inc: 34 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets min size 128 x 238 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets base size 64 x 116 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x5000148 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x5000148 in move from 50,108 1328x1314 to 50,108 1328x1314 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x5000148 in move from 50,108 1328x1314 to 50,108 1328x1314 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x5000148 in move from 50,108 1328x1364 to 50,108 1328x1314 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets gravity 1 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets resize width inc: 16 height inc: 34 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets min size 128 x 102 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets base size 64 x 34 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x5000148 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets gravity 1 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets resize width inc: 16 height inc: 34 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets min size 128 x 102 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets base size 64 x 34 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x5000148 Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x5000148 in move from 50,108 1328x1366 to 50,108 1328x1364 and for the second ID: Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x500031c in move from 130,188 400x512 to 130,188 400x512 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c has height_inc (34) that does not evenly divide min_height - base_height (340 - 116); thus > Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets gravity 1 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets resize width inc: 16 height inc: 34 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets min size 128 x 340 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets base size 64 x 116 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x500031c Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x500031c in move from 130,188 400x512 to 130,188 400x512 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x500031c in move from 130,188 400x430 to 130,188 400x512 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c has height_inc (34) that does not evenly divide min_height - base_height (238 - 116); thus > Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets gravity 1 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets resize width inc: 16 height inc: 34 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets min size 128 x 238 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets base size 64 x 116 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x500031c Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x500031c in move from 130,188 400x430 to 130,188 400x456 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x500031c in move from 130,188 400x430 to 130,188 400x456 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Sending synthetic configure notify to 0x500031c with x: 130 y: 244 w: 400 h: 374 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: require_titlebar_visible for 0x500031c toggled to TRUE Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x500031c in move from 0,58 400x430 to 0,0 400x456 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Setting _NET_FRAME_EXTENTS on managed window 0x500031c to left = 0, right = 0, top = 56, bottom = 0 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: require_titlebar_visible for 0x500031c toggled to FALSE Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x500031c in move from 0,0 1328x1258 to 0,0 400x456 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets gravity 1 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets resize width inc: 16 height inc: 34 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets min size 128 x 102 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets base size 64 x 34 Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x500031c Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets min height to 0, which makes no sense These traces include the "Sending synthetic configure" message you mentioned, hopefully helpful! (At least good to know that it's easy to turn on debugging in a production build.) -- https://rrt.sc3d.org --000000000000d90c6b062560868c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, 6 Oct 2024 at = 16:02, martin rudalics <rudalics@gmx.= at> wrote:

[Apo= logies for the delay since last time!]

Let us next check whether our event handler
drops events because they come with the same sizes.=C2=A0 With the attached=
gtkutil-frame-2.diff and the first frame without minibuffer.

Frame size history from opening fi= rst frame without minibuffer:

Frame size history of #<frame =C2=A0*Minibuf-1* - GNU Emacs at = ecls 0x5595b811ad50>
x_create_frame_1 (5), TS=3D80x25~>1280x875, N= S=3D80x25~>1296x875, IS=3D80x25~>1296x875, MS=3D32x70 IH IV
gui_fi= gure_window_size (5), TS=3D1280x875~>1280x1260, TC=3D80x25~>80x36, NS= =3D1296x875~>1296x1260, IS=3D1296x875~>1296x1260, MS=3D32x70 IH IVscroll-bar-width (3), NS=3D1296x1260~>1328x1260, IS=3D1296x1260~>132= 8x1260, MS=3D160x175
scroll-bar-height (3), MS=3D160x175
menu-bar-lin= es (2), MS=3D160x175
x_create_frame_2 (0), MS=3D160x175
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
MapNot= ify, not hidden & not iconified, PS=3D1328x1260, DS=3D1328x1260
Conf= igureNotify, PS=3D1328x1260, XS=3D1328x1260, DS=3D1328x1260
xg_frame_res= ized, unchanged, PS=3D1328x1260, XS=3D1328x1260
ConfigureNotify, PS=3D13= 28x1260, XS=3D1328x1258, DS=3D1328x1260
xg_frame_resized, changed, PS=3D= 1328x1260, XS=3D1328x1258
change_frame_size_1, delayed, PS=3D1328x1260, = XS=3D1328x1258, DS=3D1328x1260
change_frame_size (5), TS=3D1280x1260~>= ;1280x1258, TC=3D80x36~>80x35, NS=3D1328x1260~>1328x1258, IS=3D1328x1= 260~>1328x1258, MS=3D32x70 IH IV
menu-bar-lines (2), MS=3D160x175
= xg_frame_set_char_size, visible, PS=3D1328x1258, XS=3D1328x1258
=C2=A0+v= alues, PS=3D664x654, XS=3D664x629
ConfigureNotify, PS=3D1328x1258, XS=3D= 1328x1258
xg_frame_resized, unchanged, PS=3D1328x1258, XS=3D1328x1258tool-bar-lines (2), MS=3D160x175
xg_frame_set_char_size, visible, PS=3D= 1328x1258, XS=3D1328x1258
=C2=A0+values, PS=3D664x629, XS=3D664x670
C= onfigureNotify, PS=3D1328x1258, XS=3D1328x1258
xg_frame_resized, unchang= ed, PS=3D1328x1258, XS=3D1328x1258
set_window_configuration (4), MS=3D16= 0x175 IH IV

I wasn= 9;t sure exactly what you wanted, so here's the same for the second fra= me:

Frame size history= of #<frame =C2=A0*Minibuf-1* 0x5963494a84d0>
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~>1280x12= 60, TC=3D80x25~>80x36, NS=3D1296x875~>1296x1260, IS=3D1296x875~>12= 96x1260, MS=3D32x70 IH IV
scroll-bar-width (3), NS=3D1296x1260~>1328x= 1260, IS=3D1296x1260~>1328x1260, MS=3D160x175
scroll-bar-height (3), = MS=3D160x175
x_create_frame_2 (0), MS=3D160x175
xg_frame_set_char_siz= e, invisible, PS=3D1328x1260, XS=3D1328x1260, DS=3D1328x1260
xg_frame_se= t_char_size (5), MS=3D32x70 IH IV
x_make_frame_visible
MapNotify, not= hidden & not iconified, PS=3D1328x1260, DS=3D1328x1260
ConfigureNot= ify, PS=3D1328x1260, XS=3D400x374, DS=3D1328x1260
xg_frame_resized, chan= ged, PS=3D1328x1260, XS=3D400x374
change_frame_size_1, delayed, PS=3D132= 8x1260, XS=3D400x374, DS=3D1328x1260
change_frame_size (5), TS=3D1280x12= 60~>352x374, TC=3D80x36~>22x10, NS=3D1328x1260~>400x374, IS=3D1328= x1260~>400x374, MS=3D32x70 IH IV
tool-bar-lines (2), MS=3D160x175
= xg_frame_set_char_size, visible, PS=3D400x374, XS=3D400x374
=C2=A0+value= s, PS=3D200x187, XS=3D200x228
ConfigureNotify, PS=3D400x374, XS=3D400x37= 4
xg_frame_resized, unchanged, PS=3D400x374, XS=3D400x374
set_window_= configuration (4), MS=3D160x175 IH IV

If you have any idea how to debug mutter on your system, we should be
able to get the cause right from there.

It's possible to turn on debug topics in Mutter at run-= time using the built-in Looking Glass debugger (`lg` from "Run Command= " prompt).

Having= done this, I can see the output in journalctl.
Using xwininfo, I found that the first window is = ID 0x5000148 and the second window I opened is ID 0x500031c.

Then, the logs show, grepping fo= r the first ID:

Oct 26= 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x5000148 in move = from 50,108 1328x1430 to 50,108 1328x1430
Oct 26 13:33:47 ecls gnome-she= ll[3227]: GEOMETRY: Window 0x5000148 has height_inc (34) that does not even= ly divide min_height - base_height (340 - 116); thus >
Oct 26 13:33:4= 7 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets gravity 1
Oct = 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets resize = width inc: 16 height inc: 34
Oct 26 13:33:47 ecls gnome-shell[3227]: GEO= METRY: Window 0x5000148 sets min size 128 x 340
Oct 26 13:33:47 ecls gno= me-shell[3227]: GEOMETRY: Window 0x5000148 sets base size 64 x 116
Oct 2= 6 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Updating WM_NORMAL_HINTS for 0= x5000148
Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Constraining = 0x5000148 in move from 50,108 1328x1430 to 50,108 1328x1430
Oct 26 13:33= :47 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x5000148 in move from 5= 0,108 1328x1314 to 50,108 1328x1430
Oct 26 13:33:47 ecls gnome-shell[322= 7]: GEOMETRY: Window 0x5000148 has height_inc (34) that does not evenly div= ide min_height - base_height (238 - 116); thus >
Oct 26 13:33:47 ecls= gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets gravity 1
Oct 26 13:= 33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets resize width = inc: 16 height inc: 34
Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY:= Window 0x5000148 sets min size 128 x 238
Oct 26 13:33:47 ecls gnome-she= ll[3227]: GEOMETRY: Window 0x5000148 sets base size 64 x 116
Oct 26 13:3= 3:47 ecls gnome-shell[3227]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x50001= 48
Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x5000= 148 in move from 50,108 1328x1314 to 50,108 1328x1314
Oct 26 13:33:47 ec= ls gnome-shell[3227]: GEOMETRY: Constraining 0x5000148 in move from 50,108 = 1328x1314 to 50,108 1328x1314
Oct 26 13:33:47 ecls gnome-shell[3227]: GE= OMETRY: Constraining 0x5000148 in move from 50,108 1328x1364 to 50,108 1328= x1314
Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148= sets gravity 1
Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window= 0x5000148 sets resize width inc: 16 height inc: 34
Oct 26 13:33:47 ecls= gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets min size 128 x 102
O= ct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 sets base= size 64 x 34
Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Updating= WM_NORMAL_HINTS for 0x5000148
Oct 26 13:33:47 ecls gnome-shell[3227]: G= EOMETRY: Window 0x5000148 sets gravity 1
Oct 26 13:33:47 ecls gnome-shel= l[3227]: GEOMETRY: Window 0x5000148 sets resize width inc: 16 height inc: 3= 4
Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: Window 0x5000148 set= s min size 128 x 102
Oct 26 13:33:47 ecls gnome-shell[3227]: GEOMETRY: W= indow 0x5000148 sets base size 64 x 34
Oct 26 13:33:47 ecls gnome-shell[= 3227]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x5000148
Oct 26 13:33:47 = ecls gnome-shell[3227]: GEOMETRY: Constraining 0x5000148 in move from 50,10= 8 1328x1366 to 50,108 1328x1364

and for the second ID:

Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Constraining 0= x500031c in move from 130,188 400x512 to 130,188 400x512
Oct 26 13:33:48= ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c has height_inc (34) tha= t does not evenly divide min_height - base_height (340 - 116); thus >Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets gr= avity 1
Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x50003= 1c sets resize width inc: 16 height inc: 34
Oct 26 13:33:48 ecls gnome-s= hell[3227]: GEOMETRY: Window 0x500031c sets min size 128 x 340
Oct 26 13= :33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets base size 64= x 116
Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Updating WM_NOR= MAL_HINTS for 0x500031c
Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY= : Constraining 0x500031c in move from 130,188 400x512 to 130,188 400x512Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x500031c i= n move from 130,188 400x430 to 130,188 400x512
Oct 26 13:33:48 ecls gnom= e-shell[3227]: GEOMETRY: Window 0x500031c has height_inc (34) that does not= evenly divide min_height - base_height (238 - 116); thus >
Oct 26 13= :33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets gravity 1Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets re= size width inc: 16 height inc: 34
Oct 26 13:33:48 ecls gnome-shell[3227]= : GEOMETRY: Window 0x500031c sets min size 128 x 238
Oct 26 13:33:48 ecl= s gnome-shell[3227]: GEOMETRY: Window 0x500031c sets base size 64 x 116
= Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Updating WM_NORMAL_HINTS = for 0x500031c
Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Constrai= ning 0x500031c in move from 130,188 400x430 to 130,188 400x456
Oct 26 13= :33:48 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x500031c in move fro= m 130,188 400x430 to 130,188 400x456
Oct 26 13:33:48 ecls gnome-shell[32= 27]: GEOMETRY: Sending synthetic configure notify to 0x500031c with x: 130 = y: 244 w: 400 h: 374
Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: r= equire_titlebar_visible for 0x500031c toggled to TRUE
Oct 26 13:33:48 ec= ls gnome-shell[3227]: GEOMETRY: Constraining 0x500031c in move from 0,58 40= 0x430 to 0,0 400x456
Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: S= etting _NET_FRAME_EXTENTS on managed window 0x500031c to left =3D 0, right = =3D 0, top =3D 56, bottom =3D 0
Oct 26 13:33:48 ecls gnome-shell[3227]: = GEOMETRY: require_titlebar_visible for 0x500031c toggled to FALSE
Oct 26= 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Constraining 0x500031c in move = from 0,0 1328x1258 to 0,0 400x456
Oct 26 13:33:48 ecls gnome-shell[3227]= : GEOMETRY: Window 0x500031c sets gravity 1
Oct 26 13:33:48 ecls gnome-s= hell[3227]: GEOMETRY: Window 0x500031c sets resize width inc: 16 height inc= : 34
Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c = sets min size 128 x 102
Oct 26 13:33:48 ecls gnome-shell[3227]: GEOMETRY= : Window 0x500031c sets base size 64 x 34
Oct 26 13:33:48 ecls gnome-she= ll[3227]: GEOMETRY: Updating WM_NORMAL_HINTS for 0x500031c
Oct 26 13:33:= 48 ecls gnome-shell[3227]: GEOMETRY: Window 0x500031c sets min height to 0,= which makes no sense

These traces include the "Sending synthetic configure" messag= e you mentioned, hopefully helpful!

(At least = good to know that it's easy to turn on debugging in a production build.= )

--
--000000000000d90c6b062560868c--