GNU bug report logs - #76691
`display-monitor-attributes-list` not working properly on macOS

Previous Next

Package: emacs;

Reported by: Ruiyang Wu <ywwry66 <at> gmail.com>

Date: Sun, 2 Mar 2025 21:00:03 UTC

Severity: normal

Tags: confirmed, patch

Merged with 76051

Found in versions 29.4, 30.1, 31.0.50

Done: Alan Third <alan <at> idiocy.org>

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Ship Mints <shipmints <at> gmail.com>
Cc: 76691 <at> debbugs.gnu.org, Juri Linkov <juri <at> linkov.net>, Ruiyang Wu <ywwry66 <at> gmail.com>, Stefan Kangas <stefankangas <at> gmail.com>
Subject: bug#76691: `display-monitor-attributes-list` not working properly on macOS
Date: Wed, 05 Mar 2025 10:04:07 +0100
>>>>> On Tue, 4 Mar 2025 11:06:29 -0500, Ship Mints <shipmints <at> gmail.com> said:

    Ship> On Tue, Mar 4, 2025 at 10:59 AM Ship Mints <shipmints <at> gmail.com> wrote:
    >> On Tue, Mar 4, 2025 at 10:34 AM Robert Pluim <rpluim <at> gmail.com> wrote:
    >> 
    >>> It gives me reasonable looking names here:
    >>> 
    >>> (((name . "PL3467WQ") (geometry 0 0 3440 1440) (workarea 0 25 3440
    >>> 1415) (mm-size 801 329) (frames #<frame *scratch* 0x131887028>)
    >>> (source . "NS")) ((name . "Built-in Display") (geometry 459 1440 2048
    >>> 1332) (workarea 459 1440 2048 1287) (mm-size 290 189) (frames) (source
    >>> . "NS")))
    >>> 
    >> 
    >> Robert,
    >> 
    >> When you run (x-display-list), what do you get? Just your host name,
    >> right? And if you unplug and replug your monitors and rerun?
    >> 

I get just my host name.

    Ship> And also (display-monitor-attributes-list) just to make sure it works with
    Ship> comings and goings of displays.

I unplugged and replugged my external monitor, and Emacs crashed in
`read_char', which is a different crash from the one I saw earlier,
which was in `Fx_create_frame'. Iʼve got the lldb session if it helps.

Robert
-- 




This bug report was last modified 12 days ago.

Previous Next


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