From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 15:18:13 +0300 Message-ID: <86zfoafmyi.fsf@gnu.org> References: <868qvuh4wh.fsf@gnu.org> <87cyl6phdi.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2205"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73207@debbugs.gnu.org, koppel@ece.lsu.edu To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 14 14:19:00 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 1spRjv-0000M8-Nc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Sep 2024 14:19:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spRjq-0001q2-6X; Sat, 14 Sep 2024 08:18:54 -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 1spRjo-0001pf-Fl for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 08:18:52 -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 1spRjo-0002Hk-6W for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 08:18:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=3ApCJDAU0oKcTtdz0YcmUQVm6ybdrhLyH13oHYC4Km0=; b=LWGV/tcBsvZQNv0flTkMbCTbLHUcivm+0B8pJ1KZdjVuj3q4QIi0yG4FwHxjsYhrAMImZUfmevu1+USnjHBsgx3aJYZiRxM2Ih1C8hmKv3g6oxWAJkwaceY2QrDI/CxsfWcqHSFhXJ1DcQOMbNH3GJwHFn2woJz7bo94NG+KEBts7BGkDUfU52Pg/U02kmHNeOsP/qt3H3NRyR2iB33m07xiMOtD1K3YLc7pd+AFldL40znnOboqe9lyk3/MOS82Mp1nkF2VdcvsbK+wluUe0kbJcpiW/mDTPBJJ0M9BH2BXIPxw6i1NkqhJnYccvLxUQwqNVffi5tHHKRNuTHMJqA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1spRjy-0001z7-Jh for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 08:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Sep 2024 12:19:02 +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.17263163157582 (code B ref 73207); Sat, 14 Sep 2024 12:19:02 +0000 Original-Received: (at 73207) by debbugs.gnu.org; 14 Sep 2024 12:18:35 +0000 Original-Received: from localhost ([127.0.0.1]:45043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spRjX-0001yD-6N for submit@debbugs.gnu.org; Sat, 14 Sep 2024 08:18:35 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spRjV-0001xv-Ne for 73207@debbugs.gnu.org; Sat, 14 Sep 2024 08:18:34 -0400 Original-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 ) 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==; In-Reply-To: <87cyl6phdi.fsf@yahoo.com> (message from Po Lu on Sat, 14 Sep 2024 20:08:41 +0800) 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:291737 Archived-At: > From: Po Lu > Cc: David Koppelman , 73207@debbugs.gnu.org > Date: Sat, 14 Sep 2024 20:08:41 +0800 > > 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. Can you please add this to PROBLEMS on the release branch?