X-Loop: help-debbugs@HIDDEN Subject: bug#76051: 29.4; Incorrect workarea entry in display-monitor-attributes-list on macOS Resent-From: Anders Lindgren <andlind@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 04 Feb 2025 13:43:02 +0000 Resent-Message-ID: <handler.76051.B.173867655411131 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 76051 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 76051 <at> debbugs.gnu.org X-Debbugs-Original-To: Emacs bug reports and feature requests <bug-gnu-emacs@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.173867655411131 (code B ref -1); Tue, 04 Feb 2025 13:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Feb 2025 13:42:34 +0000 Received: from localhost ([127.0.0.1]:43184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tfJCE-0002tS-9I for submit <at> debbugs.gnu.org; Tue, 04 Feb 2025 08:42:34 -0500 Received: from lists.gnu.org ([2001:470:142::17]:60668) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <andlind@HIDDEN>) id 1tfJCA-0002tB-UH for submit <at> debbugs.gnu.org; Tue, 04 Feb 2025 08:42:32 -0500 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 <andlind@HIDDEN>) id 1tfJC4-0005Ui-91 for bug-gnu-emacs@HIDDEN; Tue, 04 Feb 2025 08:42:24 -0500 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <andlind@HIDDEN>) id 1tfJC2-00028h-IZ for bug-gnu-emacs@HIDDEN; Tue, 04 Feb 2025 08:42:23 -0500 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-5d9837f201aso12330712a12.0 for <bug-gnu-emacs@HIDDEN>; Tue, 04 Feb 2025 05:42:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738676540; x=1739281340; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Affufy7vWYBe3ekpmG2EMv4e68gSkuMuHaJsIzJ4Ul0=; b=JxlKwtVol4Tjq4VVnKTV4kyuLvUmPPR1+WDqc9OMPGrjDVPrLzrDu0FdLkKgJVMG9g jeHuJLSxJ+dY7hFgEoSMBU5/EM5l0JmOlW5VuZdXSZ8uyuUiHCuJH9jqMK+3VkcbC9Ma 31GaloxlB1P+3AzZVKG3P6luHdwxKt9S2sz5uwtmYKRg1iTUXgCF6Ql6KGHh6B5XYO9R 1RGU81sOvYXwvS+gppV/M21yYYShRO7VnmqAEWjGfNjB9WLa3P5Na0cCT713lvXc9u73 VnrNfr5eZQlYTNmN9gGnHkFTpGAiWEJyPcRNC4IXWrBvZRTn5hWpfManIawNah6dr/7E l+ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738676540; x=1739281340; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Affufy7vWYBe3ekpmG2EMv4e68gSkuMuHaJsIzJ4Ul0=; b=IWaFypecU08fDRC223mI0epbG83qrJJrjp82YDTcTL7yRHgd8IY76ZA95OzGUkXBi2 HkdUkWhCvOQztyM57ta0hu2FD4fXkZ3FrKRUAbI9mkQ6Qs9GGjykpcfMjzp44A6N5+pb jg1+g2ifbu47JiR/X1gSo8SRiO5wICd8OSVoZQtJlJ2E0wgk3UJMEFjegzhmAhFqo7XE o3aOoqv9gDbyQj6k4HB4xRRtS+T9dagY1/5KUL9cK0EuvPhwrbNY+x8X4KiDPW+BEKh2 KmoJxdAJOpW36aIXAp9IcQFgDLSAZNHQY/ULcc4BILfggMQBDpDovfBOXHG6KzAS9Rwo KIUw== X-Gm-Message-State: AOJu0YzMeBa5O89fbBEcuK0C7mvHKBgiaUFoVO0JrWCd06Bf3fBIQGf6 hqvYQ8B99RQ6vuW3xeFPxPkdcz2y3kap4OqDjai9L9kegZKq8ndS60mS0YE2zQk9ei1KRKG6fhT XPRh2q1OwJtZ5OzLXPFy0xmzE2YTiKnKh X-Gm-Gg: ASbGncsBOOoUSb6HnO7dUOmXwVkTnWd5MHyjQDl2jcGBe1kg1LADiwM6B6JXdW86Bnr QU4FGJL562uVD3MoXDOPhwIvAwqrnOVds4iVpKu0BthHJlNxPRoeCqoXlW2MiXnnSUjYmcHdM6H zfOgWeCJs3XM4Oa8P/Iwwnx0on2IS7mMs= X-Google-Smtp-Source: AGHT+IFHJTRGcFQZhfBNYo/uct2yb6j6s8qy0cUnZ5UC9GgNcxtuUgvGFdQ1m/DYoVZUQBQfCzLoh+TFcGoM11r61t0= X-Received: by 2002:a05:6402:1cc1:b0:5d3:eb50:4e33 with SMTP id 4fb4d7f45d1cf-5dcc14a5279mr2891971a12.5.1738676539141; Tue, 04 Feb 2025 05:42:19 -0800 (PST) MIME-Version: 1.0 From: Anders Lindgren <andlind@HIDDEN> Date: Tue, 4 Feb 2025 14:42:07 +0100 X-Gm-Features: AWEUYZnatKTzN1p1EWgr5Yz4SDWNA2NlQewZwsR-dgmOVOGmBbwcrgvloQmzVaA Message-ID: <CABr8ebb-gjcWJWGNAQRqtkkqDL3m=KmJ-7tECjGCCwOnTmRTOQ@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000007ebe07062d512dd6" Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=andlind@HIDDEN; helo=mail-ed1-x529.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) --0000000000007ebe07062d512dd6 Content-Type: text/plain; charset="UTF-8" Hi! I think the `display-monitor-attributes-list' function returns an incorrect `workarea' entry on macOS. Concretely, I have a laptop with an external monitor connected. The external monitor is placed above to the left. The `display-monitor-attributes-list' function returns the following (abbreviated): (((geometry 0 0 1728 1117) (workarea 0 38 1728 1079) ... ((geometry -2560 -723 2560 1440) (workarea -2560 -638 2560 1330) ...)) The first member in the list describes the laptop monitor (the primary monitor), the second the external monitor. The first two numbers, `X' and `Y', in each entry describe the position of the top left corner of the area, relative to the top left corner of the primary monitor. The number that I think is incorrect is the `Y' of the workarea of the external monitor, which is "-638". It indicates that there is a (723-638 = 85 pixel area on top of the screen which is outside the work area.) However, in reality, there is a 25 pixel menu bar which should be outside the work area. The 85 probably comes from the macOS dock, which is placed in the lower part of the screen. The height field correctly includes both the menu bar and the dock. I've tested this on Emacs 29.4 and 30.0.93 on macOS 15.1. -- Anders Lindgren (Long time Emacs contributor and former NS maintainer) --0000000000007ebe07062d512dd6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi!<br><br>I think the `display-monitor-attributes-list= 9; function returns an incorrect `workarea' entry on macOS.<br><br>Conc= retely, I have a laptop with an external monitor connected. The external mo= nitor is placed above to the left.<br><br>The `display-monitor-attributes-l= ist' function returns the following (abbreviated):<br><br>=C2=A0 =C2=A0= (((geometry 0 0 1728 1117) (workarea 0 38 1728 1079) ...<br>=C2=A0 =C2=A0 = =C2=A0((geometry -2560 -723 2560 1440) (workarea -2560 -638 2560 1330) ...)= )<br><br>The first member in the list describes the laptop monitor (the pri= mary monitor), the second the external monitor.<br><br>The first two number= s, `X' and `Y', in each entry describe the position of the top left= corner of the area, relative to the top left corner of the primary monitor= .<br><br>The number that I think is incorrect is the `Y' of the workare= a of the external monitor, which is "-638". It indicates that the= re is a (723-638 =3D 85 pixel area on top of the screen which is outside th= e work area.)<br><br>However, in reality, there is a 25 pixel menu bar whic= h should be outside the work area. The 85 probably comes from the macOS doc= k, which is placed in the lower part of the screen.<br><br>The height field= correctly includes both the menu bar and the dock.<br><br>I've tested = this on Emacs 29.4 and 30.0.93 on macOS 15.1.<br><br>=C2=A0 =C2=A0 -- Ander= s Lindgren (Long time Emacs contributor and former NS maintainer)<br></div> --0000000000007ebe07062d512dd6--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Anders Lindgren <andlind@HIDDEN> Subject: bug#76051: Acknowledgement (29.4; Incorrect workarea entry in display-monitor-attributes-list on macOS) Message-ID: <handler.76051.B.173867655411131.ack <at> debbugs.gnu.org> References: <CABr8ebb-gjcWJWGNAQRqtkkqDL3m=KmJ-7tECjGCCwOnTmRTOQ@HIDDEN> X-Gnu-PR-Message: ack 76051 X-Gnu-PR-Package: emacs Reply-To: 76051 <at> debbugs.gnu.org Date: Tue, 04 Feb 2025 13:43:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 76051 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 76051: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76051 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#76051: 29.4; Incorrect workarea entry in display-monitor-attributes-list on macOS Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 08 Feb 2025 11:07:02 +0000 Resent-Message-ID: <handler.76051.B76051.17390127838333 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76051 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Anders Lindgren <andlind@HIDDEN>, Po Lu <luangruo@HIDDEN>, Alan Third <alan@HIDDEN> Cc: 76051 <at> debbugs.gnu.org Received: via spool by 76051-submit <at> debbugs.gnu.org id=B76051.17390127838333 (code B ref 76051); Sat, 08 Feb 2025 11:07:02 +0000 Received: (at 76051) by debbugs.gnu.org; 8 Feb 2025 11:06:23 +0000 Received: from localhost ([127.0.0.1]:38816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tgifH-0002AJ-8k for submit <at> debbugs.gnu.org; Sat, 08 Feb 2025 06:06:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40010) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tgifF-0002A0-BN for 76051 <at> debbugs.gnu.org; Sat, 08 Feb 2025 06:06:21 -0500 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 1tgif7-0004qQ-LE; Sat, 08 Feb 2025 06:06:14 -0500 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=s9vBax3YSNSz75lgyBTSCdotTs43KMBOfXUN4+MTpVU=; b=rCHB57A34ptG M5tIzct/5gbceV+nkOUlXGRbyuhVZ1vx4V/pUVPVD+lX72BXhSsvzzTyEkWhJSJUpvFyND0YIdi4M KNFwyT80TfEEvphGdLEuOWgsgOvZG/vVgZ9O/kCt5fvoB9SJmlXOg1pflEu2DT60XTBXnId2XSekz wQPSkyAyx00yK4i6LXGahj+8mhVbWqwHf31pd58c/7lqDVAtCXS+c+/nekPNW4bRZS+ZTs+UgRBKv fhhAqg87QVH+IB8Or50mzSklXh7/suBDCIehkXZLUMBKKi1tkNK//+pHPfPV5yQIfLjta5Uh689sO /1nnMlz+b6us+DjHahI+mQ==; Date: Sat, 08 Feb 2025 13:05:30 +0200 Message-Id: <86a5aw3ddx.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <CABr8ebb-gjcWJWGNAQRqtkkqDL3m=KmJ-7tECjGCCwOnTmRTOQ@HIDDEN> (message from Anders Lindgren on Tue, 4 Feb 2025 14:42:07 +0100) References: <CABr8ebb-gjcWJWGNAQRqtkkqDL3m=KmJ-7tECjGCCwOnTmRTOQ@HIDDEN> X-Spam-Score: -2.3 (--) 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: Anders Lindgren <andlind@HIDDEN> > Date: Tue, 4 Feb 2025 14:42:07 +0100 > > I think the `display-monitor-attributes-list' function returns an incorrect `workarea' entry on macOS. > > Concretely, I have a laptop with an external monitor connected. The external monitor is placed above to the > left. > > The `display-monitor-attributes-list' function returns the following (abbreviated): > > (((geometry 0 0 1728 1117) (workarea 0 38 1728 1079) ... > ((geometry -2560 -723 2560 1440) (workarea -2560 -638 2560 1330) ...)) > > The first member in the list describes the laptop monitor (the primary monitor), the second the external > monitor. > > The first two numbers, `X' and `Y', in each entry describe the position of the top left corner of the area, > relative to the top left corner of the primary monitor. > > The number that I think is incorrect is the `Y' of the workarea of the external monitor, which is "-638". It > indicates that there is a (723-638 = 85 pixel area on top of the screen which is outside the work area.) > > However, in reality, there is a 25 pixel menu bar which should be outside the work area. The 85 probably > comes from the macOS dock, which is placed in the lower part of the screen. > > The height field correctly includes both the menu bar and the dock. > > I've tested this on Emacs 29.4 and 30.0.93 on macOS 15.1. Thanks. Maybe Po Lu and Alan (CC'ed) could help here.
X-Loop: help-debbugs@HIDDEN Subject: bug#76051: 29.4; Incorrect workarea entry in display-monitor-attributes-list on macOS Resent-From: Alan Third <alan@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 26 May 2025 19:35:02 +0000 Resent-Message-ID: <handler.76051.B.17482880947816 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76051 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Anders Lindgren <andlind@HIDDEN> Cc: 76051 <at> debbugs.gnu.org X-Debbugs-Original-Cc: Emacs bug reports and feature requests <bug-gnu-emacs@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.17482880947816 (code B ref -1); Mon, 26 May 2025 19:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 May 2025 19:34:54 +0000 Received: from localhost ([127.0.0.1]:60122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uJdb3-00021y-BA for submit <at> debbugs.gnu.org; Mon, 26 May 2025 15:34:53 -0400 Received: from lists.gnu.org ([2001:470:142::17]:51992) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alan@HIDDEN>) id 1uJdaw-00020u-1x for submit <at> debbugs.gnu.org; Mon, 26 May 2025 15:34:50 -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 <alan@HIDDEN>) id 1uJdal-0008VZ-NT for bug-gnu-emacs@HIDDEN; Mon, 26 May 2025 15:34:35 -0400 Received: from dane.soverin.net ([185.233.34.158]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <alan@HIDDEN>) id 1uJdai-0002Vx-BV for bug-gnu-emacs@HIDDEN; Mon, 26 May 2025 15:34:34 -0400 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4b5mDM13P2zygF; Mon, 26 May 2025 19:34:27 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4b5mDL5VNhzNh; Mon, 26 May 2025 19:34:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1748288067; bh=Lr9X0tW84WrIShsfI0yyIUK8xD8qqrtnd2kI0fw1PXk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=G5QGtFwdQ99YPjr+E3LftkmE+wuaj+sG4qQNrhlzki7uqDuaKyTRwWf3sb7AMimT0 YKGRkhh0QUZx/En5ahCek0rlRvE7ghxLmLeWxuVbbnsCeHeqDw8ARkYG+gyi5+6eUP RXJxuqFCr0e7IK91KLcI6WauYEzrePBrHnjgO0ZkRm5S3uVJtxvJPmZE42oJZsPz8Z 1CM+Kd2Ibbo/pKkpkHYL+y5FxUkhfqV7ICPb/3ZCzFPNhY/ZcnvYgZfCNzWz+NJESU /yw+gV5GKTzqzYnGy1Exrm2bQH0i2/jufTR6Y2c6oEa2Dy2GpjOrCOZpF7/0p9KFaA kKG9X7DAJ+f9Q== X-CM-Envelope: MS4xfJIH0Xd9QiYyc/VPU6WPRyymsix5yNAps/6SxmwYjmvvTxxp/ABpIjT9UEXBlcfXsFaAflBbR7Y5pWbRHugXDx5p/uHQiltsbnxp+qitADzARj4gj+5Q rhESPg1piguERKqgrq5EG871JIaxKA7ZsN0PDX65QRyClQTnHgmQxUx/g01TaZlWeKbymxZVHLKG4rPa0iD8tY2d5Y7WQ1JHsdzDfDCiqJxQzRc6qcj7GST5 ysTlg9Y0JwCsa2G2O4clG8EoczYAJHhR2YpyXDQUVxU= X-CM-Analysis: v=2.4 cv=UsCZN/wB c=1 sm=1 tr=0 ts=6834c242 a=LgqaKf46s638raT381imug==:617 a=xqWC_Br6kY4A:10 a=sMHh_3vpHP_T89BvBlsA:9 a=CjuIK1q_8ugA:10 a=hIj89exaAAAA:8 a=lMqMxG2-EyG6yLVBDBQA:9 a=lS9wXHQM5UdnNJ4u63Ry:22 Date: Mon, 26 May 2025 20:34:25 +0100 From: Alan Third <alan@HIDDEN> Message-ID: <aDTCQSLd5KNo4_eH@HIDDEN> Mail-Followup-To: Alan Third <alan@HIDDEN>, Anders Lindgren <andlind@HIDDEN>, Emacs bug reports and feature requests <bug-gnu-emacs@HIDDEN> References: <CABr8ebb-gjcWJWGNAQRqtkkqDL3m=KmJ-7tECjGCCwOnTmRTOQ@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="QWT2DoCw1WRnE4vf" Content-Disposition: inline In-Reply-To: <CABr8ebb-gjcWJWGNAQRqtkkqDL3m=KmJ-7tECjGCCwOnTmRTOQ@HIDDEN> X-Spampanel-Class: ham Received-SPF: pass client-ip=185.233.34.158; envelope-from=alan@HIDDEN; helo=dane.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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.0 (+) 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: -0.0 (/) --QWT2DoCw1WRnE4vf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Feb 04, 2025 at 02:42:07PM +0100, Anders Lindgren wrote: > Hi! Hi Anders, > I think the `display-monitor-attributes-list' function returns an incorrect > `workarea' entry on macOS. > > Concretely, I have a laptop with an external monitor connected. The > external monitor is placed above to the left. > > The `display-monitor-attributes-list' function returns the following > (abbreviated): > > (((geometry 0 0 1728 1117) (workarea 0 38 1728 1079) ... > ((geometry -2560 -723 2560 1440) (workarea -2560 -638 2560 1330) ...)) > > The first member in the list describes the laptop monitor (the primary > monitor), the second the external monitor. > > The first two numbers, `X' and `Y', in each entry describe the position of > the top left corner of the area, relative to the top left corner of the > primary monitor. > > The number that I think is incorrect is the `Y' of the workarea of the > external monitor, which is "-638". It indicates that there is a (723-638 = > 85 pixel area on top of the screen which is outside the work area.) > > However, in reality, there is a 25 pixel menu bar which should be outside > the work area. The 85 probably comes from the macOS dock, which is placed > in the lower part of the screen. > > The height field correctly includes both the menu bar and the dock. > > I've tested this on Emacs 29.4 and 30.0.93 on macOS 15.1. I'm pretty sure the arithmetic was wrong, and it was treating external monitors differently from the primary screen for some reason I couldn't work out. Can you check if the attached looks right to you? I can't check as I don't have an external monitor here. -- Alan Third --QWT2DoCw1WRnE4vf Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-Fix-NS-port-screen-geometry-report-bug-76051.patch" From a5c1edd911322805cf9a2fc9cb08aac98d05c2f6 Mon Sep 17 00:00:00 2001 From: Alan Third <alan@HIDDEN> Date: Mon, 26 May 2025 20:27:39 +0100 Subject: [PATCH] Fix NS port screen geometry report (bug#76051) * src/nsfns.m (Fns_display_monitor_attributes_list): Fix the arithmetic to calculate the origin of the visible frame. --- src/nsfns.m | 33 +++++++++++---------------------- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/src/nsfns.m b/src/nsfns.m index b1ed0eff58a..02dc1ea359c 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -2786,41 +2786,30 @@ Frames are listed from topmost (first) to bottommost (last). */) struct MonitorInfo *m = &monitors[i]; NSRect fr = [s frame]; NSRect vfr = [s visibleFrame]; - short y, vy; #ifdef NS_IMPL_COCOA NSDictionary *dict = [s deviceDescription]; NSNumber *nid = [dict objectForKey:@"NSScreenNumber"]; CGDirectDisplayID did = [nid unsignedIntValue]; #endif + + /* The primary display is always the first in the array. */ if (i == 0) - { - primary_display_height = fr.size.height; - y = (short) fr.origin.y; - vy = (short) vfr.origin.y; - } - else - { - /* Flip y coordinate as NS screen coordinates originate from - the bottom. */ - y = (short) (primary_display_height - fr.size.height - fr.origin.y); - vy = (short) (primary_display_height - - vfr.size.height - vfr.origin.y); - } + primary_display_height = fr.size.height; + + /* Flip y coordinate as NS screen coordinates originate from + the bottom. */ m->geom.x = (short) fr.origin.x; - m->geom.y = y; + m->geom.y = (short) (primary_display_height + - fr.size.height - fr.origin.y); m->geom.width = (unsigned short) fr.size.width; m->geom.height = (unsigned short) fr.size.height; + /* The work area excludes the menu bar and the dock. */ m->work.x = (short) vfr.origin.x; - /* y is flipped on NS, so vy - y are pixels missing at the - bottom, and fr.size.height - vfr.size.height are pixels - missing in total. - - Pixels missing at top are fr.size.height - vfr.size.height - - vy + y. work.y is then pixels missing at top + y. */ - m->work.y = (short) (fr.size.height - vfr.size.height) - vy + y + y; + m->work.y = (short) (primary_display_height - + vfr.size.height - vfr.origin.y); m->work.width = (unsigned short) vfr.size.width; m->work.height = (unsigned short) vfr.size.height; -- 2.41.0 --QWT2DoCw1WRnE4vf--
X-Loop: help-debbugs@HIDDEN Subject: bug#76051: 29.4; Incorrect workarea entry in display-monitor-attributes-list on macOS Resent-From: Ship Mints <shipmints@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 26 May 2025 19:40:02 +0000 Resent-Message-ID: <handler.76051.B.17482883539026 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76051 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: alan@HIDDEN, andlind@HIDDEN, 76051 <at> debbugs.gnu.org X-Debbugs-Original-To: Alan Third <alan@HIDDEN>, Anders Lindgren <andlind@HIDDEN>, Emacs bug reports and feature requests <bug-gnu-emacs@HIDDEN> X-Debbugs-Original-Cc: 76051 <at> debbugs.gnu.org Received: via spool by submit <at> debbugs.gnu.org id=B.17482883539026 (code B ref -1); Mon, 26 May 2025 19:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 May 2025 19:39:13 +0000 Received: from localhost ([127.0.0.1]:60159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uJdfE-0002LP-Ih for submit <at> debbugs.gnu.org; Mon, 26 May 2025 15:39:13 -0400 Received: from lists.gnu.org ([2001:470:142::17]:42710) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1uJdfB-0002Ko-5z for submit <at> debbugs.gnu.org; Mon, 26 May 2025 15:39:09 -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 <shipmints@HIDDEN>) id 1uJdf4-0000XX-DP for bug-gnu-emacs@HIDDEN; Mon, 26 May 2025 15:39:02 -0400 Received: from mail-vk1-xa2e.google.com ([2607:f8b0:4864:20::a2e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <shipmints@HIDDEN>) id 1uJdf2-0003EJ-7g for bug-gnu-emacs@HIDDEN; Mon, 26 May 2025 15:39:01 -0400 Received: by mail-vk1-xa2e.google.com with SMTP id 71dfb90a1353d-528ce9731dbso545760e0c.0 for <bug-gnu-emacs@HIDDEN>; Mon, 26 May 2025 12:38:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748288338; x=1748893138; darn=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=g8uH0bm/NbHm5X5beJJ/12kIEsFPQDGt5N59ugq1Fdk=; b=SGSBQ9OzLKw5br2DOptDnbMce6sroeyR2j2H5Jp5IpzOW7ewthJ6HvknfoQXon319C rTaW/ITttj4huo0QxYucDsm6URrskjWfD/Oucz0c2gc7jA2JGgK3Vz/34ePGLQERlYdD E0uQ9THA1bbc/nar8WeqZ539V8YLDhY+/MH+ltEQu9lkcO8fEVyYHPqFHyYPzMAyDhYE yVC4/kTwXIEv5JaaaTyNqTCyIJ/PZi02KDlCIOVg/QFu5cPB0SLh9sZdYoD7fNJZiFCq pttDDBwaWHG737GDmqx+f2Z+a2M+H9aX/5HXO/HcQYGL66MpaLs4Q/7IZdDu3pBV5Clq osGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748288338; x=1748893138; 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=g8uH0bm/NbHm5X5beJJ/12kIEsFPQDGt5N59ugq1Fdk=; b=d5u8Fkj9wFROzD0XDRfYlrS1cpSUVMtY0QLNMcz7871wq0Ml1TbvmfZET4uZnK3o9r hUH4Nk735t6urKOmeEogzjxq+kCN59XZA9f438KViM57QQOOENnrNBlaF0J+1fJ/kWwb BzF5lEmH/dB8pnxp4tQV25mIo6rctYXTPb1QSNsit98qf7LgJ6EAIEButDw3z8AaqrAO b5ag6f0tQbZwIHbhK25aA3jVOO3Az+q8/migYKQZpogyRBQNn3hxnMAcwmws9Ccii7+4 Md1SBdYrm3ao+g0syGAMNaumSvrdODhkvyV1MRJuPXTPWn5rFDJhXJuk8tvd/FW/Vwzj jo4w== X-Forwarded-Encrypted: i=1; AJvYcCUAKyBoih2vH1PZ3Xhuic/BEz7DkPxVK85Ko9TIIdbe/ylFI9ZEpuPaasqvuHTyObVHmGjQYXoTOx9JCYB9@HIDDEN X-Gm-Message-State: AOJu0Yxxax+o8s36BKcth2dd+y4VYtimsFSSGZHnCnf6SHHhvufszFq9 WXkYuQncX2Zsp2EEz41ziX2bRUZXMeDoPr7e8/DO9UINW1BLehvu9UQzvNPjGaUg0L/pfmHf76G FWReIaAR54i+Pz4s/FbMxvlvpQYj3sTSx3eXJ X-Gm-Gg: ASbGncvJfqxSs/vWRj3O27NKBwrjAi8FG62DLUopC7bbVlbdjqbhZOGavKAIw+hahcp CAbgZNwtjbyzDk5HDnJZhZXUsyyxtvYDJwgLUSLpmZV5xjGVGcFgeR5m+GDP8TaEaHvB0+3A9Eu DDk1BhgaetOtyGVyXV6e85yJBsQt44g51YAQA= X-Google-Smtp-Source: AGHT+IGUMoq5FOnYuu9MmxI6gTVqvX1l3odv4xP+InnymYxb4KJk/hrt+ri1YzW67sVJ+e5I8JzjI8oCHLm5JUSqDGE= X-Received: by 2002:a05:6122:2207:b0:529:373:fcb7 with SMTP id 71dfb90a1353d-52f2c5a563bmr7568170e0c.10.1748288338056; Mon, 26 May 2025 12:38:58 -0700 (PDT) MIME-Version: 1.0 References: <CABr8ebb-gjcWJWGNAQRqtkkqDL3m=KmJ-7tECjGCCwOnTmRTOQ@HIDDEN> <aDTCQSLd5KNo4_eH@HIDDEN> In-Reply-To: <aDTCQSLd5KNo4_eH@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Mon, 26 May 2025 15:38:46 -0400 X-Gm-Features: AX0GCFsdMHMb4cH0t31s3B2lyoV-vIyLx4vZbzFhT28zQ-FQCuYW-XypVfKIFoc Message-ID: <CAN+1HboE85bgiUAu0Cgw+2sKA=+2QosGdpW7Oa0BUrYNoFmbnA@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000005add7506360f19d8" Received-SPF: pass client-ip=2607:f8b0:4864:20::a2e; envelope-from=shipmints@HIDDEN; helo=mail-vk1-xa2e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) --0000000000005add7506360f19d8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, May 26, 2025 at 3:35=E2=80=AFPM Alan Third <alan@HIDDEN> wrote: > On Tue, Feb 04, 2025 at 02:42:07PM +0100, Anders Lindgren wrote: > > Hi! > > Hi Anders, > > > I think the `display-monitor-attributes-list' function returns an > incorrect > > `workarea' entry on macOS. > > > > Concretely, I have a laptop with an external monitor connected. The > > external monitor is placed above to the left. > > > > The `display-monitor-attributes-list' function returns the following > > (abbreviated): > > > > (((geometry 0 0 1728 1117) (workarea 0 38 1728 1079) ... > > ((geometry -2560 -723 2560 1440) (workarea -2560 -638 2560 1330) > ...)) > > > > The first member in the list describes the laptop monitor (the primary > > monitor), the second the external monitor. > > > > The first two numbers, `X' and `Y', in each entry describe the position > of > > the top left corner of the area, relative to the top left corner of the > > primary monitor. > > > > The number that I think is incorrect is the `Y' of the workarea of the > > external monitor, which is "-638". It indicates that there is a (723-63= 8 > =3D > > 85 pixel area on top of the screen which is outside the work area.) > > > > However, in reality, there is a 25 pixel menu bar which should be outsi= de > > the work area. The 85 probably comes from the macOS dock, which is plac= ed > > in the lower part of the screen. > > > > The height field correctly includes both the menu bar and the dock. > > > > I've tested this on Emacs 29.4 and 30.0.93 on macOS 15.1. > > I'm pretty sure the arithmetic was wrong, and it was treating external > monitors differently from the primary screen for some reason I > couldn't work out. > > Can you check if the attached looks right to you? I can't check as I > don't have an external monitor here. > Also see the following bug which has a working patch: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76691 --0000000000005add7506360f19d8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">= On Mon, May 26, 2025 at 3:35=E2=80=AFPM Alan Third <<a href=3D"mailto:al= an@HIDDEN">alan@HIDDEN</a>> wrote:</span></div></div><div class= =3D"gmail_quote gmail_quote_container"><blockquote class=3D"gmail_quote" st= yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd= ing-left:1ex">On Tue, Feb 04, 2025 at 02:42:07PM +0100, Anders Lindgren wro= te:<br> > Hi!<br> <br> Hi Anders,<br> <br> > I think the `display-monitor-attributes-list' function returns an = incorrect<br> > `workarea' entry on macOS.<br> > <br> > Concretely, I have a laptop with an external monitor connected. The<br= > > external monitor is placed above to the left.<br> > <br> > The `display-monitor-attributes-list' function returns the followi= ng<br> > (abbreviated):<br> > <br> >=C2=A0 =C2=A0 =C2=A0(((geometry 0 0 1728 1117) (workarea 0 38 1728 1079= ) ...<br> >=C2=A0 =C2=A0 =C2=A0 ((geometry -2560 -723 2560 1440) (workarea -2560 -= 638 2560 1330) ...))<br> > <br> > The first member in the list describes the laptop monitor (the primary= <br> > monitor), the second the external monitor.<br> > <br> > The first two numbers, `X' and `Y', in each entry describe the= position of<br> > the top left corner of the area, relative to the top left corner of th= e<br> > primary monitor.<br> > <br> > The number that I think is incorrect is the `Y' of the workarea of= the<br> > external monitor, which is "-638". It indicates that there i= s a (723-638 =3D<br> > 85 pixel area on top of the screen which is outside the work area.)<br= > > <br> > However, in reality, there is a 25 pixel menu bar which should be outs= ide<br> > the work area. The 85 probably comes from the macOS dock, which is pla= ced<br> > in the lower part of the screen.<br> > <br> > The height field correctly includes both the menu bar and the dock.<br= > > <br> > I've tested this on Emacs 29.4 and 30.0.93 on macOS 15.1.<br> <br> I'm pretty sure the arithmetic was wrong, and it was treating external<= br> monitors differently from the primary screen for some reason I<br> couldn't work out.<br> <br> Can you check if the attached looks right to you? I can't check as I<br= > don't have an external monitor here.<br></blockquote><div><br></div><di= v><div class=3D"gmail_default" style=3D""><font face=3D"monospace">Also see= the following bug which has a working patch:</font></div></div><div><font = face=3D"monospace"><br></font></div><div><font face=3D"monospace"><a href= =3D"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76691">https://debbugs.= gnu.org/cgi/bugreport.cgi?bug=3D76691</a>=C2=A0</font></div></div></div> --0000000000005add7506360f19d8--
X-Loop: help-debbugs@HIDDEN Subject: bug#76051: 29.4; Incorrect workarea entry in display-monitor-attributes-list on macOS Resent-From: Ship Mints <shipmints@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 26 May 2025 19:40:02 +0000 Resent-Message-ID: <handler.76051.B76051.17482883478992 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76051 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: alan@HIDDEN, andlind@HIDDEN, 76051 <at> debbugs.gnu.org X-Debbugs-Original-To: Alan Third <alan@HIDDEN>, Anders Lindgren <andlind@HIDDEN>, Emacs bug reports and feature requests <bug-gnu-emacs@HIDDEN> X-Debbugs-Original-Cc: 76051 <at> debbugs.gnu.org Received: via spool by 76051-submit <at> debbugs.gnu.org id=B76051.17482883478992 (code B ref 76051); Mon, 26 May 2025 19:40:02 +0000 Received: (at 76051) by debbugs.gnu.org; 26 May 2025 19:39:07 +0000 Received: from localhost ([127.0.0.1]:60156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uJdf8-0002Ky-VB for submit <at> debbugs.gnu.org; Mon, 26 May 2025 15:39:07 -0400 Received: from mail-ua1-x92a.google.com ([2607:f8b0:4864:20::92a]:58598) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1uJdf6-0002KN-0v for 76051 <at> debbugs.gnu.org; Mon, 26 May 2025 15:39:04 -0400 Received: by mail-ua1-x92a.google.com with SMTP id a1e0cc1a2514c-87dfe8388f8so338867241.0 for <76051 <at> debbugs.gnu.org>; Mon, 26 May 2025 12:39:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748288338; x=1748893138; 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=g8uH0bm/NbHm5X5beJJ/12kIEsFPQDGt5N59ugq1Fdk=; b=mbaQkVveOBucBjiMrVMLFxHRoOpYJ9dI7Q5yU9oR0d7tTCUI3juhDNFb0aS8MwSKcy 0vHCdI47Cr0V3YKJbljQGSS3mIOaT5HqXv98VnsrLx4aQZqacpAgz6kxar/iU3bSWRsp wJXDWvJxS99AkgGrPVi9OInkgisCQJQwSNO6LZ706fLciaCLk9pDCMfokcRnE7zO9vCC k1meSwgX/6P6SKmLNwqxAqgI8RAZwdDjTNsJByxKxG2yTI+DlDRQP9Fj7XM9747+ZFN+ 2bqx/L4oRNKr0ZfqRTY1vU5qJSfmLh+x9+rcqevz0wekwwTL1SMn/0qyzXYJawVNpYt/ kCRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748288338; x=1748893138; 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=g8uH0bm/NbHm5X5beJJ/12kIEsFPQDGt5N59ugq1Fdk=; b=AVr9l6omGbeH613YC6GMBuiWRkC+u50FXtPw7StGfN9bC5HrPwtAkI2CHbcHBCtjaf rItZMBZI2jFaS0KUXfKeEI1VlJcCeSvMFy0OLVhIYcK1ZgClw0hoaWSQbUZSlu1DdBk/ QhB3ybGavNst9hzMl0XDjtRBYiVEqE3dFEeKheSQvdJ24XnLcG1yp3Q5Tl5/V4ZIKNfB KzK30BJCilHvZDcl0klNezuXuG8HAh95z9VSZhmRO/JWzrIIfdfFNqNANH1niNQ+PrHZ 3KlsUWC/uhNWvwh54KlxKMbLWomSf2UpoaeWm40iAqIyMSlA4czkkOxhcZIVjlwFW7Hb W60Q== X-Gm-Message-State: AOJu0YwaLIebvGpytFrNIWnMDwSBjmwyCDkqiDkHWLSr6uOCajLa8ap+ E/JQDWGT/65PfaeGP6SrDP5H4r4DlDqx7F8k0gO/+rDCODX8ipk0HkEu/Ge7nNgMeuvOqOC8qTg CMWqTsqL6JNxHvW6x81kUiXhLIU53znY= X-Gm-Gg: ASbGncvlPHYLwz1iY3x9C48uFnrFsO7XVHuHP8irlhvxD+5DGYKlXKI+H73rvWB8yF2 fi6gSS5YREif713BGIlB72uO8Ul8V0BJzTihAobt39Qc4bB6FDCwhVcETNQRD107mt321MuYMxz 0QhQ7iwm2jHOuiPqLF8sWWKIfEqI9spfXjuUU= X-Google-Smtp-Source: AGHT+IGUMoq5FOnYuu9MmxI6gTVqvX1l3odv4xP+InnymYxb4KJk/hrt+ri1YzW67sVJ+e5I8JzjI8oCHLm5JUSqDGE= X-Received: by 2002:a05:6122:2207:b0:529:373:fcb7 with SMTP id 71dfb90a1353d-52f2c5a563bmr7568170e0c.10.1748288338056; Mon, 26 May 2025 12:38:58 -0700 (PDT) MIME-Version: 1.0 References: <CABr8ebb-gjcWJWGNAQRqtkkqDL3m=KmJ-7tECjGCCwOnTmRTOQ@HIDDEN> <aDTCQSLd5KNo4_eH@HIDDEN> In-Reply-To: <aDTCQSLd5KNo4_eH@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Mon, 26 May 2025 15:38:46 -0400 X-Gm-Features: AX0GCFsdMHMb4cH0t31s3B2lyoV-vIyLx4vZbzFhT28zQ-FQCuYW-XypVfKIFoc Message-ID: <CAN+1HboE85bgiUAu0Cgw+2sKA=+2QosGdpW7Oa0BUrYNoFmbnA@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000005add7506360f19d8" X-Spam-Score: 0.0 (/) 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 (-) --0000000000005add7506360f19d8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, May 26, 2025 at 3:35=E2=80=AFPM Alan Third <alan@HIDDEN> wrote: > On Tue, Feb 04, 2025 at 02:42:07PM +0100, Anders Lindgren wrote: > > Hi! > > Hi Anders, > > > I think the `display-monitor-attributes-list' function returns an > incorrect > > `workarea' entry on macOS. > > > > Concretely, I have a laptop with an external monitor connected. The > > external monitor is placed above to the left. > > > > The `display-monitor-attributes-list' function returns the following > > (abbreviated): > > > > (((geometry 0 0 1728 1117) (workarea 0 38 1728 1079) ... > > ((geometry -2560 -723 2560 1440) (workarea -2560 -638 2560 1330) > ...)) > > > > The first member in the list describes the laptop monitor (the primary > > monitor), the second the external monitor. > > > > The first two numbers, `X' and `Y', in each entry describe the position > of > > the top left corner of the area, relative to the top left corner of the > > primary monitor. > > > > The number that I think is incorrect is the `Y' of the workarea of the > > external monitor, which is "-638". It indicates that there is a (723-63= 8 > =3D > > 85 pixel area on top of the screen which is outside the work area.) > > > > However, in reality, there is a 25 pixel menu bar which should be outsi= de > > the work area. The 85 probably comes from the macOS dock, which is plac= ed > > in the lower part of the screen. > > > > The height field correctly includes both the menu bar and the dock. > > > > I've tested this on Emacs 29.4 and 30.0.93 on macOS 15.1. > > I'm pretty sure the arithmetic was wrong, and it was treating external > monitors differently from the primary screen for some reason I > couldn't work out. > > Can you check if the attached looks right to you? I can't check as I > don't have an external monitor here. > Also see the following bug which has a working patch: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76691 --0000000000005add7506360f19d8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">= On Mon, May 26, 2025 at 3:35=E2=80=AFPM Alan Third <<a href=3D"mailto:al= an@HIDDEN">alan@HIDDEN</a>> wrote:</span></div></div><div class= =3D"gmail_quote gmail_quote_container"><blockquote class=3D"gmail_quote" st= yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd= ing-left:1ex">On Tue, Feb 04, 2025 at 02:42:07PM +0100, Anders Lindgren wro= te:<br> > Hi!<br> <br> Hi Anders,<br> <br> > I think the `display-monitor-attributes-list' function returns an = incorrect<br> > `workarea' entry on macOS.<br> > <br> > Concretely, I have a laptop with an external monitor connected. The<br= > > external monitor is placed above to the left.<br> > <br> > The `display-monitor-attributes-list' function returns the followi= ng<br> > (abbreviated):<br> > <br> >=C2=A0 =C2=A0 =C2=A0(((geometry 0 0 1728 1117) (workarea 0 38 1728 1079= ) ...<br> >=C2=A0 =C2=A0 =C2=A0 ((geometry -2560 -723 2560 1440) (workarea -2560 -= 638 2560 1330) ...))<br> > <br> > The first member in the list describes the laptop monitor (the primary= <br> > monitor), the second the external monitor.<br> > <br> > The first two numbers, `X' and `Y', in each entry describe the= position of<br> > the top left corner of the area, relative to the top left corner of th= e<br> > primary monitor.<br> > <br> > The number that I think is incorrect is the `Y' of the workarea of= the<br> > external monitor, which is "-638". It indicates that there i= s a (723-638 =3D<br> > 85 pixel area on top of the screen which is outside the work area.)<br= > > <br> > However, in reality, there is a 25 pixel menu bar which should be outs= ide<br> > the work area. The 85 probably comes from the macOS dock, which is pla= ced<br> > in the lower part of the screen.<br> > <br> > The height field correctly includes both the menu bar and the dock.<br= > > <br> > I've tested this on Emacs 29.4 and 30.0.93 on macOS 15.1.<br> <br> I'm pretty sure the arithmetic was wrong, and it was treating external<= br> monitors differently from the primary screen for some reason I<br> couldn't work out.<br> <br> Can you check if the attached looks right to you? I can't check as I<br= > don't have an external monitor here.<br></blockquote><div><br></div><di= v><div class=3D"gmail_default" style=3D""><font face=3D"monospace">Also see= the following bug which has a working patch:</font></div></div><div><font = face=3D"monospace"><br></font></div><div><font face=3D"monospace"><a href= =3D"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76691">https://debbugs.= gnu.org/cgi/bugreport.cgi?bug=3D76691</a>=C2=A0</font></div></div></div> --0000000000005add7506360f19d8--
X-Loop: help-debbugs@HIDDEN Subject: bug#76051: 29.4; Incorrect workarea entry in display-monitor-attributes-list on macOS Resent-From: Alan Third <alan@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 26 May 2025 20:24:01 +0000 Resent-Message-ID: <handler.76051.B76051.174829103721227 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76051 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ship Mints <shipmints@HIDDEN> Cc: 76051 <at> debbugs.gnu.org, andlind@HIDDEN X-Debbugs-Original-Cc: Emacs bug reports and feature requests <bug-gnu-emacs@HIDDEN>, 76051 <at> debbugs.gnu.org, Anders Lindgren <andlind@HIDDEN> Received: via spool by 76051-submit <at> debbugs.gnu.org id=B76051.174829103721227 (code B ref 76051); Mon, 26 May 2025 20:24:01 +0000 Received: (at 76051) by debbugs.gnu.org; 26 May 2025 20:23:57 +0000 Received: from localhost ([127.0.0.1]:60473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uJeMW-0005WF-MK for submit <at> debbugs.gnu.org; Mon, 26 May 2025 16:23:57 -0400 Received: from dane.soverin.net ([2a10:de80:1:4091:b9e9:221f:0:1]:43219) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <alan@HIDDEN>) id 1uJeMU-0005Vf-2Z for 76051 <at> debbugs.gnu.org; Mon, 26 May 2025 16:23:54 -0400 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4b5nKH6L5wz2xPw; Mon, 26 May 2025 20:23:47 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4b5nKH1WMYz3Z; Mon, 26 May 2025 20:23:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1748291027; bh=p+VG0SsBzK5iMXmyR3JDi+THJrLcwvE/gGUKHxyJbzA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=F/KvG78oRwY2L760siqRt9/xV3Vx3WOC1vhK0Mt1NzH8V4g6UW/XNuI6Fvh4rk/J9 2Ybi7GRjm/OzForzlPyPJQXZ9p7QNMOxLoxXiG8zw4KiGMRVodqi9GbILWQHOWbgtG f36em9iSgy4sWLQsWUqctahQNpC2+hEXzGUnKJiSQ2wEbXodU+h2ymepqgGZceMP+F AK6mmia/9qDVlxp1M8R/dZdNSaVeyyWUyI9Fp/c2RHopb+pwyF9IjwmeQLvX6wDSk9 npCTh3F17Lt1GZdCCfu24qiwi4zU8N3aaggrhh850Ut19k5BPLPs7zq5GtVcv/KtHR 7M0kraNp52nQw== X-CM-Envelope: MS4xfJNaQ4Svuwx1bLrzZeTqreqePPnz1b9b8NSL4OTZj9fdfRWys61wfHTjlAqa93lK/kV+MJSGXulKFmLIM109A2gUXVzPCjCGW5p9QBuOochF1rUCUWPq q9hsOUYR89ULG0E+MTVyrR6+Pk+YoJIotgQeoQchEbIB4vU7wcFzOwDTU03TDDGAI5cypcLF8r7B1jXXdf0+0ko5ilLgmhBa8y3YgWSCfwqutIOj7g5LJte0 bUWfZarHhMf9WxTLu/7KCPrKKj+eA+dq+GfydtMu/g99OCPmALvFFl9hM1hh5aAvLFtibYH73nvkI1qSBG/z6Z2VVt1E3/yYV/9pGomMKEQ= X-CM-Analysis: v=2.4 cv=I7afRMgg c=1 sm=1 tr=0 ts=6834cdd3 a=OyVWedPT42wokZbSTOH/lw==:617 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=mDV3o1hIAAAA:8 a=hIj89exaAAAA:8 a=Rs-pC3OgwP-hJ01uosMA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=lS9wXHQM5UdnNJ4u63Ry:22 Date: Mon, 26 May 2025 21:23:45 +0100 From: Alan Third <alan@HIDDEN> Message-ID: <aDTN0erR3YoU6An9@HIDDEN> Mail-Followup-To: Alan Third <alan@HIDDEN>, Ship Mints <shipmints@HIDDEN>, Anders Lindgren <andlind@HIDDEN>, Emacs bug reports and feature requests <bug-gnu-emacs@HIDDEN>, 76051 <at> debbugs.gnu.org References: <CABr8ebb-gjcWJWGNAQRqtkkqDL3m=KmJ-7tECjGCCwOnTmRTOQ@HIDDEN> <aDTCQSLd5KNo4_eH@HIDDEN> <CAN+1HboE85bgiUAu0Cgw+2sKA=+2QosGdpW7Oa0BUrYNoFmbnA@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <CAN+1HboE85bgiUAu0Cgw+2sKA=+2QosGdpW7Oa0BUrYNoFmbnA@HIDDEN> X-Spampanel-Class: ham X-Spam-Score: -0.7 (/) 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.7 (-) On Mon, May 26, 2025 at 03:38:46PM -0400, Ship Mints wrote: > On Mon, May 26, 2025 at 3:35 PM Alan Third <alan@HIDDEN> wrote: > > > I'm pretty sure the arithmetic was wrong, and it was treating external > > monitors differently from the primary screen for some reason I > > couldn't work out. > > > > Can you check if the attached looks right to you? I can't check as I > > don't have an external monitor here. > > > > Also see the following bug which has a working patch: > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76691 Sorry, I think I'm being a bit dim but I can't see any patch there that fixes this particular problem. -- Alan Third
X-Loop: help-debbugs@HIDDEN Subject: bug#76051: 29.4; Incorrect workarea entry in display-monitor-attributes-list on macOS Resent-From: Alan Third <alan@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 26 May 2025 20:25:02 +0000 Resent-Message-ID: <handler.76051.B.174829104321279 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76051 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ship Mints <shipmints@HIDDEN> Cc: 76051 <at> debbugs.gnu.org, andlind@HIDDEN X-Debbugs-Original-Cc: Emacs bug reports and feature requests <bug-gnu-emacs@HIDDEN>, 76051 <at> debbugs.gnu.org, Anders Lindgren <andlind@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.174829104321279 (code B ref -1); Mon, 26 May 2025 20:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 May 2025 20:24:03 +0000 Received: from localhost ([127.0.0.1]:60477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uJeMd-0005X8-8C for submit <at> debbugs.gnu.org; Mon, 26 May 2025 16:24:03 -0400 Received: from lists.gnu.org ([2001:470:142::17]:33922) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alan@HIDDEN>) id 1uJeMb-0005WA-7s for submit <at> debbugs.gnu.org; Mon, 26 May 2025 16:24:01 -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 <alan@HIDDEN>) id 1uJeMV-0007uO-Lx for bug-gnu-emacs@HIDDEN; Mon, 26 May 2025 16:23:55 -0400 Received: from dane.soverin.net ([2a10:de80:1:4091:b9e9:221f:0:1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <alan@HIDDEN>) id 1uJeMT-00013W-BB for bug-gnu-emacs@HIDDEN; Mon, 26 May 2025 16:23:55 -0400 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4b5nKH6L5wz2xPw; Mon, 26 May 2025 20:23:47 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4b5nKH1WMYz3Z; Mon, 26 May 2025 20:23:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1748291027; bh=p+VG0SsBzK5iMXmyR3JDi+THJrLcwvE/gGUKHxyJbzA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=F/KvG78oRwY2L760siqRt9/xV3Vx3WOC1vhK0Mt1NzH8V4g6UW/XNuI6Fvh4rk/J9 2Ybi7GRjm/OzForzlPyPJQXZ9p7QNMOxLoxXiG8zw4KiGMRVodqi9GbILWQHOWbgtG f36em9iSgy4sWLQsWUqctahQNpC2+hEXzGUnKJiSQ2wEbXodU+h2ymepqgGZceMP+F AK6mmia/9qDVlxp1M8R/dZdNSaVeyyWUyI9Fp/c2RHopb+pwyF9IjwmeQLvX6wDSk9 npCTh3F17Lt1GZdCCfu24qiwi4zU8N3aaggrhh850Ut19k5BPLPs7zq5GtVcv/KtHR 7M0kraNp52nQw== X-CM-Envelope: MS4xfJNaQ4Svuwx1bLrzZeTqreqePPnz1b9b8NSL4OTZj9fdfRWys61wfHTjlAqa93lK/kV+MJSGXulKFmLIM109A2gUXVzPCjCGW5p9QBuOochF1rUCUWPq q9hsOUYR89ULG0E+MTVyrR6+Pk+YoJIotgQeoQchEbIB4vU7wcFzOwDTU03TDDGAI5cypcLF8r7B1jXXdf0+0ko5ilLgmhBa8y3YgWSCfwqutIOj7g5LJte0 bUWfZarHhMf9WxTLu/7KCPrKKj+eA+dq+GfydtMu/g99OCPmALvFFl9hM1hh5aAvLFtibYH73nvkI1qSBG/z6Z2VVt1E3/yYV/9pGomMKEQ= X-CM-Analysis: v=2.4 cv=I7afRMgg c=1 sm=1 tr=0 ts=6834cdd3 a=OyVWedPT42wokZbSTOH/lw==:617 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=mDV3o1hIAAAA:8 a=hIj89exaAAAA:8 a=Rs-pC3OgwP-hJ01uosMA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=lS9wXHQM5UdnNJ4u63Ry:22 Date: Mon, 26 May 2025 21:23:45 +0100 From: Alan Third <alan@HIDDEN> Message-ID: <aDTN0erR3YoU6An9@HIDDEN> Mail-Followup-To: Alan Third <alan@HIDDEN>, Ship Mints <shipmints@HIDDEN>, Anders Lindgren <andlind@HIDDEN>, Emacs bug reports and feature requests <bug-gnu-emacs@HIDDEN>, 76051 <at> debbugs.gnu.org References: <CABr8ebb-gjcWJWGNAQRqtkkqDL3m=KmJ-7tECjGCCwOnTmRTOQ@HIDDEN> <aDTCQSLd5KNo4_eH@HIDDEN> <CAN+1HboE85bgiUAu0Cgw+2sKA=+2QosGdpW7Oa0BUrYNoFmbnA@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <CAN+1HboE85bgiUAu0Cgw+2sKA=+2QosGdpW7Oa0BUrYNoFmbnA@HIDDEN> X-Spampanel-Class: ham Received-SPF: pass client-ip=2a10:de80:1:4091:b9e9:221f:0:1; envelope-from=alan@HIDDEN; helo=dane.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) On Mon, May 26, 2025 at 03:38:46PM -0400, Ship Mints wrote: > On Mon, May 26, 2025 at 3:35 PM Alan Third <alan@HIDDEN> wrote: > > > I'm pretty sure the arithmetic was wrong, and it was treating external > > monitors differently from the primary screen for some reason I > > couldn't work out. > > > > Can you check if the attached looks right to you? I can't check as I > > don't have an external monitor here. > > > > Also see the following bug which has a working patch: > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76691 Sorry, I think I'm being a bit dim but I can't see any patch there that fixes this particular problem. -- Alan Third
X-Loop: help-debbugs@HIDDEN Subject: bug#76051: 29.4; Incorrect workarea entry in display-monitor-attributes-list on macOS Resent-From: Ship Mints <shipmints@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 26 May 2025 20:29:02 +0000 Resent-Message-ID: <handler.76051.B.174829132722652 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76051 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: alan@HIDDEN, shipmints@HIDDEN, andlind@HIDDEN, 76051 <at> debbugs.gnu.org X-Debbugs-Original-To: Alan Third <alan@HIDDEN>, Ship Mints <shipmints@HIDDEN>, Anders Lindgren <andlind@HIDDEN>, Emacs bug reports and feature requests <bug-gnu-emacs@HIDDEN>, 76051 <at> debbugs.gnu.org Received: via spool by submit <at> debbugs.gnu.org id=B.174829132722652 (code B ref -1); Mon, 26 May 2025 20:29:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 May 2025 20:28:47 +0000 Received: from localhost ([127.0.0.1]:60516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uJeRC-0005t9-4X for submit <at> debbugs.gnu.org; Mon, 26 May 2025 16:28:46 -0400 Received: from lists.gnu.org ([2001:470:142::17]:44222) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1uJeR8-0005sO-NK for submit <at> debbugs.gnu.org; Mon, 26 May 2025 16:28:44 -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 <shipmints@HIDDEN>) id 1uJeR3-0001mM-3i for bug-gnu-emacs@HIDDEN; Mon, 26 May 2025 16:28:37 -0400 Received: from mail-vs1-xe36.google.com ([2607:f8b0:4864:20::e36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <shipmints@HIDDEN>) id 1uJeR1-000204-8a for bug-gnu-emacs@HIDDEN; Mon, 26 May 2025 16:28:36 -0400 Received: by mail-vs1-xe36.google.com with SMTP id ada2fe7eead31-4e4564178bcso689232137.1 for <bug-gnu-emacs@HIDDEN>; Mon, 26 May 2025 13:28:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748291314; x=1748896114; darn=gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=j+m3nSOV/H9hD0m+aQgCrJYMYcQx80dk1vfM5wY8dTg=; b=j3nBo9Qvb8bcwN8Kf7P85xaC/Kcfdzie13yuYlmEWpG+Vmj51PTuAlEgKG8icKthiQ QdOJM9usGvU8Ygv67EEJ95ITL5eXlE4plZB6/PN9nbe69RMgjP5kbmH0oBdJznNtc0e3 ob736Mgt2qwIRQgNCGFCE50FUWHM2h2vDjfQEGLe5bG0UkMdl8vGRFs5i7PAbJTPC4B6 9Em6P3pXnseZZtrhc74M3VIcfIEZ9jfDLudZbCh4zISJWKMubdXhTLJSFALmlkMwOxxg pq9G0tnFqrbj00071/mg7E8tvwFX87jik9qvmgyGwHnGAQ0sshU+vOjN5tog/lPvpOlb Joug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748291314; x=1748896114; h=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=j+m3nSOV/H9hD0m+aQgCrJYMYcQx80dk1vfM5wY8dTg=; b=q/iq0O9BffPBmn8sYumCv2M0SSJ2Vd8wafDcAvYlIdUFVm67r+yXHpBEjHfcGp3yIB D2IZX8Veel/T5zgDpSdhGzTAqkO4ziptNra7HF2rM4fuAq40QGDMc5ZBjsZCW8wjCnqr +gY13/un9eCyzvsOKh4D8wc3qkTkfIJ0zjwFpo1nuzp8Psqg44EbkCyJ4RvvAfi4OI9o FxvXe/bc6rfpejngnumVijL3MGGxQQoL0sz0LEcIZtoeaumOAkvGD5GbwiGgtXLgnvQo LyeNRH2ri4Rh28VDhPdnZGNWNzjH9xe/4BwgDBdM2uCZiJQ7JO4k3h4/l+CUdkyj+L9D eBHw== X-Forwarded-Encrypted: i=1; AJvYcCV4px0FbMavD46JaXaRKiW/ZLE8wyTp/dwg7/ozvci7GFEPJNfqIe8wFR2VYjVB0oHou+/qIGm0l42HVRff@HIDDEN X-Gm-Message-State: AOJu0YxUL8lheMjdmyyAvkEyPIVuai9h1pUpSJXTYBXeTzm9gfmMBTdr MaTnjaokWL+oBk6kn7ilCdSmlUFus/3raIksjGoIogDYZH6VLGDpgcUciBsHFxD54pmO5apKRA8 rpQJu1aTWgaSq2wkPRCHWRrIPhtB+j+9mKQ== X-Gm-Gg: ASbGnctAc2+IidUCZrayo0ueWz+y7F6wWUM64Bv8c9XlVjbOTPr1G2FsFgJlX7UIhO4 wDI6fRPCKTlC6wHuO0vuf2g5TaCU15Vu4Vuvg62ryTDNqD2mMkwyEjNFrBkGtRXPytBrxQ9C86j +EsoqjqoTJGJ926t/XVhMPA8DtrzDz1KYGbaR0+7h5slfTqA== X-Google-Smtp-Source: AGHT+IH7C+t+MFH++hcXw/Wo+dgj1/EDqOYo59skPkWpUnRTxTBq/pjPX802kgiqo7azz+IsWy3UlBWg/P3XHrrW5Ak= X-Received: by 2002:a05:6102:394d:b0:4e1:441d:be9f with SMTP id ada2fe7eead31-4e2f073a745mr9366806137.2.1748291314016; Mon, 26 May 2025 13:28:34 -0700 (PDT) MIME-Version: 1.0 References: <CABr8ebb-gjcWJWGNAQRqtkkqDL3m=KmJ-7tECjGCCwOnTmRTOQ@HIDDEN> <aDTCQSLd5KNo4_eH@HIDDEN> <CAN+1HboE85bgiUAu0Cgw+2sKA=+2QosGdpW7Oa0BUrYNoFmbnA@HIDDEN> <aDTN0erR3YoU6An9@HIDDEN> In-Reply-To: <aDTN0erR3YoU6An9@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Mon, 26 May 2025 16:28:22 -0400 X-Gm-Features: AX0GCFvg6B3TDealDjRQW69rhcEXJmhH1UiL3Y-PblAq2IkfkCJ31veaDeQZamk Message-ID: <CAN+1HboKBYV_MHbjjzeMGw9bUN6Xh8SHY4kkCYCbMStgJJioNw@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000bc6a0706360fcac9" Received-SPF: pass client-ip=2607:f8b0:4864:20::e36; envelope-from=shipmints@HIDDEN; helo=mail-vs1-xe36.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) --000000000000bc6a0706360fcac9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, May 26, 2025 at 4:23=E2=80=AFPM Alan Third <alan@HIDDEN> wrote: > On Mon, May 26, 2025 at 03:38:46PM -0400, Ship Mints wrote: > > On Mon, May 26, 2025 at 3:35=E2=80=AFPM Alan Third <alan@HIDDEN> wr= ote: > > > > > I'm pretty sure the arithmetic was wrong, and it was treating externa= l > > > monitors differently from the primary screen for some reason I > > > couldn't work out. > > > > > > Can you check if the attached looks right to you? I can't check as I > > > don't have an external monitor here. > > > > > > > Also see the following bug which has a working patch: > > > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76691 > > Sorry, I think I'm being a bit dim but I can't see any patch there > that fixes this particular problem. > Hi, Alan, I'm now not at my desk but perhaps if the 76691 patch doesn't solve this, but it solves the bigger problem that the monitor attributes are wrong, maybe combine them while you're at it? -Stephane --000000000000bc6a0706360fcac9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">= On Mon, May 26, 2025 at 4:23=E2=80=AFPM Alan Third <<a href=3D"mailto:al= an@HIDDEN">alan@HIDDEN</a>> wrote:</span></div></div><div class= =3D"gmail_quote gmail_quote_container"><blockquote class=3D"gmail_quote" st= yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd= ing-left:1ex">On Mon, May 26, 2025 at 03:38:46PM -0400, Ship Mints wrote:<b= r> > On Mon, May 26, 2025 at 3:35=E2=80=AFPM Alan Third <<a href=3D"mail= to:alan@HIDDEN" target=3D"_blank">alan@HIDDEN</a>> wrote:<br> > <br> > > I'm pretty sure the arithmetic was wrong, and it was treating= external<br> > > monitors differently from the primary screen for some reason I<br= > > > couldn't work out.<br> > ><br> > > Can you check if the attached looks right to you? I can't che= ck as I<br> > > don't have an external monitor here.<br> > ><br> > <br> > Also see the following bug which has a working patch:<br> > <br> > <a href=3D"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76691" rel= =3D"noreferrer" target=3D"_blank">https://debbugs.gnu.org/cgi/bugreport.cgi= ?bug=3D76691</a><br> <br> Sorry, I think I'm being a bit dim but I can't see any patch there<= br> that fixes this particular problem.<br></blockquote><div><br></div><div cla= ss=3D"gmail_default" style=3D"font-family:monospace">Hi, Alan,</div><div cl= ass=3D"gmail_default" style=3D"font-family:monospace"><br></div><div class= =3D"gmail_default" style=3D"font-family:monospace">I'm now not at my de= sk but perhaps if the 76691 patch doesn't solve this, but it solves the= bigger problem that the monitor attributes are wrong, maybe combine them w= hile you're at it?</div><div class=3D"gmail_default" style=3D"font-fami= ly:monospace"><br></div><div class=3D"gmail_default" style=3D"font-family:m= onospace">-Stephane</div></div></div> --000000000000bc6a0706360fcac9--
X-Loop: help-debbugs@HIDDEN Subject: bug#76051: 29.4; Incorrect workarea entry in display-monitor-attributes-list on macOS Resent-From: Ship Mints <shipmints@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 26 May 2025 20:29:03 +0000 Resent-Message-ID: <handler.76051.B76051.174829132322624 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76051 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: alan@HIDDEN, shipmints@HIDDEN, andlind@HIDDEN, 76051 <at> debbugs.gnu.org X-Debbugs-Original-To: Alan Third <alan@HIDDEN>, Ship Mints <shipmints@HIDDEN>, Anders Lindgren <andlind@HIDDEN>, Emacs bug reports and feature requests <bug-gnu-emacs@HIDDEN>, 76051 <at> debbugs.gnu.org Received: via spool by 76051-submit <at> debbugs.gnu.org id=B76051.174829132322624 (code B ref 76051); Mon, 26 May 2025 20:29:03 +0000 Received: (at 76051) by debbugs.gnu.org; 26 May 2025 20:28:43 +0000 Received: from localhost ([127.0.0.1]:60513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uJeR8-0005sp-Kg for submit <at> debbugs.gnu.org; Mon, 26 May 2025 16:28:42 -0400 Received: from mail-vs1-xe2c.google.com ([2607:f8b0:4864:20::e2c]:43167) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1uJeR5-0005sH-Nm for 76051 <at> debbugs.gnu.org; Mon, 26 May 2025 16:28:40 -0400 Received: by mail-vs1-xe2c.google.com with SMTP id ada2fe7eead31-4e45ece38cdso465330137.0 for <76051 <at> debbugs.gnu.org>; Mon, 26 May 2025 13:28:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748291314; x=1748896114; darn=debbugs.gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=j+m3nSOV/H9hD0m+aQgCrJYMYcQx80dk1vfM5wY8dTg=; b=EcLleiJCfgj59F4mEiI3FMfZ1SZPNnU4GJzx1nsBGqvQegJQRCUpL3dOq8ivLM9H9n 06XQjzn6X82ZzU9h86NudwV5KWNVYllnu4GfmxTNWxPvIoh6cQH0/+qC2Qxa8esJuGqT 43Waj505Yfo0D+28rdUFopBVb9Ojf1aGK7pPL6YobJcovECSrl7qy5Gbkkgsk9UBaXkG 3J+Q3BD2HMw1b0iTUbeWMzxOcm5RkpPo/xGoObTlrhjFiHTLcZKUW0dce3uS2zpPKbCL l5K+fzKf0kdnjay5LUkwJ4qMs6RhBQ89UdsKEuFHpvjJpp448Q3XN58ndLEgVCmeksW5 6fvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748291314; x=1748896114; h=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=j+m3nSOV/H9hD0m+aQgCrJYMYcQx80dk1vfM5wY8dTg=; b=H2m3VpwDmZ9ibpmFw1Fc2bswqkpU1d8+LPL8hrHzTg/1xptr5rlNNXV6FIZ9s1cY9F NURzI7RnIUILFP0ONTiwPhirZjW0jz+ikTCCcypsVax8ge99foj+IT6Uz9VBkpouN9vY KfveMBSa9tlrdOPJBdRct/p75WgSr8EWZPi17ESu/YFS6vvrlWvMl3064oRbk9BYwrA+ U3j1LlqrTxePGoOWKie0sK362KVvh+rudjzDVyVFKVuOZDo3Ejc8+N46G+lU1pSV72Rl 9DTE7XiKz2lQVTLYoUdTpObpKY6bQA4AngEsrCQMCc6+aVPQM3ERtgeO4qTylWpvp9oV Js1g== X-Forwarded-Encrypted: i=1; AJvYcCUmfNN0eXZSqUyrbQ8Dw2lcoMdDjiQ/sWwEznSvRb859lYpSu8cT139Ife9PN39wrYSd2L65w==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyQ5ZQsfK0eijHvuB8LON2dcezS/0ZrYsjID4Qq4clqCJ56QjaL 2slpq1eBt4eoS5NirXF6wrxWFst5HSQLt3QSuFOMdE6vVRvogYb/O2ao088PGlTjHJ3+I30HbgU wjzKWP+jHrJECa+NxfapVb7Okqj4yqj0= X-Gm-Gg: ASbGncuD0Ub06+KtJsnRJ9OmZWjrzHVk+zkY0t2Q0husaD3KGIALCkATeZXkpJ8ujkb SnEcZ8sEs2vrsMmmrMokLNSKlViX7hKNONi/X94LhS048XKosWgkKlZS3jfvXgfmqw1EwQpTpPw j+S2QyfnGSZdrUJ38nr9l0HhODeSk0piefzGLTOSWDouN+4g== X-Google-Smtp-Source: AGHT+IH7C+t+MFH++hcXw/Wo+dgj1/EDqOYo59skPkWpUnRTxTBq/pjPX802kgiqo7azz+IsWy3UlBWg/P3XHrrW5Ak= X-Received: by 2002:a05:6102:394d:b0:4e1:441d:be9f with SMTP id ada2fe7eead31-4e2f073a745mr9366806137.2.1748291314016; Mon, 26 May 2025 13:28:34 -0700 (PDT) MIME-Version: 1.0 References: <CABr8ebb-gjcWJWGNAQRqtkkqDL3m=KmJ-7tECjGCCwOnTmRTOQ@HIDDEN> <aDTCQSLd5KNo4_eH@HIDDEN> <CAN+1HboE85bgiUAu0Cgw+2sKA=+2QosGdpW7Oa0BUrYNoFmbnA@HIDDEN> <aDTN0erR3YoU6An9@HIDDEN> In-Reply-To: <aDTN0erR3YoU6An9@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Mon, 26 May 2025 16:28:22 -0400 X-Gm-Features: AX0GCFvg6B3TDealDjRQW69rhcEXJmhH1UiL3Y-PblAq2IkfkCJ31veaDeQZamk Message-ID: <CAN+1HboKBYV_MHbjjzeMGw9bUN6Xh8SHY4kkCYCbMStgJJioNw@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000bc6a0706360fcac9" X-Spam-Score: 0.0 (/) 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 (-) --000000000000bc6a0706360fcac9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, May 26, 2025 at 4:23=E2=80=AFPM Alan Third <alan@HIDDEN> wrote: > On Mon, May 26, 2025 at 03:38:46PM -0400, Ship Mints wrote: > > On Mon, May 26, 2025 at 3:35=E2=80=AFPM Alan Third <alan@HIDDEN> wr= ote: > > > > > I'm pretty sure the arithmetic was wrong, and it was treating externa= l > > > monitors differently from the primary screen for some reason I > > > couldn't work out. > > > > > > Can you check if the attached looks right to you? I can't check as I > > > don't have an external monitor here. > > > > > > > Also see the following bug which has a working patch: > > > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76691 > > Sorry, I think I'm being a bit dim but I can't see any patch there > that fixes this particular problem. > Hi, Alan, I'm now not at my desk but perhaps if the 76691 patch doesn't solve this, but it solves the bigger problem that the monitor attributes are wrong, maybe combine them while you're at it? -Stephane --000000000000bc6a0706360fcac9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">= On Mon, May 26, 2025 at 4:23=E2=80=AFPM Alan Third <<a href=3D"mailto:al= an@HIDDEN">alan@HIDDEN</a>> wrote:</span></div></div><div class= =3D"gmail_quote gmail_quote_container"><blockquote class=3D"gmail_quote" st= yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd= ing-left:1ex">On Mon, May 26, 2025 at 03:38:46PM -0400, Ship Mints wrote:<b= r> > On Mon, May 26, 2025 at 3:35=E2=80=AFPM Alan Third <<a href=3D"mail= to:alan@HIDDEN" target=3D"_blank">alan@HIDDEN</a>> wrote:<br> > <br> > > I'm pretty sure the arithmetic was wrong, and it was treating= external<br> > > monitors differently from the primary screen for some reason I<br= > > > couldn't work out.<br> > ><br> > > Can you check if the attached looks right to you? I can't che= ck as I<br> > > don't have an external monitor here.<br> > ><br> > <br> > Also see the following bug which has a working patch:<br> > <br> > <a href=3D"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76691" rel= =3D"noreferrer" target=3D"_blank">https://debbugs.gnu.org/cgi/bugreport.cgi= ?bug=3D76691</a><br> <br> Sorry, I think I'm being a bit dim but I can't see any patch there<= br> that fixes this particular problem.<br></blockquote><div><br></div><div cla= ss=3D"gmail_default" style=3D"font-family:monospace">Hi, Alan,</div><div cl= ass=3D"gmail_default" style=3D"font-family:monospace"><br></div><div class= =3D"gmail_default" style=3D"font-family:monospace">I'm now not at my de= sk but perhaps if the 76691 patch doesn't solve this, but it solves the= bigger problem that the monitor attributes are wrong, maybe combine them w= hile you're at it?</div><div class=3D"gmail_default" style=3D"font-fami= ly:monospace"><br></div><div class=3D"gmail_default" style=3D"font-family:m= onospace">-Stephane</div></div></div> --000000000000bc6a0706360fcac9--
Received: (at control) by debbugs.gnu.org; 26 May 2025 21:17:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 26 17:17:55 2025 Received: from localhost ([127.0.0.1]:60876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uJfCl-0001Kh-9w for submit <at> debbugs.gnu.org; Mon, 26 May 2025 17:17:55 -0400 Received: from dane.soverin.net ([185.233.34.11]:35537) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <alan@HIDDEN>) id 1uJfCh-0001K6-HM; Mon, 26 May 2025 17:17:52 -0400 Received: from smtp.soverin.net (unknown [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4b5pWX6fKlzrTm; Mon, 26 May 2025 21:17:44 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4b5pWX28FTz3Z; Mon, 26 May 2025 21:17:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1748294264; bh=XhGDifMUfQXcFFIjUBQKyrLdM51o9yM477kI8SdWHe8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NctcT2Wo8qOae5Okkg5cpRRyhAC/Of+lOnnhQOLQhItgqXZHJ605T0Yq51zhq6T1R f9T79hglTRCkhw7N4swuVutqhTfh+UjAl1XSqymfRpUHw1y8cofJE19b5wJ9/1kTiJ mJTQOHOte1YhY9nrYw6CLxhW5nMPDQMbZdzE0k5Gfkjae8OUTqp9siN9ctXzoLqKDm rWqIXFO41Si6HZYekmsMcJITn7eCa8aPtYa0opnmCd9a8/jVRRBlkvh2Ysolzfp+J4 kkFlOJDYCFzvbtEGwrC9Fnm8NgA5kNJarQJkNx4cDOamKwxkBQ5NgIkiS8ScIWgYja IhTd8jCfkPVBg== X-CM-Analysis: v=2.4 cv=d/oPyQjE c=1 sm=1 tr=0 ts=6834da78 a=UbsBXRcqaZ6D9kgPt/Dvnw==:617 a=xqWC_Br6kY4A:10 a=kj9zAlcOel0A:10 a=dt9VzEwgFbYA:10 a=SraIrIJzsCucrja1Oj8A:9 a=CjuIK1q_8ugA:10 a=9MSFP0l5Dcwi9NrB_JPx:22 X-CM-Envelope: MS4xfAWdwmSloSd5DkZ6NqzvGX9ygSRVI8NwxwmpI7Tq6N02IR4/ITDzZqzkXFL5OzrTtgnt7NfSFBozvYfWGXO1QRcjUpnKrJLx6zRTpGs2ErgLYrXnyeve ZeT5fjx7xvMWiEFnKZTdVipAXY1MfqdFNy/N9bXmjUp4Q3A9kgUOPpKowjWgqGPEOjvJXG+6YwvGCUFSNEVI4FV38IdTIc0wxA0s8ytXDUpYl/y5TgwQC6KU WmQBFQmc2rkZsJ41oQS9QHH4TPOmkhRrDYPGV97qz5TExWz4wmVIO7kZOPiCTkZwHPO0KwTVXjAQhdwxwjVGZuoBw3OjGWhX1IiN68xNANf/aAuF06YqrmIe clMfJVMg22t6Y1pXHC0PMGBNHf5wdijvFXqudF7u1cOEbYq1Kg4= Received: from localhost (faroe.holly.idiocy.org [local]) by faroe.holly.idiocy.org (OpenSMTPD) with ESMTPA id 7edcda33; Mon, 26 May 2025 21:17:43 +0000 (UTC) Date: Mon, 26 May 2025 22:17:43 +0100 From: Alan Third <alan@HIDDEN> To: Ruiyang Wu <ywwry66@HIDDEN> Subject: Re: bug#76691: `display-monitor-attributes-list` not working properly on macOS Message-ID: <aDTadxyhxC3V7id3@HIDDEN> Mail-Followup-To: Alan Third <alan@HIDDEN>, Ruiyang Wu <ywwry66@HIDDEN>, Ship Mints <shipmints@HIDDEN>, Robert Pluim <rpluim@HIDDEN>, Juri Linkov <juri@HIDDEN>, 76691 <at> debbugs.gnu.org, Stefan Kangas <stefankangas@HIDDEN> References: <87jz94ajyp.fsf@HIDDEN> <CAN+1HbpwPn_AoGVqR6P8epzNuRpt1oh0GujRiK7S8r0gLV+NcQ@HIDDEN> <CAN+1HbpHmFpHRHmi6PbL+HV8LCZ=LXh9v8dm4Oa6c37GoqTVGQ@HIDDEN> <877c53alx4.fsf@HIDDEN> <CAN+1Hbrf3g33Z_DLprgszifwy46=RsNc71XfZTruAVZJ5pmfKA@HIDDEN> <87tt868o9g.fsf@HIDDEN> <CAN+1HbrZw42TjDae_CdiEcugBWwaUbbSajFW_CF+Jnu3CNPWbQ@HIDDEN> <87pliu8f1i.fsf@HIDDEN> <CAN+1HbrGZsjPv5ZdEANToMFAO=XxOY709tb7DvARnor1J9gJHA@HIDDEN> <B1A51A6B-9349-4F37-93A4-7ACD9A32CFC4@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <B1A51A6B-9349-4F37-93A4-7ACD9A32CFC4@HIDDEN> X-Spampanel-Class: ham X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control Cc: 76691 <at> debbugs.gnu.org, Robert Pluim <rpluim@HIDDEN>, Stefan Kangas <stefankangas@HIDDEN>, Ship Mints <shipmints@HIDDEN>, Juri Linkov <juri@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 (-) package emacs merge 76691 76051 user emacs usertag 76691 + ns thankyou On Mon, Apr 07, 2025 at 01:10:49AM -0400, Ruiyang Wu wrote: > Hi all, > > How can we move this forward? It would be great to see Ship Mints' > patch merged to master and backported to emacs-30. Is there anything blocking this other than getting the OK from the maintainers? I'm inclined to say it's good to go as the existing names don't work at all, afaik, so we can't be any worse off than we were before. Stephane, when you get a chance can you forward the latest version of this patch so I can compare it with my patch for 76051 so we can see if they're covering the same ground? Thanks. -- Alan Third
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.