GNU bug report logs - #76481
31.0.50; Extreme weirdness with GDK_SCALE=

Previous Next

Package: emacs;

Reported by: Jonathan Corbet <corbet <at> lwn.net>

Date: Fri, 21 Feb 2025 22:12:01 UTC

Severity: normal

Found in version 31.0.50

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: Jonathan Corbet <corbet <at> lwn.net>
Cc: 76481 <at> debbugs.gnu.org
Subject: bug#76481: 31.0.50; Extreme weirdness with GDK_SCALE=
Date: Sun, 23 Feb 2025 08:56:32 +0800
Jonathan Corbet <corbet <at> lwn.net> writes:

> OK, if I run it normally (without GDK_SCALE=), I get this
>
> First return, called from x_set_scroll_bar_default_width(): 32
>  from xg_update_frame_menubar(): 2
>  from xg_wm_set_size_hint(): 2
>  from xg_frame_set_char_size(): 2
>
> from here on it's always 2
>
> with GDK_SCALE= :
>
> First return, called from x_set_scroll_bar_default_width(): 16
>  from xg_update_frame_menubar(): 1
>  from xg_wm_set_size_hint(): 1
>  from xg_frame_set_char_size(): 1
>
> ...and always 1 thereafter.
>
> Hope that helps?
>
> Thanks,
>
> jon

My recollection is that on Wayland the scale is decided by the
compositor, but apparently GDK continues to report and use the value of
GDK_SCALE in some contexts, if present, which moves the two out of sync.
Or so I suspect.




This bug report was last modified 116 days ago.

Previous Next


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