GNU bug report logs - #27357
26.0.50; Emacs starts fullscreen in Ubuntu 17.04

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Wed, 14 Jun 2017 12:34:02 UTC

Severity: normal

Tags: fixed

Merged with 20619, 21348, 22204, 23231

Found in versions 24.5, 25.0.50, 25.1.50, 26.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jan D <jan.h.d <at> swipnet.se>
Cc: 27357 <at> debbugs.gnu.org
Subject: Re: bug#27357: 26.0.50; Emacs starts fullscreen in Ubuntu 17.04
Date: Sun, 16 Jul 2017 17:16:56 +0200
Jan, I think you were the one that added the GDK_SCALE thing to Emacs?
I've been chasing down some HiDPI issues:

Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> That might be a good idea, but I'm not sure where the previous people
> who were working on scaling were going with their work.
>
> Amusingly enough, the 
>
>       int scale = xg_get_gdk_scale ();
>
> stuff that's sprinkled around just seems to get in the way of fixing
> this stuff.  It explicitly looks at the GDK_SCALE environment variable,
> which is (by default) not set.  So while some bits of Emacs is using
> that variable to determine some things, querying GTK in the proper way
> (with gtk_widget_get_scale_factor) will get another answer.

Is there a drawback to looking at gtk_widget_get_scale_factor instead of
the GDK_SCALE variable?

Reworking this (on the scratch/hidpi branch) to not look at that
variable seems to fix all my HiDPI issues.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 7 years and 313 days ago.

Previous Next


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