Subject: bug#31745: 回复： bug#31745: 回复： bug#31745: 回复：回复：Re: 回复：bug#31745: Frame's bug whenwindow-system

From: Robert Pluim <[email-masked]>
Date: Wed, 27 Jun 2018 11:13:52 +0200

martin rudalics <[email-masked]> writes:

>> The bug does happen without this font setting. Traces are as follows:
>
> Thanks.  But you have not answered the question:
>
>   Does the bug happen when you turn off scaling of your display?
>
> I'm not sure how to tell whether a display is scaled and how to turn
> scaling off and on.  Maybe Robert can tell us more.

It depends. For anything older than GTK 3.10 we look at GDK_SCALE,
otherwise we inspect the GTK widget directly (but the widget value
again comes either from GDK_SCALE or from the window manager
settings).

We donʼt have an exposed API for checking the scale. I donʼt think we
need one (and this bug is independent of scaling for me).

Robert