GNU bug report logs - #20432
GDK_SCALE=2 GDK_DPI_SCALE=0.5 destroys GTK+ 3 scroll bar

Previous Next

Package: emacs;

Reported by: "Felix E. Klee" <felix.klee <at> inka.de>

Date: Sun, 26 Apr 2015 17:28:02 UTC

Severity: normal

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: "Felix E. Klee" <felix.klee <at> inka.de>, 20432 <at> debbugs.gnu.org
Subject: bug#20432: GDK_SCALE=2 GDK_DPI_SCALE=0.5 destroys GTK+ 3 scroll bar
Date: Thu, 14 May 2015 09:38:19 -0700
Thanks, Jan D., for looking into the problem.  It does appear to be a 
mess.  In theory I suppose Emacs should use 
gdk_screen_get_monitor_scale_factor to get the monitor scale factor; but 
in practice the situation is so messed up (and a lot of work would be 
needed to fix it) that it might not be worth bothering.

By the way, on my Fedora 21 x86-64 host, setting GDK_SCALE=2 
GDK_DPI_SCALE=0.5 has no effect on emacs -Q, even with the recent 
fixes.  Perhaps this is due to the races you mentioned?

I installed a minor followup patch to catch some integer overflows (I 
realize GTK+ can crash in those cases and that other integer overflows 
are possible in Emacs, but one thing at a time....).




This bug report was last modified 10 years and 94 days ago.

Previous Next


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