GNU bug report logs - #73207
31.0.50; On PGTK frame outer-position and frame-monitor-workarea wrong.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: David Koppelman <koppel@HIDDEN>; dated Thu, 12 Sep 2024 18:25:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 73207 <at> debbugs.gnu.org:


Received: (at 73207) by debbugs.gnu.org; 14 Sep 2024 12:18:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 14 08:18:35 2024
Received: from localhost ([127.0.0.1]:45043 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1spRjX-0001yD-6N
	for submit <at> debbugs.gnu.org; Sat, 14 Sep 2024 08:18:35 -0400
Received: from eggs.gnu.org ([209.51.188.92]:43856)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1spRjV-0001xv-Ne
 for 73207 <at> debbugs.gnu.org; Sat, 14 Sep 2024 08:18:34 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1spRjD-0002Ev-Lk; Sat, 14 Sep 2024 08:18:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=3ApCJDAU0oKcTtdz0YcmUQVm6ybdrhLyH13oHYC4Km0=; b=bl2dW8VKQO7O
 m/cJRlWAGMim+ww7UWGnBvxmQdg+OP7lS/5fzFH1jT7C/3sY5a61iMp1nWRXfov7e+31Pzpm3SVVt
 o8EmqDlR5fExBmYhS5Ji73RHBWoBP3BlQYyYfjd3g4ONhwiqR2tFWn1LpJHtpw+n3+UOM9f3s0Hmz
 iGYIOM8tIBGDbafZDgi4UuigrBP46aRVWJOw2mxf0yWDLPzsJCCMk8hGuRDVHNPK34rrwZ00H5sUw
 00O+E1Q2wSxItW6zhYr1jstnmQFWOWE/K6yew4qsZdyiWrKPt4aCyum8harwybLKmUpBdV551aWtP
 yu4WH8E5fT8ucVT28xk1bg==;
Date: Sat, 14 Sep 2024 15:18:13 +0300
Message-Id: <86zfoafmyi.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87cyl6phdi.fsf@HIDDEN> (message from Po Lu on Sat, 14 Sep
 2024 20:08:41 +0800)
Subject: Re: bug#73207: 31.0.50; On PGTK frame outer-position and
 frame-monitor-workarea wrong.
References: <yg5o74s688r.fsf@HIDDEN> <868qvuh4wh.fsf@HIDDEN>
 <87cyl6phdi.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 73207
Cc: 73207 <at> debbugs.gnu.org, koppel@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Po Lu <luangruo@HIDDEN>
> Cc: David Koppelman <koppel@HIDDEN>,  73207 <at> debbugs.gnu.org
> Date: Sat, 14 Sep 2024 20:08:41 +0800
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> From: David Koppelman <koppel@HIDDEN>
> >> Date: Thu, 12 Sep 2024 13:24:04 -0500
> >> 
> >> In a PGTK build of Emacs running on KDE Wayland (versions are below) the
> >> position of a frame and the size of the workarea are wrong. These work
> >> correctly in non-PGTK builds. For example, (frame-edges nil
> >> 'outer-edges) returns (0 0 752 840), even though the top-left of the
> >> frame is not over pixel 0,0. In a call to (frame-monitor-attributes) the
> >> geometry and workarea dimensions are the same. The workarea is correctly
> >> reported as smaller in non-PGTK builds.
> >> 
> >> I'd prefer that these be fixed, but if not they ought to be documented
> >> in etc/PROBLEMS.
> >
> > Po Lu, any comments?
> >
> > ISTR that we already know about this issue, but for some reason I
> > cannot find it in PROBLEMS or anywhere else.  What did I miss?
> 
> It's impossible to extract these values on Wayland because the protocol
> is engineered to withhold them from programs.  There are entries for
> similar protocol limitations in etc/PROBLEMS (e.g. warping or locating
> the mouse pointer), but not the unavailability of frame geometry or
> workspace dimensions.

Can you please add this to PROBLEMS on the release branch?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73207; Package emacs. Full text available.

Message received at 73207 <at> debbugs.gnu.org:


Received: (at 73207) by debbugs.gnu.org; 14 Sep 2024 12:09:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 14 08:09:13 2024
Received: from localhost ([127.0.0.1]:44997 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1spRaT-0001Pt-3X
	for submit <at> debbugs.gnu.org; Sat, 14 Sep 2024 08:09:13 -0400
Received: from sonic305-21.consmr.mail.ne1.yahoo.com ([66.163.185.147]:41812)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1spRaQ-0001Pc-Rn
 for 73207 <at> debbugs.gnu.org; Sat, 14 Sep 2024 08:09:11 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1726315734; bh=qyMb9fOc6FJXrePNlgkzQ3JBq1gNJxD/HWaEUA6LfTU=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=RaWCMHy9eLagGxKM0Tx+c0Tv/yqKtckV6YPH7y2yZ1KaC44u5SWVRSHUQV+5VpAeInwtVBtuG7giIlLyJiUsZjKeIryYvp8IrcuRkFse8CBalrd2M9/dGk7X76PQ8V3x/k2lI4q+1i24mYLRXuFkw8T5sm+AxES87b6unmqMj7cpViCb93oUxrnBgWNs5MzpGZP/eTNO9eVrERm/JNZA4mUrPILMlSQxSs3vSqPqTfAsQQOVkvzb1Cpw8YeK5mrGu+IKr1GYZ6JoArSdMThe0TdkrND0NxNvMFU/T3wHCnDj9AWTwIQMvLFcR/H4lcBQjshuBWZE+uhNKPH0auT8mg==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1726315734; bh=eRgxDPzfMSBYdgiW0zuEQiJkGZtXhTLtBS/k49awRU2=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=JaH6dOtWNFOwdj2wCg4P9DRLq00qAmtOcQr+cerR2uSPQqmx6IWLPmk0FtJt+Ip8UPHUNErxC5W7PECAt5wJAgmjh21YJWJD1t2rpSWjXoguLAXc7/+NFG/ybVYJAPCqe4UKtoBqxIGFFDEguN0kABB9z9YZqP6Omni5an5VaG2fViTa8QvBi9rDY6w/A1joyOxovtDmt4Fm+n6Xz5rbVp0XRNa+OX+W+CruITh+DZgaveECwXg9pxZLdOlTzM9pLnhqM0Q5CAzGaetmEoexoR7eeACGCoX0w5WnThzZ/hoC9tr2MBgP12EkBur5SroPk2qm8caMTuSjv/XTqVXGTg==
X-YMail-OSG: FLobxqQVM1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wjcVkFt26tJG0M.BqZZrGZ
 WeM2F5Ebnh5_Xdvl.ADjMiQKoCYnj1LR20VgcON9JlCAYEIIidms19Os8tXNUHzR3W2hyAS.wvWK
 tTw.3rAyZm4Gt5N479n6FxjaZGeR.bPaM58DtbFSufY5J.1K78Z1l.A9_6WKz5MU.3LBNc_Mmo.i
 sbqChyu9PbwV._K9cJQY8b.nb6Zo4JG1Ur2Lp5agNkmKYBPxKyJChdi1JvrXOlf9x5XGS
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 358faa5f-5400-49a3-9a4b-e326d86fce07
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic305.consmr.mail.ne1.yahoo.com with HTTP; Sat, 14 Sep 2024 12:08:54 +0000
Received: by hermes--production-sg3-fc85cddf6-m4s4b (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 56b8affaf6f67396cc161194beee6122; 
 Sat, 14 Sep 2024 12:08:47 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#73207: 31.0.50; On PGTK frame outer-position and
 frame-monitor-workarea wrong.
In-Reply-To: <868qvuh4wh.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 14 Sep
 2024 14:05:18 +0300")
References: <yg5o74s688r.fsf@HIDDEN> <868qvuh4wh.fsf@HIDDEN>
Date: Sat, 14 Sep 2024 20:08:41 +0800
Message-ID: <87cyl6phdi.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.22645
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1170
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 73207
Cc: 73207 <at> debbugs.gnu.org, David Koppelman <koppel@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: David Koppelman <koppel@HIDDEN>
>> Date: Thu, 12 Sep 2024 13:24:04 -0500
>> 
>> In a PGTK build of Emacs running on KDE Wayland (versions are below) the
>> position of a frame and the size of the workarea are wrong. These work
>> correctly in non-PGTK builds. For example, (frame-edges nil
>> 'outer-edges) returns (0 0 752 840), even though the top-left of the
>> frame is not over pixel 0,0. In a call to (frame-monitor-attributes) the
>> geometry and workarea dimensions are the same. The workarea is correctly
>> reported as smaller in non-PGTK builds.
>> 
>> I'd prefer that these be fixed, but if not they ought to be documented
>> in etc/PROBLEMS.
>
> Po Lu, any comments?
>
> ISTR that we already know about this issue, but for some reason I
> cannot find it in PROBLEMS or anywhere else.  What did I miss?

It's impossible to extract these values on Wayland because the protocol
is engineered to withhold them from programs.  There are entries for
similar protocol limitations in etc/PROBLEMS (e.g. warping or locating
the mouse pointer), but not the unavailability of frame geometry or
workspace dimensions.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73207; Package emacs. Full text available.

Message received at 73207 <at> debbugs.gnu.org:


Received: (at 73207) by debbugs.gnu.org; 14 Sep 2024 11:05:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 14 07:05:41 2024
Received: from localhost ([127.0.0.1]:44934 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1spQaz-0006IC-Jv
	for submit <at> debbugs.gnu.org; Sat, 14 Sep 2024 07:05:41 -0400
Received: from eggs.gnu.org ([209.51.188.92]:47298)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1spQax-0006Hp-UF
 for 73207 <at> debbugs.gnu.org; Sat, 14 Sep 2024 07:05:40 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1spQaf-0002Hr-RF; Sat, 14 Sep 2024 07:05:21 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=z7t08L9PBlaWdYdNi/eC5+3FcmuULpoxVyhYcXcYj3Q=; b=SQkPtjmjHXiR
 0FWUnFnmpngU0/PKKMygQ2HTbU9T9jZKIaMJqCvTVMaLnaG2vDspsVRYYTmCrC30q0Sok+HrH32ra
 l7tSOCb5kFpqo93u5I6DDOjeWRpF5PLKnYozv22v3X7XnKiPvXAp9MLNaGDI0JRM5hJlyQcN7SRF9
 uwCeySrEjIJFRXHG8ryTJfHrT8a8wblhIgaep4eoWIL/JAdIDAEuGY7Ti3z/cPq5Yl17WMrmGXGxi
 T0NTZ9YPa77+2TzSgY5LgBUZslKXk+vJowd+nOLJ8Qivl9TofpYazYiVxv32xOwhTJxRxp8eTf4No
 9RNCIBUKZy3QJzlihvM9Eg==;
Date: Sat, 14 Sep 2024 14:05:18 +0300
Message-Id: <868qvuh4wh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: David Koppelman <koppel@HIDDEN>, Po Lu <luangruo@HIDDEN>
In-Reply-To: <yg5o74s688r.fsf@HIDDEN> (message from David Koppelman
 on Thu, 12 Sep 2024 13:24:04 -0500)
Subject: Re: bug#73207: 31.0.50;
 On PGTK frame outer-position and frame-monitor-workarea wrong.
References: <yg5o74s688r.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 73207
Cc: 73207 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: David Koppelman <koppel@HIDDEN>
> Date: Thu, 12 Sep 2024 13:24:04 -0500
> 
> In a PGTK build of Emacs running on KDE Wayland (versions are below) the
> position of a frame and the size of the workarea are wrong. These work
> correctly in non-PGTK builds. For example, (frame-edges nil
> 'outer-edges) returns (0 0 752 840), even though the top-left of the
> frame is not over pixel 0,0. In a call to (frame-monitor-attributes) the
> geometry and workarea dimensions are the same. The workarea is correctly
> reported as smaller in non-PGTK builds.
> 
> I'd prefer that these be fixed, but if not they ought to be documented
> in etc/PROBLEMS.

Po Lu, any comments?

ISTR that we already know about this issue, but for some reason I
cannot find it in PROBLEMS or anywhere else.  What did I miss?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73207; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Sep 2024 18:24:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 12 14:24:21 2024
Received: from localhost ([127.0.0.1]:41916 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sooUO-0001LS-RO
	for submit <at> debbugs.gnu.org; Thu, 12 Sep 2024 14:24:21 -0400
Received: from lists.gnu.org ([209.51.188.17]:39398)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eekopp@HIDDEN>) id 1sooUN-0001LL-QN
 for submit <at> debbugs.gnu.org; Thu, 12 Sep 2024 14:24:20 -0400
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 <eekopp@HIDDEN>) id 1sooUF-0001aR-Dc
 for bug-gnu-emacs@HIDDEN; Thu, 12 Sep 2024 14:24:11 -0400
Received: from relay002.lsu.edu ([130.39.6.157] helo=relay.lsu.edu)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eekopp@HIDDEN>) id 1sooUC-00014v-1X
 for bug-gnu-emacs@HIDDEN; Thu, 12 Sep 2024 14:24:11 -0400
Received: from cyc2.ece.lsu.edu (cyc2.ece.lsu.edu [96.125.114.179])
 by relay.lsu.edu (Postfix) with ESMTPS id E66EA219BD40
 for <bug-gnu-emacs@HIDDEN>; Thu, 12 Sep 2024 13:24:04 -0500 (CDT)
From: David Koppelman <koppel@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; On PGTK frame outer-position and frame-monitor-workarea
 wrong.
Date: Thu, 12 Sep 2024 13:24:04 -0500
Message-ID: <yg5o74s688r.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=130.39.6.157; envelope-from=eekopp@HIDDEN;
 helo=relay.lsu.edu
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=0.001,
 RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

In a PGTK build of Emacs running on KDE Wayland (versions are below) the
position of a frame and the size of the workarea are wrong. These work
correctly in non-PGTK builds. For example, (frame-edges nil
'outer-edges) returns (0 0 752 840), even though the top-left of the
frame is not over pixel 0,0. In a call to (frame-monitor-attributes) the
geometry and workarea dimensions are the same. The workarea is correctly
reported as smaller in non-PGTK builds.

I'd prefer that these be fixed, but if not they ought to be documented
in etc/PROBLEMS.


In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.43, cairo version 1.18.0) of 2024-09-08 built on dmk-laptop-23
Repository revision: 4073c624376148d469a27a7c487a9b2f49d5352a
Repository branch: master
System Description: Fedora Linux 41 (KDE Plasma Prerelease)

Configured using:
 'configure 'CFLAGS=-O2 -march=native' --without-pop
 --with-native-compilation --with-pgtk'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB

Important settings:
  value of $LC_COLLATE: C
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: C
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=none
  locale-coding-system: utf-8-unix

Major mode: Info

Minor modes in effect:
  global-hi-lock-mode: t
  hi-lock-mode: t
  which-function-mode: t
  global-ligature-mode: t
  ligature-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  isearch-fold-quotes-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:

 The problem occurs with a -Q run, no need for my load path details.

Features:
(shadow sort gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime
gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group
gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7
nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader range wid-edit
emacsbug tabify color tex-mode latexenc verilog-mode-4702 skeleton
reporter verilog-mode log-view pcvs-util bug-reference pcase
emacs-news-mode noutline outline debug backtrace find-func shortdoc gud
conf-mode wdired smerge-mode diff vc vc-git diff-mode track-changes
vc-dispatcher cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs parse-time iso8601 mule-util info
apropos cl-print help-fns radix-tree pcmpl-unix misearch multi-isearch
cperl-mode facemenu mail-extr project add-log compile comp-run
comp-common view p-math.el sh-script smie treesit executable files-x
p-viewer-laptop browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie generate-lisp-file url-domsuf
url-util p-iimage simtools p-tex-funcs shell pcomplete comint ansi-osc
ring man ansi-color hi-lock rmail p-stop-time time-stamp dired-aux
p-page dabbrev ps-print ps-print-loaddefs lpr holidays holiday-loaddefs
appt p-diary-aux cal-x p-diary-audit diary-lib diary-loaddefs cal-menu
calendar cal-loaddefs mic-paren message sendmail mailcap yank-media puny
dired dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config
gnus-util text-property-search time-date mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr
mailabbrev mail-utils gmm-utils mailheader ffap url-parse auth-source
eieio eieio-core icons password-cache json map byte-opt bytecomp
byte-compile url-vars ccl-mode ampl-mode texize chemora-mode cmake-mode
thingatpt which-func imenu flyspell ispell gnuplot-mode yaml-mode
p-pwf-mode p-autoreload cl-extra help-mode rx cl-seq ligature easy-mmode
advice derived sd image-file image-converter dbus xml subr-x cl-macs gv
cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/pgtk-win pgtk-win term/common-win touch-screen pgtk-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo gtk pgtk
lcms2 multi-tty move-toolbar make-network-process native-compile emacs)

Memory information:
((conses 16 596625 74664) (symbols 48 25644 0)
 (strings 32 109707 10232) (string-bytes 1 3677640) (vectors 16 55193)
 (vector-slots 8 1481273 104469) (floats 8 889 749)
 (intervals 56 39508 2174) (buffers 992 65))




Acknowledgement sent to David Koppelman <koppel@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#73207; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.