[squeak-dev] Please Test | Improvements around display scaling (150%, 200%, 250%, ...)

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Wed Dec 22 18:53:16 UTC 2021


Addendum: Somehow I managed to see these freshly opened windows after filing in the changeset, while being at 100% scaling:


[cid:0163bc79-1912-4ef8-8bc8-928e349c886c]


[cid:a7e4f859-b4fd-4994-b9b5-bb068ef0311c]


I will report back when I am able to reproduce this.


Best,

Christoph

________________________________
Von: Thiede, Christoph
Gesendet: Mittwoch, 22. Dezember 2021 19:41:53
An: The general-purpose Squeak developers list
Betreff: AW: [squeak-dev] Please Test | Improvements around display scaling (150%, 200%, 250%, ...)


Hi Marcel,


nice results! 🎉


Some notes for further work (I don't think we need to address each of these points before the next release):


  *   At least on Windows 10, the Squeak.exe.manifest still does not enable application-managed scaling by default. I. e., on my hi-DPI tablet screen, the initial experience will still be blurry until I go into the properties of "Squeak.exe" > "Compatibility" > "Change high-DPI settings" > "Override high-DPI scaling" > "Application". I think we should not change the manifest before the new primitive is live, but maybe we should document these - not absolutely straightforward steps - somewhere (Wiki? Help Browser?) and refer to them in the scaling menu?
  *   Should we make the scaling factor a preference so that it appears in the preference browser as you (at least as I) would expect it?
  *   The preference Cursor useBiggerCursors is still not connected to the scaling factor - should it be? (The preference Preferences valueOfFlag: #biggerHandles isn't either, but IMO it looks horrible on any modern screen if you turn it off - maybe we should deprecate it?)
  *   After switching back from 300% to 100%, the preference browser looks like this:
[cid:6fbafeb4-da8b-433f-9524-ba100dc50de8]
Any quick fixes for this? 🙃
Also note that the preference value for the grip thickness has not been updated. Should the preference browser subscribe to the relevant system change events?
  *   Why no "low-DPI" scale factors in [0%, 100%)?

Best,
Christoph

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Jakob Reschke <jakres+squeak at gmail.com>
Gesendet: Mittwoch, 22. Dezember 2021 12:41 Uhr
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] Please Test | Improvements around display scaling (150%, 200%, 250%, ...)

Hi Marcel,

Very nice, thank you! What a pleasure to the eye.

In case you do not have it on your list already: the buttons etc. are
resized when the scaling is changed, but the window decorations
including scrollbars and splitters not yet. For example, browsers
opened after a scaling change have scrollbars with a different width.
But this is a very minor flaw compared to the trouble with existing
tools when one tried the big fonts mode in 2015 or so... :-)

Now I need to fix the layout frames in the Git Browser.

Kind regards,
Jakob

Am Mi., 22. Dez. 2021 um 10:15 Uhr schrieb Marcel Taeumel
<marcel.taeumel at hpi.de>:
>
> Updated. :-)
>
> Am 21.12.2021 19:01:06 schrieb Marcel Taeumel <marcel.taeumel at hpi.de>:
>
> Hi all --
>
> Yes, the new primitive "primitiveScreenScaleFactor" is not yet functional, but we can do something to at least improve the manual way of scaling fonts (and widgets and tools) so that your favorite high-DPI display can be used in Squeak (i.e. "sharp fonts") without letting the operating system scale (i.e. "blurry fonts").
>
> Here is an older discussion: http://lists.squeakfoundation.org/pipermail/squeak-dev/2020-September/211603.html
>
> Please find attached a change set for your to try out. Load it and then click Extras > Scale Factor > 200%. Or do-it in a workspace: "Display scaleFactor: 1.25". Note that 100%, 125%, and 150% will still use our pre-rendered "Bitmap DejaVu Sans" fonts. Other scale factors rely on "BitstreamVeraSans(Mono)".
>
> I have still a little bit more testing to do considering the use of FontImporterTool. :-)
>
> It's still not perfect. But at least we now have a one-click solution for scale factors bigger than 150%.
>
> Best,
> Marcel
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211222/e48414ae/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 83112 bytes
Desc: pastedImage.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211222/e48414ae/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 11843 bytes
Desc: pastedImage.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211222/e48414ae/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 5147 bytes
Desc: pastedImage.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211222/e48414ae/attachment-0005.png>


More information about the Squeak-dev mailing list