[Vm-dev] [commit][3665] Squeak is actually not DPI aware (yet?).

Frank Shearar frank.shearar at gmail.com
Thu Mar 31 23:03:42 UTC 2016


On 31 March 2016 at 00:01, Tobias Pape <Das.Linux at gmx.de> wrote:

>
> Hi Eliot,
>
> On 31.03.2016, at 06:53, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>
> >
> > Hi Tobias,
> >
> >    card to say more about this?  I had explicit requests to add this
> with the given settings and have heard of no complaints yet.  But you
> disable it below.  Are you sure you're doing the right thing?
>
> The effect of <dpiAware>true</dpiAware> is that Windows expects the
> application to
> handle the actual dpi of the screen the application is currently on.
>
> On typical displays, there's no change, but hi-dpi displays (like a MS
> Surface, or Retina Macs)
> have a higher DPI and Windows in this case does not do anything special.
> In effect, the picture is just tiny, fonts near unreadable.
>
> While some people (also people I know) prefer this tinyness, it is
> actually startling for
> new users and "the average" user.
>
> If <dpiAware>false</dpiAware> is set, Windows handles the screen DPI and
> upscales
> the backing store so that everything looks similarly big on screens of
> different DPI.
> This is (imho) the expected behavior.
>
> I don't know about expected: I don't _expect_ the application to look
disgustingly fuzzy. That's the reason why I asked for this setting to be
the way it is. But I will freely admit that I might not be the average
user, and that HPI might well have a better idea, since they see rather
more new Squeak users than I do.



> People preferring the hidpi variant easily can set the dpiAware entry
> (thats, eg, what
> Marcel does for his projects sometimes). The other way round, expecting
> average/new
> users to _disable_ that is probably a bad idea.
>

Yeah, so the fuzziness is so annoying to me that I have to switch it off
immediately. And if dpiAware is false, that pretty much means any time I
open Squeak, because I pretty much always download a fresh Cog VM (through
squeak-ci stuff).

frank


> Hence the change.
>
> Once we have
>         - VMs actually reacting to Screen-DPI-changes and
>         - Emitting DPI-changed-Events to the Image and
>         - The image actually does something useful with this event
> I'll happily change that back. But that time has not come yet.
>
> Best regards
>         -Tobias
>
>
> PS: I also want DPI-awareness for the Mac VM, btw.
>
>
> >
> > _,,,^..^,,,_ (phone)
> >
> >> On Mar 30, 2016, at 12:32 AM, commits at squeakvm.org wrote:
> >>
> >>
> >> Revision: 3665
> >> Author:   topa
> >> Date:     2016-03-30 00:32:09 -0700 (Wed, 30 Mar 2016)
> >> Log Message:
> >> -----------
> >> Squeak is actually not DPI aware (yet?).
> >>
> >> Modified Paths:
> >> --------------
> >>   branches/Cog/build.win32x86/newspeak.cog.spur/nsvm.exe.manifest
> >>   branches/Cog/build.win32x86/newspeak.stack.spur/nsvm.exe.manifest
> >>   branches/Cog/build.win32x86/squeak.cog.spur/Croquet.exe.manifest
> >>   branches/Cog/build.win32x86/squeak.cog.spur/Squeak.exe.manifest
> >>   branches/Cog/build.win32x86/squeak.cog.v3/Croquet.exe.manifest
> >>   branches/Cog/build.win32x86/squeak.cog.v3/Squeak.exe.manifest
> >>   branches/Cog/build.win32x86/squeak.stack.spur/Croquet.exe.manifest
> >>   branches/Cog/build.win32x86/squeak.stack.spur/Squeak.exe.manifest
> >>   branches/Cog/build.win32x86/squeak.stack.v3/Croquet.exe.manifest
> >>   branches/Cog/build.win32x86/squeak.stack.v3/Squeak.exe.manifest
> >>
> >> Modified:
> branches/Cog/build.win32x86/newspeak.cog.spur/nsvm.exe.manifest
> >> ===================================================================
> >> --- branches/Cog/build.win32x86/newspeak.cog.spur/nsvm.exe.manifest
> 2016-03-29 20:18:32 UTC (rev 3664)
> >> +++ branches/Cog/build.win32x86/newspeak.cog.spur/nsvm.exe.manifest
> 2016-03-30 07:32:09 UTC (rev 3665)
> >> @@ -12,7 +12,7 @@
> >> <description>Newspeak Smalltalk Virtual Machine</description>
> >> <asmv3:application>
> >>   <asmv3:windowsSettings xmlns="
> http://schemas.microsoft.com/SMI/2005/WindowsSettings">
> >> -        <dpiAware>true</dpiAware>
> >> +        <dpiAware>false</dpiAware>
> >>   </asmv3:windowsSettings>
> >> </asmv3:application>
> >> <dependency>
> >>
> >> Modified:
> branches/Cog/build.win32x86/newspeak.stack.spur/nsvm.exe.manifest
> >> ===================================================================
> >> --- branches/Cog/build.win32x86/newspeak.stack.spur/nsvm.exe.manifest
>   2016-03-29 20:18:32 UTC (rev 3664)
> >> +++ branches/Cog/build.win32x86/newspeak.stack.spur/nsvm.exe.manifest
>   2016-03-30 07:32:09 UTC (rev 3665)
> >> @@ -12,7 +12,7 @@
> >> <description>Newspeak Smalltalk Virtual Machine</description>
> >> <asmv3:application>
> >>   <asmv3:windowsSettings xmlns="
> http://schemas.microsoft.com/SMI/2005/WindowsSettings">
> >> -        <dpiAware>true</dpiAware>
> >> +        <dpiAware>false</dpiAware>
> >>   </asmv3:windowsSettings>
> >> </asmv3:application>
> >> <dependency>
> >>
> >> Modified:
> branches/Cog/build.win32x86/squeak.cog.spur/Croquet.exe.manifest
> >> ===================================================================
> >> --- branches/Cog/build.win32x86/squeak.cog.spur/Croquet.exe.manifest
> 2016-03-29 20:18:32 UTC (rev 3664)
> >> +++ branches/Cog/build.win32x86/squeak.cog.spur/Croquet.exe.manifest
> 2016-03-30 07:32:09 UTC (rev 3665)
> >> @@ -12,7 +12,7 @@
> >> <description>Croquet Smalltalk Virtual Machine</description>
> >> <asmv3:application>
> >>   <asmv3:windowsSettings xmlns="
> http://schemas.microsoft.com/SMI/2005/WindowsSettings">
> >> -        <dpiAware>true</dpiAware>
> >> +        <dpiAware>false</dpiAware>
> >>   </asmv3:windowsSettings>
> >> </asmv3:application>
> >> <dependency>
> >>
> >> Modified:
> branches/Cog/build.win32x86/squeak.cog.spur/Squeak.exe.manifest
> >> ===================================================================
> >> --- branches/Cog/build.win32x86/squeak.cog.spur/Squeak.exe.manifest
> 2016-03-29 20:18:32 UTC (rev 3664)
> >> +++ branches/Cog/build.win32x86/squeak.cog.spur/Squeak.exe.manifest
> 2016-03-30 07:32:09 UTC (rev 3665)
> >> @@ -12,7 +12,7 @@
> >> <description>Squeak Smalltalk Virtual Machine</description>
> >> <asmv3:application>
> >>   <asmv3:windowsSettings xmlns="
> http://schemas.microsoft.com/SMI/2005/WindowsSettings">
> >> -        <dpiAware>true</dpiAware>
> >> +        <dpiAware>false</dpiAware>
> >>   </asmv3:windowsSettings>
> >> </asmv3:application>
> >> <dependency>
> >>
> >> Modified: branches/Cog/build.win32x86/squeak.cog.v3/Croquet.exe.manifest
> >> ===================================================================
> >> --- branches/Cog/build.win32x86/squeak.cog.v3/Croquet.exe.manifest
> 2016-03-29 20:18:32 UTC (rev 3664)
> >> +++ branches/Cog/build.win32x86/squeak.cog.v3/Croquet.exe.manifest
> 2016-03-30 07:32:09 UTC (rev 3665)
> >> @@ -12,7 +12,7 @@
> >> <description>Croquet Smalltalk Virtual Machine</description>
> >> <asmv3:application>
> >>   <asmv3:windowsSettings xmlns="
> http://schemas.microsoft.com/SMI/2005/WindowsSettings">
> >> -        <dpiAware>true</dpiAware>
> >> +        <dpiAware>false</dpiAware>
> >>   </asmv3:windowsSettings>
> >> </asmv3:application>
> >> <dependency>
> >>
> >> Modified: branches/Cog/build.win32x86/squeak.cog.v3/Squeak.exe.manifest
> >> ===================================================================
> >> --- branches/Cog/build.win32x86/squeak.cog.v3/Squeak.exe.manifest
> 2016-03-29 20:18:32 UTC (rev 3664)
> >> +++ branches/Cog/build.win32x86/squeak.cog.v3/Squeak.exe.manifest
> 2016-03-30 07:32:09 UTC (rev 3665)
> >> @@ -12,7 +12,7 @@
> >> <description>Squeak Smalltalk Virtual Machine</description>
> >> <asmv3:application>
> >>   <asmv3:windowsSettings xmlns="
> http://schemas.microsoft.com/SMI/2005/WindowsSettings">
> >> -        <dpiAware>true</dpiAware>
> >> +        <dpiAware>false</dpiAware>
> >>   </asmv3:windowsSettings>
> >> </asmv3:application>
> >> <dependency>
> >>
> >> Modified:
> branches/Cog/build.win32x86/squeak.stack.spur/Croquet.exe.manifest
> >> ===================================================================
> >> --- branches/Cog/build.win32x86/squeak.stack.spur/Croquet.exe.manifest
>   2016-03-29 20:18:32 UTC (rev 3664)
> >> +++ branches/Cog/build.win32x86/squeak.stack.spur/Croquet.exe.manifest
>   2016-03-30 07:32:09 UTC (rev 3665)
> >> @@ -12,7 +12,7 @@
> >> <description>Croquet Smalltalk Virtual Machine</description>
> >> <asmv3:application>
> >>   <asmv3:windowsSettings xmlns="
> http://schemas.microsoft.com/SMI/2005/WindowsSettings">
> >> -        <dpiAware>true</dpiAware>
> >> +        <dpiAware>false</dpiAware>
> >>   </asmv3:windowsSettings>
> >> </asmv3:application>
> >> <dependency>
> >>
> >> Modified:
> branches/Cog/build.win32x86/squeak.stack.spur/Squeak.exe.manifest
> >> ===================================================================
> >> --- branches/Cog/build.win32x86/squeak.stack.spur/Squeak.exe.manifest
>   2016-03-29 20:18:32 UTC (rev 3664)
> >> +++ branches/Cog/build.win32x86/squeak.stack.spur/Squeak.exe.manifest
>   2016-03-30 07:32:09 UTC (rev 3665)
> >> @@ -12,7 +12,7 @@
> >> <description>Squeak Smalltalk Virtual Machine</description>
> >> <asmv3:application>
> >>   <asmv3:windowsSettings xmlns="
> http://schemas.microsoft.com/SMI/2005/WindowsSettings">
> >> -        <dpiAware>true</dpiAware>
> >> +        <dpiAware>false</dpiAware>
> >>   </asmv3:windowsSettings>
> >> </asmv3:application>
> >> <dependency>
> >>
> >> Modified:
> branches/Cog/build.win32x86/squeak.stack.v3/Croquet.exe.manifest
> >> ===================================================================
> >> --- branches/Cog/build.win32x86/squeak.stack.v3/Croquet.exe.manifest
> 2016-03-29 20:18:32 UTC (rev 3664)
> >> +++ branches/Cog/build.win32x86/squeak.stack.v3/Croquet.exe.manifest
> 2016-03-30 07:32:09 UTC (rev 3665)
> >> @@ -12,7 +12,7 @@
> >> <description>Croquet Smalltalk Virtual Machine</description>
> >> <asmv3:application>
> >>   <asmv3:windowsSettings xmlns="
> http://schemas.microsoft.com/SMI/2005/WindowsSettings">
> >> -        <dpiAware>true</dpiAware>
> >> +        <dpiAware>false</dpiAware>
> >>   </asmv3:windowsSettings>
> >> </asmv3:application>
> >> <dependency>
> >>
> >> Modified:
> branches/Cog/build.win32x86/squeak.stack.v3/Squeak.exe.manifest
> >> ===================================================================
> >> --- branches/Cog/build.win32x86/squeak.stack.v3/Squeak.exe.manifest
> 2016-03-29 20:18:32 UTC (rev 3664)
> >> +++ branches/Cog/build.win32x86/squeak.stack.v3/Squeak.exe.manifest
> 2016-03-30 07:32:09 UTC (rev 3665)
> >> @@ -12,7 +12,7 @@
> >> <description>Squeak Smalltalk Virtual Machine</description>
> >> <asmv3:application>
> >>   <asmv3:windowsSettings xmlns="
> http://schemas.microsoft.com/SMI/2005/WindowsSettings">
> >> -        <dpiAware>true</dpiAware>
> >> +        <dpiAware>false</dpiAware>
> >>   </asmv3:windowsSettings>
> >> </asmv3:application>
> >> <dependency>
> >>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160331/32aedb13/attachment-0001.htm


More information about the Vm-dev mailing list