-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sat, Oct 22, 2016 at 07:15:16AM +0000, Jeremy Rand wrote:
> xmee...@gmail.com:
> > I just did a clean install of Qubes 3.2. For some reason the resolution off 
> > apps in Fedora VMs is wildly inconsistent. The borders of the windows, 
> > dom0, and the Debian VMs are correct but the apps in Fedora VMs range from 
> > consistent with the others to so low as to be almost unusable. I can't 
> > figure out what causes them to change and xrandr outputs the same thing no 
> > matter what the displayed resolution is.
> 
> I think this occurred for me a few weeks ago.  If I recall correctly,
> the HiDPI settings in GNOME had somehow been set to 0.  No magnification
> is 1, double magnification is 2.  0 gets interpreted as 2, for reasons
> that only the GNOME people are likely to understand.

I've looked at gnome-settings-daemon code and AFAIR those reasons are:
1. Have DPI at least 192, and
2. Have vertical resolution at least 1200.

Relevant code:
https://github.com/GNOME/gnome-settings-daemon/blob/master/plugins/xsettings/gsd-xsettings-manager.c#L233-L241

    #define DPI_FALLBACK 96

    /* The minimum resolution at which we turn on a window-scale of 2 */
    #define HIDPI_LIMIT (DPI_FALLBACK * 2)

    /* The minimum screen height at which we turn on a window-scale of 2;
     * below this there just isn't enough vertical real estate for GNOME
     * apps to work, and it's better to just be tiny */
    #define HIDPI_MIN_HEIGHT 1200

There is also lengthy comment about it.
Anyway the above looks reasonable for me for automatically turning HiDPI
mode on. So, if it was incorrect, I'd guess something gone wrong with
retrieving input values (DPI, vertical resolution).

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJYC8bcAAoJENuP0xzK19csryMH/11HnOzPwr1vQPfeWlmhymk6
uAMti9FHkTZEK4IWJWZDGaahd+Pos4Rav+wSmloV54n96AOrComKkz/LKk8t1VKl
mQIwPSbyDvoW3jJMz6Izd9+QK5fEEp7rP2ekhE2Me8sCENu/yRR2tx9zHbJQ7bza
yU1tLuuR6g334qMlTkdTX/6rRxJD6cpED9zjTJ3ZvFnAbCmuk10s57PKU6KTXogy
LaOTConyMeRSPBc2S6C9avMoylcR2YQ9suXEVo/nE8uQv7GuOS6eaTNIoXkUXuEf
3RfyhrVLAGBxu1i6S3WCOrzt+9X9PuXqpyLkq0WZ8Gxlh1+onoo35+si7ohiHiE=
=X8f7
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20161022200652.GI1136%40mail-itl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to