From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73207: 31.0.50; On PGTK frame outer-position and frame-monitor-workarea wrong. Date: Sat, 14 Sep 2024 20:08:41 +0800 Message-ID: <87cyl6phdi.fsf@yahoo.com> References: <868qvuh4wh.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11811"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 73207@debbugs.gnu.org, David Koppelman To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 14 14:10:10 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 1spRbM-0002lC-JK for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Sep 2024 14:10:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spRb7-0004gf-FB; Sat, 14 Sep 2024 08:09:53 -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 1spRb5-0004gT-T5 for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 08:09:51 -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 1spRb5-0000tI-Jg for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 08:09:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=qyMb9fOc6FJXrePNlgkzQ3JBq1gNJxD/HWaEUA6LfTU=; b=TGhyiKJa9742j9VjHI7vjOBz5ZlrDzcRckJu26xN8zze12MIEu+CPutO1eIh2rqtIGmqIPPaP+27Fh8igRdye3lefinzBUQaEEGZURBIXODj/w3aUodLm/lT0QRxLVXuRNxKWy1pSRRA9XTeRXmogyS/M4xdpVgidQiTU9iuoNnlCiZOnpd7yoYs5N0qpnWskaevWxx18mD68jLCH7u2dCv5Kt5A9264VRJizYzO0KXHUVlNYvvWx5pbcfY5zQ0diA+eiycjc7PMq29eTNnaxsmJOWff9r+hhPhiEWj3USpaIZmpb/X7A2eqlGBSasOgH6VkIGq79XzkX3CC/zSmyA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1spRbF-0001R2-V9 for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 08:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Sep 2024 12:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73207 X-GNU-PR-Package: emacs Original-Received: via spool by 73207-submit@debbugs.gnu.org id=B73207.17263157535454 (code B ref 73207); Sat, 14 Sep 2024 12:10:01 +0000 Original-Received: (at 73207) by debbugs.gnu.org; 14 Sep 2024 12:09:13 +0000 Original-Received: from localhost ([127.0.0.1]:44997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spRaT-0001Pt-3X for submit@debbugs.gnu.org; Sat, 14 Sep 2024 08:09:13 -0400 Original-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 ) id 1spRaQ-0001Pc-Rn for 73207@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: FLobxqQVM1kzyHhVnuuRdXUlife_bw2WkUMrFNys5d5ufBw..NUQNUXI_xPkkg. FtT5n.kfBswdYPQcmIi82kkyxb0UV7lZpgUYMfZIq8EKR4Cch7bwkN36RqEbIkgvTYNDk2SwX0_j M_lo5ma.N9pmLB5qNVqsr.9H.YE8uvGeq69yrvJs0uu2UFOE8PKN8eJXUYOng5YXUtGU53Xrgy1u UbHjYT1JO0WWK0sFebvMSRgzRsdLYtBrLhQyLp.7R1by6UIiRXQJXVtVdPDzUMH9tGG6ocaRPQn1 ZNBLAY7nNKl1M7wlbRwaFxwSN1_krlobml5I5OSxT3ED59ChDtdfdvnz9Y1MROQ74ZfuQt6HERYC kDZD4pXTAatf_69uOBmRA766Q1Ohgh6iEoB36tLps408KDAjl_djpfOYVHLXn1qmpp4tGV7eePFM Tel6HUFtAxNRg8749qs9pW83jeC6TdH21ZSxoJYNpa5TR97.sPdtnhBzoLx.9iqoIscRCw40VfKa sArrZPwTAdxUbMiQkKaCiu4KHwNO9FMPl7QWJGl5EIiXZPaqMVeLyxlomZgDr26xwBRkAn1LFppS ldFc4O4vj3ideIfw9Dqus7_98FSvh9EHqDbYcCgJE9kE5UySSyaP8X4L4H6tm77dFpB2Tm7g1LJg HXL3mI2zidhC3N7SmZbzsaKfMXZyqRV.vUslNvFPTQkcVui_q8163rcVRJDOEnLjDXSZ4160g.kR l4_hEaBOxxc4M4eMkSq.Yi9bI3S.ZpNhWbuapiNSo05c_Iv8qLaGTlcQv7XDu8WgMUpdgeEZtfAE WEfnAJGpx88YILbDDUdmYp0WonKqqf0xVpnmsiPDaM X-Sonic-MF: X-Sonic-ID: 358faa5f-5400-49a3-9a4b-e326d86fce07 Original-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 Original-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) In-Reply-To: <868qvuh4wh.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 14 Sep 2024 14:05:18 +0300") X-Mailer: WebService/1.1.22645 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:291733 Archived-At: Eli Zaretskii writes: >> From: David Koppelman >> 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.