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


Message #34 received at 20432 <at> debbugs.gnu.org (full text, mbox):

From: "Jan D." <jan.h.d <at> swipnet.se>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: "Felix E. Klee" <felix.klee <at> inka.de>, 20432 <at> debbugs.gnu.org
Subject: Re: GDK_SCALE=2 GDK_DPI_SCALE=0.5 destroys GTK+ 3 scroll bar
Date: Thu, 14 May 2015 19:57:18 +0200
Paul Eggert skrev den 2015-05-14 18:38:
> 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?

No, that just affects the initial frame size.
You should see an effect on toolbar and scroll bar size (they should be 
twice as big).  Are you compiling with Gtk+ 3.8 or later?

	Jan D.





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.