Re: [RFC] Linux HiDPI support: choose default scale factor based on DPI

2014-10-13 Thread Giuseppe Bilotta
On Fri, Oct 10, 2014 at 4:46 PM, Nicolas Silva wrote: > In the mean time we should really detect hidpi screens and default to an > appropriate scale. > The current scale is a terrible experience on a hidpi screen. I filed bug > 1081142. My finding is that the DPI is detected correctly, but the

Re: [RFC] Linux HiDPI support: choose default scale factor based on DPI

2014-10-13 Thread Giuseppe Bilotta
On Sun, Oct 12, 2014 at 6:37 PM, Robert O'Callahan wrote: > On Sun, Oct 12, 2014 at 1:41 AM, Giuseppe Bilotta > wrote: >> >> My finding is that the DPI is detected correctly, but the scale is not >> set according to it. This is exactly what my RFC patch does. I'

Re: [RFC] Linux HiDPI support: choose default scale factor based on DPI

2014-10-13 Thread Giuseppe Bilotta
On Mon, Oct 13, 2014 at 4:23 AM, Robert O'Callahan wrote: > On Sun, Oct 12, 2014 at 12:06 PM, Giuseppe Bilotta > wrote: >> >> Indeed. My patch only aims at providing a generic fallback. In >> contexts where it is known how the desktop environment handles the DPI

Re: [RFC] Linux HiDPI support: choose default scale factor based on DPI

2014-10-10 Thread Giuseppe Bilotta
On Fri, Oct 10, 2014 at 8:39 AM, Mike Hommey wrote: > On Thu, Oct 09, 2014 at 11:18:28PM -0700, Robert O'Callahan wrote: >> >> We should really follow what GTK does. E.g. whatever scale factor GTK uses >> for system/application icons by default, we should match it. Icons in the >> Firefox UI shoul

[RFC] Linux HiDPI support: choose default scale factor based on DPI

2014-10-09 Thread giuseppe . bilotta
here this is not detected)? Best regards, Giuseppe "Oblomov" Bilotta P.S. Patch inlined using web interface, sorry for the word wrap, will post it better if necessary -- >From acc0a97139dbed9049c9bfd74716dee2e4633d1d Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 10 O