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: Wed, 2 Oct 2024 13:06:30 +0100 Message-ID: References: <56840844-930e-45b0-ae48-97b5875c51b9@gmx.at> <7c94c78e-5ffd-4a41-948a-8e1a2ccefb91@gmx.at> <4af02761-273f-41dd-b257-37c37ded0fb4@gmx.at> <9bbb10e9-208f-4d03-87f1-6e63ee293ed5@gmx.at> <4666bf6d-6259-4f72-a65d-56e2c47f98c0@gmx.at> <54072426-c373-420c-8343-29035fba25a6@gmx.at> Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000053612f06237d4515" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9299"; 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 Oct 02 14:08:33 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 1svy9g-0002Dn-Rh for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Oct 2024 14:08:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1svy9L-0002yx-B8; Wed, 02 Oct 2024 08:08:12 -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 1svy9C-0002tT-EP for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2024 08:08:02 -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 1svy9C-0004N6-3Y for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2024 08:08:02 -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=p1tc9EBrvTtGLzWMNybi6JGCb9dGZT8Mj9O33aQDPOk=; b=qNn1ngEGFVWXVqT3eqwZHleVl5xnXOB3mmmTDEmjDxsT1IVmMCZnBFNwo6X1RRFr38LxUgRY3jLvbynK0yXP02SoGaAay63c8RU3bmHKyDtrcXjqUk/NDf5pCBj70KJdBQQ1npJ5x5GsT0JYY2GDb7RNH7Td48k0aYNXwymgxtEUm0GdwtjDAS4tWJyu0PzighJNoUwYtUaAWlx/7QusTYWbUaS8fUypUG4UJ46vKYw2a9wJLqD7Cy7oCWLeXvKOz/Z6E/B8NFP9OlxGcwZC3OhRxYyGqpj5IbdybycXsxwrAojRBCbsR1T26FP0jUTdSFg/FFV7tcYIkl56y1ZILg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1svy9C-0004Gl-Ca for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2024 08:08: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: Wed, 02 Oct 2024 12: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.172787087616398 (code B ref 72986); Wed, 02 Oct 2024 12:08:02 +0000 Original-Received: (at 72986) by debbugs.gnu.org; 2 Oct 2024 12:07:56 +0000 Original-Received: from localhost ([127.0.0.1]:56821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svy94-0004GN-R6 for submit@debbugs.gnu.org; Wed, 02 Oct 2024 08:07:56 -0400 Original-Received: from mail-yw1-f179.google.com ([209.85.128.179]:46369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svy8x-0004G2-HC for 72986@debbugs.gnu.org; Wed, 02 Oct 2024 08:07:53 -0400 Original-Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-6ddceaaa9ddso58350337b3.1 for <72986@debbugs.gnu.org>; Wed, 02 Oct 2024 05:07:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1727870801; x=1728475601; 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=p1tc9EBrvTtGLzWMNybi6JGCb9dGZT8Mj9O33aQDPOk=; b=s+siU3pr+72WzQRbU87jgPLXzqaT6gb6/9IfrIfik9pQ8JGUAfBBuqnVnWjvuWkatn qMDKq95N164a1IU1u7BVJA+A7i69LJqHk2JIvBDzHbGx+GQ0wajCz22ATNaEWf1cD0a9 VBM2p52ax5Bl+xQLsaJ+VL/zQHVGbHXynRXOM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727870801; x=1728475601; 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=p1tc9EBrvTtGLzWMNybi6JGCb9dGZT8Mj9O33aQDPOk=; b=UWck9vjQyBU2KwcMdsWpW4Aspv8YS7tPJZUvoSfqdTgoGjaIXbR/N0iLardUcO7uyg j03z712Cwg/jeNmdBQL8ecNaGbooATUJE3OtleqYieAJIuQbpPsBqHiK27inmo7WH075 QX3jsxM1UNiHxHII84Ri2G1lpnfIkcLXNislha9Dk/Hond7MTxiFjgLyP3cmUfcM/8xi X5Dyns0beVrM1rZH6kRgD3eYy5iwJdwugjEXk5yi8ME4rdKsm9I1sqmRALopR+g8YUqp o/Wiy7zl10LlGQ/UD9h87udpp1iay0k07y8UwXgb+9WzvZuWzWeIbd5n0/VxDiAVb04i s+Qw== X-Forwarded-Encrypted: i=1; AJvYcCUPdtCT3zOzsqhFPJunLrJUDmNcOxst87EKvuUhEGgLZQ++lfVoTGboascIfaFkwND0fdn+eA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxX/6VfNpF6sZjLS18K03lJTFLAaKieS/0IhwONgCpStVQFMJhM PPoZdiw9d3dSjGtNQDt0SGkz1dcPlf0vyPFkHQJWpTkhP4RJBIUgdwATJnGO9LX1kD8VcbsM6lJ h0TPddAYDF4uWqSaN0FuVFNRoTwSvDMPnWKEbmw== X-Google-Smtp-Source: AGHT+IHKH8JZELuPBUuDSJfl/xleBbvOT+4pK0ZkOcLvZxNEBjTZ4j8Jl86yzGv9Q1UwYnbh3uoaAS2vPEVTPus1Mgc= X-Received: by 2002:a05:690c:7507:b0:6db:d62c:cb71 with SMTP id 00721157ae682-6e2a2dbc775mr23984197b3.13.1727870801231; Wed, 02 Oct 2024 05:06:41 -0700 (PDT) In-Reply-To: <54072426-c373-420c-8343-29035fba25a6@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:292840 Archived-At: --00000000000053612f06237d4515 Content-Type: text/plain; charset="UTF-8" On Wed, 2 Oct 2024 at 09:53, martin rudalics wrote: > Now we get a ConfigureNotify event that instead of giving us a native > pixel height of 1260 gives us a height of 1258 and we reject it. Where > did those two pixels go to? I suppose I'll never find out. > It's infuriating! But unless it's related to the eventual dramatic difference in size, maybe it doesn't actually matter. - Apply the patch gtkutil-reject-2024-10-02.diff which adds a tolerance > of two pixels in order to avoid rejecting the ConfigureNotify and post > the four histories as before. > First frame with menu bar: 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 tool-bar-lines (2), NS=1328x1260~>1328x1258, MS=160x175 xg_frame_set_char_size, visible, PS=1328x1260, XS=1328x1258, DS=1328x1258 +values, PS=664x654, XS=664x695 ConfigureNotify, PS=1328x1260, XS=1328x1258, DS=1328x1258 xg_frame_resized, changed, PS=1328x1260, XS=1328x1258, DS=1328x1258 change_frame_size_1, delayed, PS=1328x1260, XS=1328x1258, DS=1328x1258 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 First frame without menu bar: 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 menu-bar-lines (2), MS=160x175 xg_frame_set_char_size, visible, PS=1328x1260, XS=1328x1260, DS=1328x1260 +values, PS=664x655, XS=664x630 ConfigureNotify, PS=1328x1260, XS=1328x1308, DS=1328x1260 xg_frame_resized, rejected, PS=1328x1260, XS=1328x1308, DS=664x630 tool-bar-lines (2), MS=160x175 xg_frame_set_char_size, visible, PS=1328x1260, XS=1328x1260, DS=1328x1260 +values, PS=664x654, XS=664x671 ConfigureNotify, PS=1328x1260, XS=1328x1176, DS=1328x1260 xg_frame_resized, rejected, PS=1328x1260, XS=1328x1176, DS=664x671 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 set_window_configuration (4), MS=160x175 IH IV Second frame with menu bar: 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, rejected, PS=1328x1260, XS=400x340, DS=664x655 tool-bar-lines (2), MS=160x175 xg_frame_set_char_size, visible, PS=1328x1260, XS=1328x1260, DS=1328x1260 +values, PS=200x195, XS=664x696 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 set_window_configuration (4), MS=160x175 IH IV Second frame without menu bar: 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, rejected, PS=1328x1260, XS=400x374, DS=664x630 tool-bar-lines (2), MS=160x175 xg_frame_set_char_size, visible, PS=1328x1260, XS=1328x1260, DS=1328x1260 +values, PS=200x187, XS=664x671 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 set_window_configuration (4), MS=160x175 IH IV - Apply the patch gtkutil-reject-2024-10-02(25).diff (from a pristine > Emacs). This is like the previous patch but makes the initial frame > only 25 lines high. Again please post the histories for all four > cases. > First frame with menu bar: 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), MS=32x70 IH IV scroll-bar-width (3), NS=1296x875~>1328x875, IS=1296x875~>1328x875, 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=1328x875, XS=1328x875, DS=1328x875 xg_frame_set_char_size (5), MS=32x70 IH IV x_make_frame_visible MapNotify, not hidden & not iconified, PS=1328x875, DS=1328x875 ConfigureNotify, PS=1328x875, XS=1328x874, DS=1328x875 xg_frame_resized, changed, PS=1328x875, XS=1328x874 change_frame_size_1, delayed, PS=1328x875, XS=1328x874, DS=1328x875 change_frame_size (5), TS=1280x875~>1280x874, TC=80x25~>80x24, NS=1328x875~>1328x874, IS=1328x875~>1328x874, MS=32x70 IH IV ConfigureNotify, PS=1328x874, XS=1328x850 xg_frame_resized, changed, PS=1328x874, XS=1328x850 change_frame_size_1, delayed, PS=1328x874, XS=1328x850 tool-bar-lines (2), NS=1328x874~>1328x850, MS=160x175 xg_frame_set_char_size, visible, PS=1328x874, XS=1328x850, DS=1328x850 +values, PS=664x450, XS=664x491 ConfigureNotify, PS=1328x874, XS=1328x850, DS=1328x850 xg_frame_resized, changed, PS=1328x874, XS=1328x850, DS=1328x850 change_frame_size_1, delayed, PS=1328x874, XS=1328x850, DS=1328x850 change_frame_size (5), TS=1280x874~>1280x850, NS=1328x874~>1328x850, IS=1328x874~>1328x850, MS=32x70 IH IV set_window_configuration (4), MS=160x175 IH IV First frame without menu bar: 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), MS=32x70 IH IV scroll-bar-width (3), NS=1296x875~>1328x875, IS=1296x875~>1328x875, 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=1328x875, XS=1328x875, DS=1328x875 xg_frame_set_char_size (5), MS=32x70 IH IV x_make_frame_visible MapNotify, not hidden & not iconified, PS=1328x875, DS=1328x875 ConfigureNotify, PS=1328x875, XS=1328x874, DS=1328x875 xg_frame_resized, changed, PS=1328x875, XS=1328x874 change_frame_size_1, delayed, PS=1328x875, XS=1328x874, DS=1328x875 change_frame_size (5), TS=1280x875~>1280x874, TC=80x25~>80x24, NS=1328x875~>1328x874, IS=1328x875~>1328x874, MS=32x70 IH IV menu-bar-lines (2), MS=160x175 xg_frame_set_char_size, visible, PS=1328x874, XS=1328x874 +values, PS=664x462, XS=664x437 ConfigureNotify, PS=1328x874, XS=1328x900 xg_frame_resized, rejected, PS=1328x874, XS=1328x900, DS=664x437 ConfigureNotify, PS=1328x874, XS=1328x850 xg_frame_resized, rejected, PS=1328x874, XS=1328x850, DS=664x437 tool-bar-lines (2), MS=160x175 xg_frame_set_char_size, visible, PS=1328x874, XS=1328x874 +values, PS=664x425, XS=664x478 ConfigureNotify, PS=1328x874, XS=1328x850 xg_frame_resized, rejected, PS=1328x874, XS=1328x850, DS=664x478 set_window_configuration (4), MS=160x175 IH IV Second frame with menu bar: 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), MS=32x70 IH IV scroll-bar-width (3), NS=1296x875~>1328x875, IS=1296x875~>1328x875, 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=1328x875, XS=1328x875, DS=1328x875 xg_frame_set_char_size (5), MS=32x70 IH IV x_make_frame_visible MapNotify, not hidden & not iconified, PS=1328x875, DS=1328x875 ConfigureNotify, PS=1328x875, XS=400x340, DS=1328x875 xg_frame_resized, rejected, PS=1328x875, XS=400x340, DS=664x462 tool-bar-lines (2), MS=160x175 xg_frame_set_char_size, visible, PS=1328x875, XS=1328x875, DS=1328x875 +values, PS=200x195, XS=664x503 ConfigureNotify, PS=1328x875, XS=1328x768, DS=1328x875 xg_frame_resized, rejected, PS=1328x875, XS=1328x768, DS=664x503 ConfigureNotify, PS=1328x875, XS=1328x850, DS=1328x875 xg_frame_resized, rejected, PS=1328x875, XS=1328x850, DS=664x503 set_window_configuration (4), MS=160x175 IH IV Second frame without menu bar: 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), MS=32x70 IH IV scroll-bar-width (3), NS=1296x875~>1328x875, IS=1296x875~>1328x875, MS=160x175 scroll-bar-height (3), MS=160x175 x_create_frame_2 (0), MS=160x175 xg_frame_set_char_size, invisible, PS=1328x875, XS=1328x875, DS=1328x875 xg_frame_set_char_size (5), MS=32x70 IH IV x_make_frame_visible MapNotify, not hidden & not iconified, PS=1328x875, DS=1328x875 ConfigureNotify, PS=1328x875, XS=400x374, DS=1328x875 xg_frame_resized, rejected, PS=1328x875, XS=400x374, DS=664x437 tool-bar-lines (2), MS=160x175 xg_frame_set_char_size, visible, PS=1328x875, XS=1328x875, DS=1328x875 +values, PS=200x187, XS=664x478 ConfigureNotify, PS=1328x875, XS=1328x850, DS=1328x875 xg_frame_resized, rejected, PS=1328x875, XS=1328x850, DS=664x478 set_window_configuration (4), MS=160x175 IH IV -- https://rrt.sc3d.org --00000000000053612f06237d4515 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 2 Oct 2024 at 09:53, martin rudalics <rudalics@gmx.at> wrote:
Now we get a ConfigureNotify event that in= stead of giving us a native
pixel height of 1260 gives us a height of 1258 and we reject it.=C2=A0 Wher= e
did those two pixels go to?=C2=A0 I suppose I'll never find out.

It's infuriating! But = unless it's related to the eventual dramatic difference in size, maybe = it doesn't actually matter.

- Apply the patch gtkutil-reject-2024-10-02.diff which adds a tolerance
=C2=A0 =C2=A0of two pixels in order to avoid rejecting the ConfigureNotify = and post
=C2=A0 =C2=A0the four histories as before.

<= div>
First frame with menu bar:
<= br>
Frame size history of #<frame =C2=A0*Minibuf= -1* - GNU Emacs at dwks 0x64f211b91440>
x_create_frame_1 (5), TS=3D80= x25~>1280x875, NS=3D80x25~>1296x875, IS=3D80x25~>1296x875, MS=3D32= x70 IH IV
gui_figure_window_size (5), TS=3D1280x875~>1280x1260, TC=3D= 80x25~>80x36, NS=3D1296x875~>1296x1260, IS=3D1296x875~>1296x1260, = MS=3D32x70 IH IV
scroll-bar-width (3), NS=3D1296x1260~>1328x1260, IS= =3D1296x1260~>1328x1260, MS=3D160x175
scroll-bar-height (3), MS=3D160= x175
menu-bar-lines (2), MS=3D160x175
x_create_frame_2 (0), MS=3D160x= 175
xg_frame_set_char_size, invisible, PS=3D1328x1260, XS=3D1328x1260, D= S=3D1328x1260
xg_frame_set_char_size (5), MS=3D32x70 IH IV
x_make_fra= me_visible
MapNotify, not hidden & not iconified, PS=3D1328x1260, DS= =3D1328x1260
ConfigureNotify, PS=3D1328x1260, XS=3D1328x1260, DS=3D1328x= 1260
xg_frame_resized, unchanged, PS=3D1328x1260, XS=3D1328x1260
Conf= igureNotify, PS=3D1328x1260, XS=3D1328x1258, DS=3D1328x1260
xg_frame_res= ized, changed, PS=3D1328x1260, XS=3D1328x1258
change_frame_size_1, delay= ed, PS=3D1328x1260, XS=3D1328x1258, DS=3D1328x1260
tool-bar-lines (2), N= S=3D1328x1260~>1328x1258, MS=3D160x175
xg_frame_set_char_size, visibl= e, PS=3D1328x1260, XS=3D1328x1258, DS=3D1328x1258
=C2=A0+values, PS=3D66= 4x654, XS=3D664x695
ConfigureNotify, PS=3D1328x1260, XS=3D1328x1258, DS= =3D1328x1258
xg_frame_resized, changed, PS=3D1328x1260, XS=3D1328x1258, = DS=3D1328x1258
change_frame_size_1, delayed, PS=3D1328x1260, XS=3D1328x1= 258, DS=3D1328x1258
change_frame_size (5), TS=3D1280x1260~>1280x1258,= TC=3D80x36~>80x35, NS=3D1328x1260~>1328x1258, IS=3D1328x1260~>132= 8x1258, MS=3D32x70 IH IV
set_window_configuration (4), MS=3D160x175 IH I= V

First frame without menu bar:

Frame size history of #<frame = =C2=A0*Minibuf-1* - GNU Emacs at dwks 0x5a4bf2898980>
x_create_frame_= 1 (5), TS=3D80x25~>1280x875, NS=3D80x25~>1296x875, IS=3D80x25~>129= 6x875, MS=3D32x70 IH IV
gui_figure_window_size (5), TS=3D1280x875~>12= 80x1260, TC=3D80x25~>80x36, NS=3D1296x875~>1296x1260, IS=3D1296x875~&= gt;1296x1260, 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= =3D1328x1260, DS=3D1328x1260
xg_frame_set_char_size (5), MS=3D32x70 IH I= V
x_make_frame_visible
MapNotify, not hidden & not iconified, PS= =3D1328x1260, DS=3D1328x1260
ConfigureNotify, PS=3D1328x1260, XS=3D1328x= 1260, DS=3D1328x1260
xg_frame_resized, unchanged, PS=3D1328x1260, XS=3D1= 328x1260
menu-bar-lines (2), MS=3D160x175
xg_frame_set_char_size, vis= ible, PS=3D1328x1260, XS=3D1328x1260, DS=3D1328x1260
=C2=A0+values, PS= =3D664x655, XS=3D664x630
ConfigureNotify, PS=3D1328x1260, XS=3D1328x1308= , DS=3D1328x1260
xg_frame_resized, rejected, PS=3D1328x1260, XS=3D1328x1= 308, DS=3D664x630
tool-bar-lines (2), MS=3D160x175
xg_frame_set_char_= size, visible, PS=3D1328x1260, XS=3D1328x1260, DS=3D1328x1260
=C2=A0+val= ues, PS=3D664x654, XS=3D664x671
ConfigureNotify, PS=3D1328x1260, XS=3D13= 28x1176, DS=3D1328x1260
xg_frame_resized, rejected, PS=3D1328x1260, XS= =3D1328x1176, DS=3D664x671
ConfigureNotify, PS=3D1328x1260, XS=3D1328x12= 58, DS=3D1328x1260
xg_frame_resized, changed, PS=3D1328x1260, XS=3D1328x= 1258
change_frame_size_1, delayed, PS=3D1328x1260, XS=3D1328x1258, DS=3D= 1328x1260
change_frame_size (5), TS=3D1280x1260~>1280x1258, TC=3D80x3= 6~>80x35, NS=3D1328x1260~>1328x1258, IS=3D1328x1260~>1328x1258, MS= =3D32x70 IH IV
set_window_configuration (4), MS=3D160x175 IH IV

Second frame with me= nu bar:

Frame size his= tory of #<frame =C2=A0*Minibuf-1* 0x6051a23e13e0>
x_create_frame_1= (5), TS=3D80x25~>1280x875, NS=3D80x25~>1296x875, IS=3D80x25~>1296= x875, MS=3D32x70 IH IV
gui_figure_window_size (5), TS=3D1280x875~>128= 0x1260, TC=3D80x25~>80x36, NS=3D1296x875~>1296x1260, IS=3D1296x875~&g= t;1296x1260, MS=3D32x70 IH IV
scroll-bar-width (3), NS=3D1296x1260~>1= 328x1260, 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=3D= 1328x1260, DS=3D1328x1260
xg_frame_set_char_size (5), MS=3D32x70 IH IVx_make_frame_visible
MapNotify, not hidden & not iconified, PS=3D1= 328x1260, DS=3D1328x1260
ConfigureNotify, PS=3D1328x1260, XS=3D400x340, = DS=3D1328x1260
xg_frame_resized, rejected, PS=3D1328x1260, XS=3D400x340,= DS=3D664x655
tool-bar-lines (2), MS=3D160x175
xg_frame_set_char_size= , visible, PS=3D1328x1260, XS=3D1328x1260, DS=3D1328x1260
=C2=A0+values,= PS=3D200x195, XS=3D664x696
ConfigureNotify, PS=3D1328x1260, XS=3D1328x1= 258, DS=3D1328x1260
xg_frame_resized, changed, PS=3D1328x1260, XS=3D1328= x1258
change_frame_size_1, delayed, PS=3D1328x1260, XS=3D1328x1258, DS= =3D1328x1260
change_frame_size (5), TS=3D1280x1260~>1280x1258, TC=3D8= 0x36~>80x35, NS=3D1328x1260~>1328x1258, IS=3D1328x1260~>1328x1258,= MS=3D32x70 IH IV
set_window_configuration (4), MS=3D160x175 IH IV

Second frame without menu bar:

Frame size history of #<frame =C2= =A0*Minibuf-1* 0x5be3fa6f4250>
x_create_frame_1 (5), TS=3D80x25~>1= 280x875, 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~>1296x1260, MS=3D32x7= 0 IH IV
scroll-bar-width (3), NS=3D1296x1260~>1328x1260, IS=3D1296x12= 60~>1328x1260, MS=3D160x175
scroll-bar-height (3), 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
MapNotify, not hidden & no= t iconified, PS=3D1328x1260, DS=3D1328x1260
ConfigureNotify, PS=3D1328x1= 260, XS=3D400x374, DS=3D1328x1260
xg_frame_resized, rejected, PS=3D1328x= 1260, XS=3D400x374, DS=3D664x630
tool-bar-lines (2), MS=3D160x175
xg_= frame_set_char_size, visible, PS=3D1328x1260, XS=3D1328x1260, DS=3D1328x126= 0
=C2=A0+values, PS=3D200x187, XS=3D664x671
ConfigureNotify, PS=3D132= 8x1260, XS=3D1328x1258, DS=3D1328x1260
xg_frame_resized, changed, PS=3D1= 328x1260, XS=3D1328x1258
change_frame_size_1, delayed, PS=3D1328x1260, X= S=3D1328x1258, DS=3D1328x1260
change_frame_size (5), TS=3D1280x1260~>= 1280x1258, TC=3D80x36~>80x35, NS=3D1328x1260~>1328x1258, IS=3D1328x12= 60~>1328x1258, MS=3D32x70 IH IV
set_window_configuration (4), MS=3D16= 0x175 IH IV

- Apply the patch gtkutil-reject-2024-10-02(25).diff (from a pristine
=C2=A0 =C2=A0Emacs).=C2=A0 This is like the previous patch but makes the in= itial frame
=C2=A0 =C2=A0only 25 lines high.=C2=A0 Again please post the histories for = all four
=C2=A0 =C2=A0cases.

First frame with menu bar:

Fram= e size history of #<frame =C2=A0*Minibuf-1* - GNU Emacs at dwks 0x5e3d15= f35b10>
x_create_frame_1 (5), TS=3D80x25~>1280x875, NS=3D80x25~>= ;1296x875, IS=3D80x25~>1296x875, MS=3D32x70 IH IV
gui_figure_window_s= ize (5), MS=3D32x70 IH IV
scroll-bar-width (3), NS=3D1296x875~>1328x8= 75, IS=3D1296x875~>1328x875, 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=3D1328x875, XS=3D1328x8= 75, DS=3D1328x875
xg_frame_set_char_size (5), MS=3D32x70 IH IV
x_make= _frame_visible
MapNotify, not hidden & not iconified, PS=3D1328x875,= DS=3D1328x875
ConfigureNotify, PS=3D1328x875, XS=3D1328x874, DS=3D1328x= 875
xg_frame_resized, changed, PS=3D1328x875, XS=3D1328x874
change_fr= ame_size_1, delayed, PS=3D1328x875, XS=3D1328x874, DS=3D1328x875
change_= frame_size (5), TS=3D1280x875~>1280x874, TC=3D80x25~>80x24, NS=3D1328= x875~>1328x874, IS=3D1328x875~>1328x874, MS=3D32x70 IH IV
Configur= eNotify, PS=3D1328x874, XS=3D1328x850
xg_frame_resized, changed, PS=3D13= 28x874, XS=3D1328x850
change_frame_size_1, delayed, PS=3D1328x874, XS=3D= 1328x850
tool-bar-lines (2), NS=3D1328x874~>1328x850, MS=3D160x175xg_frame_set_char_size, visible, PS=3D1328x874, XS=3D1328x850, DS=3D1328x8= 50
=C2=A0+values, PS=3D664x450, XS=3D664x491
ConfigureNotify, PS=3D13= 28x874, XS=3D1328x850, DS=3D1328x850
xg_frame_resized, changed, PS=3D132= 8x874, XS=3D1328x850, DS=3D1328x850
change_frame_size_1, delayed, PS=3D1= 328x874, XS=3D1328x850, DS=3D1328x850
change_frame_size (5), TS=3D1280x8= 74~>1280x850, NS=3D1328x874~>1328x850, IS=3D1328x874~>1328x850, MS= =3D32x70 IH IV
set_window_configuration (4), MS=3D160x175 IH IV

First frame without menu bar:
=

Frame size history of #<= frame =C2=A0*Minibuf-1* - GNU Emacs at dwks 0x58db7d353700>
x_create_= frame_1 (5), TS=3D80x25~>1280x875, NS=3D80x25~>1296x875, IS=3D80x25~&= gt;1296x875, MS=3D32x70 IH IV
gui_figure_window_size (5), MS=3D32x70 IH = IV
scroll-bar-width (3), NS=3D1296x875~>1328x875, IS=3D1296x875~>1= 328x875, MS=3D160x175
scroll-bar-height (3), MS=3D160x175
menu-bar-li= nes (2), MS=3D160x175
x_create_frame_2 (0), MS=3D160x175
xg_frame_set= _char_size, invisible, PS=3D1328x875, XS=3D1328x875, DS=3D1328x875
xg_fr= ame_set_char_size (5), MS=3D32x70 IH IV
x_make_frame_visible
MapNotif= y, not hidden & not iconified, PS=3D1328x875, DS=3D1328x875
Configur= eNotify, PS=3D1328x875, XS=3D1328x874, DS=3D1328x875
xg_frame_resized, c= hanged, PS=3D1328x875, XS=3D1328x874
change_frame_size_1, delayed, PS=3D= 1328x875, XS=3D1328x874, DS=3D1328x875
change_frame_size (5), TS=3D1280x= 875~>1280x874, TC=3D80x25~>80x24, NS=3D1328x875~>1328x874, IS=3D13= 28x875~>1328x874, MS=3D32x70 IH IV
menu-bar-lines (2), MS=3D160x175xg_frame_set_char_size, visible, PS=3D1328x874, XS=3D1328x874
=C2=A0+v= alues, PS=3D664x462, XS=3D664x437
ConfigureNotify, PS=3D1328x874, XS=3D1= 328x900
xg_frame_resized, rejected, PS=3D1328x874, XS=3D1328x900, DS=3D6= 64x437
ConfigureNotify, PS=3D1328x874, XS=3D1328x850
xg_frame_resized= , rejected, PS=3D1328x874, XS=3D1328x850, DS=3D664x437
tool-bar-lines (2= ), MS=3D160x175
xg_frame_set_char_size, visible, PS=3D1328x874, XS=3D132= 8x874
=C2=A0+values, PS=3D664x425, XS=3D664x478
ConfigureNotify, PS= =3D1328x874, XS=3D1328x850
xg_frame_resized, rejected, PS=3D1328x874, XS= =3D1328x850, DS=3D664x478
set_window_configuration (4), MS=3D160x175 IH = IV

Second frame wi= th menu bar:

Frame siz= e history of #<frame =C2=A0*Minibuf-1* 0x56df7cb4ae70>
x_create_fr= ame_1 (5), TS=3D80x25~>1280x875, NS=3D80x25~>1296x875, IS=3D80x25~>= ;1296x875, MS=3D32x70 IH IV
gui_figure_window_size (5), MS=3D32x70 IH IV=
scroll-bar-width (3), NS=3D1296x875~>1328x875, IS=3D1296x875~>132= 8x875, MS=3D160x175
scroll-bar-height (3), MS=3D160x175
menu-bar-line= s (2), MS=3D160x175
x_create_frame_2 (0), MS=3D160x175
xg_frame_set_c= har_size, invisible, PS=3D1328x875, XS=3D1328x875, DS=3D1328x875
xg_fram= e_set_char_size (5), MS=3D32x70 IH IV
x_make_frame_visible
MapNotify,= not hidden & not iconified, PS=3D1328x875, DS=3D1328x875
ConfigureN= otify, PS=3D1328x875, XS=3D400x340, DS=3D1328x875
xg_frame_resized, reje= cted, PS=3D1328x875, XS=3D400x340, DS=3D664x462
tool-bar-lines (2), MS= =3D160x175
xg_frame_set_char_size, visible, PS=3D1328x875, XS=3D1328x875= , DS=3D1328x875
=C2=A0+values, PS=3D200x195, XS=3D664x503
ConfigureNo= tify, PS=3D1328x875, XS=3D1328x768, DS=3D1328x875
xg_frame_resized, reje= cted, PS=3D1328x875, XS=3D1328x768, DS=3D664x503
ConfigureNotify, PS=3D1= 328x875, XS=3D1328x850, DS=3D1328x875
xg_frame_resized, rejected, PS=3D1= 328x875, XS=3D1328x850, DS=3D664x503
set_window_configuration (4), MS=3D= 160x175 IH IV

Seco= nd frame without menu bar:

Frame size history of #&= lt;frame =C2=A0*Minibuf-1* 0x6319bd8c8720>
x_create_frame_1 (5), TS= =3D80x25~>1280x875, NS=3D80x25~>1296x875, IS=3D80x25~>1296x875, MS= =3D32x70 IH IV
gui_figure_window_size (5), MS=3D32x70 IH IV
scroll-ba= r-width (3), NS=3D1296x875~>1328x875, IS=3D1296x875~>1328x875, MS=3D1= 60x175
scroll-bar-height (3), MS=3D160x175
x_create_frame_2 (0), MS= =3D160x175
xg_frame_set_char_size, invisible, PS=3D1328x875, XS=3D1328x8= 75, DS=3D1328x875
xg_frame_set_char_size (5), MS=3D32x70 IH IV
x_make= _frame_visible
MapNotify, not hidden & not iconified, PS=3D1328x875,= DS=3D1328x875
ConfigureNotify, PS=3D1328x875, XS=3D400x374, DS=3D1328x8= 75
xg_frame_resized, rejected, PS=3D1328x875, XS=3D400x374, DS=3D664x437=
tool-bar-lines (2), MS=3D160x175
xg_frame_set_char_size, visible, PS= =3D1328x875, XS=3D1328x875, DS=3D1328x875
=C2=A0+values, PS=3D200x187, X= S=3D664x478
ConfigureNotify, PS=3D1328x875, XS=3D1328x850, DS=3D1328x875=
xg_frame_resized, rejected, PS=3D1328x875, XS=3D1328x850, DS=3D664x478<= br>set_window_configuration (4), MS=3D160x175 IH IV

--
--00000000000053612f06237d4515--