GNU bug report logs - #63384
x-display-mm-width and x-display-mm-height both return 0 on wayland

Previous Next

Package: emacs;

Reported by: tomasralph2000 <at> gmail.com

Date: Tue, 9 May 2023 02:06:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tomasralph2000 <at> gmail.com, 63384 <at> debbugs.gnu.org
Subject: bug#63384: x-display-mm-width and x-display-mm-height both return 0 on wayland
Date: Sun, 14 May 2023 13:22:03 +0800
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Date: Sat, 13 May 2023 22:32:09 +0000
>> From: tomasralph2000 <at> gmail.com
>> 
>> So, back to emacs. Maybe it should be fixed on this side? I
>> personally made a workaround in the meantime that checks if these
>> functions return 0, and if they do, they override the pgtk function
>> that returns the display info, calculating the proper values for the
>> mm size. It works great. You can find it here, in case anyone finds
>> it useful.
>
> If we can have a reasonably useful fallback on our side, I think we
> should add it.  AFAIU, this problem also exists on the emacs-29
> branch?  If so, I think we should add this fallback, if it is
> reasonable, to the emacs-29 branch soon.

Sigh...  The number of excuses GNOME people can come up for their own
failings is astonishing.

Thomas, if you run:

  $ wayland-info

then, somewhere alongside the descriptions of each output, should be
their respective EDID blobs.  Would you please send them here, so that I
can see if some accurate information can be extracted?




This bug report was last modified 2 years and 12 days ago.

Previous Next


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