On Tue, Oct 25, 2016 at 9:33 AM, Adam Williamson <adamwill@xxxxxxxxxxxxxxxxx> wrote: > On Tue, 2016-10-25 at 09:30 -0700, Adam Williamson wrote: >> On Tue, 2016-10-25 at 05:16 -0400, Bastien Nocera wrote: >> > >> > ----- Original Message ----- >> > > Adam Williamson wrote: >> > > > If you use Fedora (Workstation, at least, and I think maybe KDE too) on >> > > > a 3200x1800 13" screen then hidpi mode will kick in, and everything >> > > > will be sized as if you were using a 1600x900 13" screen, which is a >> > > > pretty common setup. >> > > >> > > Yes, Plasma 5 definitely handles that as a hidpi display. >> > > >> > > But KDE is actually much smarter and can handle any DPI, though you will >> > > likely have to configure it manually, because as you explained, the >> > > developers of the commonly used X drivers decided to be jerks and >> > > deliberately report a bogus geometry. >> > >> > [Citation really needed] >> >> Well, Kevin's framing of this is clearly...opionated...:) but my blog >> post gave the citation. >> >> https://www.happyassassin.net/2015/07/09/of-dpis-desktops-and-toolkits/ >> https://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/modes/xf86RandR12.c#n787 >> >> as my post explained: > > Oh, since I'm referring to an old post I should note one thing: after I > wrote that post (and partly because of it), GTK+'s behaviour was > changed to just use a hardcoded default of 96dpi, like GNOME. > Everywhere the post refers to GTK+ doing the same DPI calculation as > KDE/Qt, that's no longer true. It doesn't do that any more. All of this makes me wonder: should the system perhaps attempt to estimate the number of pixels per visual inch or perhaps per degree at expected viewing position? This shouldn't be *that* hard -- there would be a little table of estimated viewing distances for laptops, desktops, and tablets, and the system could extrapolate from there. (Projectors are probably a lost cause and perhaps it should be purely a function of resolution.) At the very least, it would be rather nice to have a real (not gnome-tweak-tool or dconf) interface for scaling the UI. --Andy _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx