Hello,
I often switch from my macbook (retina) to a hooked up monitor. I have found that the scaling of text sizes in workspaces gets borked up when I do. This is true even if I reset the display scale from the preferences wizard or the menu command.
As an example, here is what I'm seeing currently on my laptop
Any idea how I can fix this without disposing of the image?
Hi Eric,
are you using the latest VM and Squeak 6.0/Squeak Trunk? In the recent past, there have been made multiple improvements to UI scaling/retina mode.
Does the problem occur for all your windows or just for certain workspaces? Maybe your text there contains not some attributes that override the font of the text. You could select all text and spawn it (cmd + o) to open it in a clean workspace without any old formatting.
Best,
Christoph
________________________________ Von: Squeak-dev squeak-dev-bounces@lists.squeakfoundation.org im Auftrag von Eric Gade eric.gade@gmail.com Gesendet: Dienstag, 27. September 2022 17:54:31 An: The general-purpose Squeak developers list Betreff: [squeak-dev] Workspaces and Display Scale
Hello,
I often switch from my macbook (retina) to a hooked up monitor. I have found that the scaling of text sizes in workspaces gets borked up when I do. This is true even if I reset the display scale from the preferences wizard or the menu command.
As an example, here is what I'm seeing currently on my laptop
Any idea how I can fix this without disposing of the image?
-- Eric
This is a Mac all-in-one Squeak 6 (not trunk) version that I downloaded a couple of days ago.
It is just in the Workspaces that I'm having a problem. Perhaps is because they had syntax highlighting turned on, and that messed with text properties?
Thanks for the tip. I am giving a demo this afternoon for work so if I need to use it I will.
On Tue, Sep 27, 2022 at 3:40 PM Thiede, Christoph < Christoph.Thiede@student.hpi.uni-potsdam.de> wrote:
Hi Eric,
are you using the latest VM and Squeak 6.0/Squeak Trunk? In the recent past, there have been made multiple improvements to UI scaling/retina mode.
Does the problem occur for all your windows or just for certain workspaces? Maybe your text there contains not some attributes that override the font of the text. You could select all text and spawn it (cmd
- o) to open it in a clean workspace without any old formatting.
Best,
Christoph
*Von:* Squeak-dev squeak-dev-bounces@lists.squeakfoundation.org im Auftrag von Eric Gade eric.gade@gmail.com *Gesendet:* Dienstag, 27. September 2022 17:54:31 *An:* The general-purpose Squeak developers list *Betreff:* [squeak-dev] Workspaces and Display Scale
Hello,
I often switch from my macbook (retina) to a hooked up monitor. I have found that the scaling of text sizes in workspaces gets borked up when I do. This is true even if I reset the display scale from the preferences wizard or the menu command.
As an example, here is what I'm seeing currently on my laptop
Any idea how I can fix this without disposing of the image?
-- Eric
Perhaps is because they had syntax highlighting turned on, and that messed with text properties?
Hm, sorry, can't reproduce :( You can also check this by inspecting the PluggableTextMorph in the Workspace and then exploring its #text's runs with the single attributes ...
Best, Christoph
________________________________ Von: Squeak-dev squeak-dev-bounces@lists.squeakfoundation.org im Auftrag von Eric Gade eric.gade@gmail.com Gesendet: Dienstag, 27. September 2022 21:42:52 An: The general-purpose Squeak developers list Betreff: Re: [squeak-dev] Workspaces and Display Scale
This is a Mac all-in-one Squeak 6 (not trunk) version that I downloaded a couple of days ago.
It is just in the Workspaces that I'm having a problem. Perhaps is because they had syntax highlighting turned on, and that messed with text properties?
Thanks for the tip. I am giving a demo this afternoon for work so if I need to use it I will.
On Tue, Sep 27, 2022 at 3:40 PM Thiede, Christoph <Christoph.Thiede@student.hpi.uni-potsdam.demailto:Christoph.Thiede@student.hpi.uni-potsdam.de> wrote:
Hi Eric,
are you using the latest VM and Squeak 6.0/Squeak Trunk? In the recent past, there have been made multiple improvements to UI scaling/retina mode.
Does the problem occur for all your windows or just for certain workspaces? Maybe your text there contains not some attributes that override the font of the text. You could select all text and spawn it (cmd + o) to open it in a clean workspace without any old formatting.
Best,
Christoph
________________________________ Von: Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.orgmailto:squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Eric Gade <eric.gade@gmail.commailto:eric.gade@gmail.com> Gesendet: Dienstag, 27. September 2022 17:54:31 An: The general-purpose Squeak developers list Betreff: [squeak-dev] Workspaces and Display Scale
Hello,
I often switch from my macbook (retina) to a hooked up monitor. I have found that the scaling of text sizes in workspaces gets borked up when I do. This is true even if I reset the display scale from the preferences wizard or the menu command.
As an example, here is what I'm seeing currently on my laptop
Any idea how I can fix this without disposing of the image?
-- Eric
-- Eric
Hi
On 27. Sep 2022, at 21:49, Thiede, Christoph Christoph.Thiede@student.hpi.uni-potsdam.de wrote:
Perhaps is because they had syntax highlighting turned on, and that messed with text properties?
Hm, sorry, can't reproduce :( You can also check this by inspecting the PluggableTextMorph in the Workspace and then exploring its #text's runs with the single attributes ...
This probably need per-monitor-different-DPI-on-mac to reproduce. If someone™ pings me, I can look at it at my work setup :)
Best regards -Tobias
Best, Christoph Von: Squeak-dev squeak-dev-bounces@lists.squeakfoundation.org im Auftrag von Eric Gade eric.gade@gmail.com Gesendet: Dienstag, 27. September 2022 21:42:52 An: The general-purpose Squeak developers list Betreff: Re: [squeak-dev] Workspaces and Display Scale
This is a Mac all-in-one Squeak 6 (not trunk) version that I downloaded a couple of days ago.
It is just in the Workspaces that I'm having a problem. Perhaps is because they had syntax highlighting turned on, and that messed with text properties?
Thanks for the tip. I am giving a demo this afternoon for work so if I need to use it I will.
On Tue, Sep 27, 2022 at 3:40 PM Thiede, Christoph Christoph.Thiede@student.hpi.uni-potsdam.de wrote: Hi Eric,
are you using the latest VM and Squeak 6.0/Squeak Trunk? In the recent past, there have been made multiple improvements to UI scaling/retina mode.
Does the problem occur for all your windows or just for certain workspaces? Maybe your text there contains not some attributes that override the font of the text. You could select all text and spawn it (cmd + o) to open it in a clean workspace without any old formatting.
Best, Christoph Von: Squeak-dev squeak-dev-bounces@lists.squeakfoundation.org im Auftrag von Eric Gade eric.gade@gmail.com Gesendet: Dienstag, 27. September 2022 17:54:31 An: The general-purpose Squeak developers list Betreff: [squeak-dev] Workspaces and Display Scale
Hello,
I often switch from my macbook (retina) to a hooked up monitor. I have found that the scaling of text sizes in workspaces gets borked up when I do. This is true even if I reset the display scale from the preferences wizard or the menu command.
As an example, here is what I'm seeing currently on my laptop
Any idea how I can fix this without disposing of the image?
-- Eric
Hi Eric
On 27. Sep 2022, at 22:07, Tobias Pape Das.Linux@gmx.de wrote:
Hi
On 27. Sep 2022, at 21:49, Thiede, Christoph Christoph.Thiede@student.hpi.uni-potsdam.de wrote:
Perhaps is because they had syntax highlighting turned on, and that messed with text properties?
Hm, sorry, can't reproduce :( You can also check this by inspecting the PluggableTextMorph in the Workspace and then exploring its #text's runs with the single attributes ...
This probably need per-monitor-different-DPI-on-mac to reproduce. If someone™ pings me, I can look at it at my work setup :)
I've played around with multi-monitor-DPI-on-mac with a workspace with syntax highlighting.
I cannot reproduce the effect. Do you have steps I can take?
Best regards -Tobias
Best regards -Tobias
Best, Christoph Von: Squeak-dev squeak-dev-bounces@lists.squeakfoundation.org im Auftrag von Eric Gade eric.gade@gmail.com Gesendet: Dienstag, 27. September 2022 21:42:52 An: The general-purpose Squeak developers list Betreff: Re: [squeak-dev] Workspaces and Display Scale
This is a Mac all-in-one Squeak 6 (not trunk) version that I downloaded a couple of days ago.
It is just in the Workspaces that I'm having a problem. Perhaps is because they had syntax highlighting turned on, and that messed with text properties?
Thanks for the tip. I am giving a demo this afternoon for work so if I need to use it I will.
On Tue, Sep 27, 2022 at 3:40 PM Thiede, Christoph Christoph.Thiede@student.hpi.uni-potsdam.de wrote: Hi Eric,
are you using the latest VM and Squeak 6.0/Squeak Trunk? In the recent past, there have been made multiple improvements to UI scaling/retina mode.
Does the problem occur for all your windows or just for certain workspaces? Maybe your text there contains not some attributes that override the font of the text. You could select all text and spawn it (cmd + o) to open it in a clean workspace without any old formatting.
Best, Christoph Von: Squeak-dev squeak-dev-bounces@lists.squeakfoundation.org im Auftrag von Eric Gade eric.gade@gmail.com Gesendet: Dienstag, 27. September 2022 17:54:31 An: The general-purpose Squeak developers list Betreff: [squeak-dev] Workspaces and Display Scale
Hello,
I often switch from my macbook (retina) to a hooked up monitor. I have found that the scaling of text sizes in workspaces gets borked up when I do. This is true even if I reset the display scale from the preferences wizard or the menu command.
As an example, here is what I'm seeing currently on my laptop
Any idea how I can fix this without disposing of the image?
-- Eric
Sorry, I just realized I probably left out some key information. My setup is such that I *mirror* the laptop display to the external monitor when I connect it.
I am on macOS 12.6 and here is the Squeak info: Image format 68533 (64 bit) /Applications/Squeak6.0.app/Contents/MacOS/Squeak Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-dtl.3185] 64 bit Mac OS X built on Jun 2 2022 16:04:54 UTC Compiler: Apple LLVM 12.0.0 (clang-1200.0.32.29) platform sources revision VM: 202206021410 runner@Mac-1654184818873.local:work/opensmalltalk-vm/opensmalltalk-vm Date: Thu Jun 2 16:10:44 2022 CommitHash: c9fd365 Plugins: 202206021410 runner@Mac-1654184818873.local:work/opensmalltalk-vm/opensmalltalk-vm CoInterpreter VMMaker.oscog-dtl.3185 uuid: 0e7f07b8-eed6-4362-b223-86c98594ddb9 Jun 2 2022 StackToRegisterMappingCogit VMMaker.oscog-mt.3179 uuid: c6fbcb07-2a19-ed4f-8b40-9c119a70882a Jun 2 2022
On Wed, Sep 28, 2022 at 8:12 AM Tobias Pape Das.Linux@gmx.de wrote:
Hi Eric
I cannot reproduce the effect.
Do you have steps I can take?
Best regards -Tobias
Hi
On 28. Sep 2022, at 14:16, Eric Gade eric.gade@gmail.com wrote:
Sorry, I just realized I probably left out some key information. My setup is such that I mirror the laptop display to the external monitor when I connect it.
Yes, that might be important.
I am on macOS 12.6 and here is the Squeak info:
I'm still on 10.13, so there might be slight differences....
Can you get me the result of
{ DisplayScreen actualScreenScaleFactor . Display platformScaleFactor. Display uiScaleFactor. Display platformScaleFactor. RealEstateAgent scaleFactor. RealEstateAgent windowScaleFactor }
when attached and when detached?
Best regards -Tobias
Image format 68533 (64 bit) /Applications/Squeak6.0.app/Contents/MacOS/Squeak Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-dtl.3185] 64 bit Mac OS X built on Jun 2 2022 16:04:54 UTC Compiler: Apple LLVM 12.0.0 (clang-1200.0.32.29) platform sources revision VM: 202206021410 runner@Mac-1654184818873.local:work/opensmalltalk-vm/opensmalltalk-vm Date: Thu Jun 2 16:10:44 2022 CommitHash: c9fd365 Plugins: 202206021410 runner@Mac-1654184818873.local:work/opensmalltalk-vm/opensmalltalk-vm CoInterpreter VMMaker.oscog-dtl.3185 uuid: 0e7f07b8-eed6-4362-b223-86c98594ddb9 Jun 2 2022 StackToRegisterMappingCogit VMMaker.oscog-mt.3179 uuid: c6fbcb07-2a19-ed4f-8b40-9c119a70882a Jun 2 2022
On Wed, Sep 28, 2022 at 8:12 AM Tobias Pape Das.Linux@gmx.de wrote: Hi Eric
I cannot reproduce the effect. Do you have steps I can take?
Best regards -Tobias
Hi Tobias,
Can you get me the result of
{ DisplayScreen actualScreenScaleFactor . Display platformScaleFactor. Display uiScaleFactor. Display platformScaleFactor. RealEstateAgent scaleFactor. RealEstateAgent windowScaleFactor }
Before: #(1.0 1.0 1.0 1.0 1 1.0) After: #(2.0 2.0 2.0 2.0 2 1.0)
Before is when I'm hooked up to my external monitor, in mirroring mode, and my laptop is also open (so things get tiny on its end).
After is when I've disconnected the laptop and I'm just using it by itself.
One thing I just noticed now -- and perhaps this will help someone reproduce -- is that it only seems to be affecting workspaces that have been minimized. Just now I had an open workspace when I tried it and it didn't seem to be affected, while all of my minimized ones were.
On Wed, Sep 28, 2022 at 8:27 AM Tobias Pape Das.Linux@gmx.de wrote:
Hi
On 28. Sep 2022, at 14:16, Eric Gade eric.gade@gmail.com wrote:
Sorry, I just realized I probably left out some key information. My
setup is such that I mirror the laptop display to the external monitor when I connect it.
Yes, that might be important.
I am on macOS 12.6 and here is the Squeak info:
I'm still on 10.13, so there might be slight differences....
Can you get me the result of
{ DisplayScreen actualScreenScaleFactor . Display platformScaleFactor. Display uiScaleFactor. Display platformScaleFactor. RealEstateAgent scaleFactor. RealEstateAgent windowScaleFactor }
when attached and when detached?
Best regards -Tobias
Image format 68533 (64 bit) /Applications/Squeak6.0.app/Contents/MacOS/Squeak Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives
VMMaker.oscog-dtl.3185] 64 bit
Mac OS X built on Jun 2 2022 16:04:54 UTC Compiler: Apple LLVM 12.0.0
(clang-1200.0.32.29)
platform sources revision VM: 202206021410 runner@Mac-1654184818873.local:work/opensmalltalk-vm/opensmalltalk-vm
Date: Thu Jun 2 16:10:44 2022 CommitHash: c9fd365 Plugins: 202206021410 runner@Mac-1654184818873.local:work/opensmalltalk-vm/opensmalltalk-vm
CoInterpreter VMMaker.oscog-dtl.3185 uuid:
0e7f07b8-eed6-4362-b223-86c98594ddb9 Jun 2 2022
StackToRegisterMappingCogit VMMaker.oscog-mt.3179 uuid:
c6fbcb07-2a19-ed4f-8b40-9c119a70882a Jun 2 2022
On Wed, Sep 28, 2022 at 8:12 AM Tobias Pape Das.Linux@gmx.de wrote: Hi Eric
I cannot reproduce the effect. Do you have steps I can take?
Best regards -Tobias
Maybe also check whether the issue still exists if you update your image (or a copy of it) to the latest Trunk.
Best,
Christoph
________________________________ Von: Squeak-dev squeak-dev-bounces@lists.squeakfoundation.org im Auftrag von Eric Gade eric.gade@gmail.com Gesendet: Donnerstag, 29. September 2022 00:54:06 An: The general-purpose Squeak developers list Betreff: Re: [squeak-dev] Workspaces and Display Scale
Hi Tobias,
Can you get me the result of
{ DisplayScreen actualScreenScaleFactor . Display platformScaleFactor. Display uiScaleFactor. Display platformScaleFactor. RealEstateAgent scaleFactor. RealEstateAgent windowScaleFactor }
Before: #(1.0 1.0 1.0 1.0 1 1.0) After: #(2.0 2.0 2.0 2.0 2 1.0)
Before is when I'm hooked up to my external monitor, in mirroring mode, and my laptop is also open (so things get tiny on its end).
After is when I've disconnected the laptop and I'm just using it by itself.
One thing I just noticed now -- and perhaps this will help someone reproduce -- is that it only seems to be affecting workspaces that have been minimized. Just now I had an open workspace when I tried it and it didn't seem to be affected, while all of my minimized ones were.
On Wed, Sep 28, 2022 at 8:27 AM Tobias Pape <Das.Linux@gmx.demailto:Das.Linux@gmx.de> wrote: Hi
On 28. Sep 2022, at 14:16, Eric Gade <eric.gade@gmail.commailto:eric.gade@gmail.com> wrote:
Sorry, I just realized I probably left out some key information. My setup is such that I mirror the laptop display to the external monitor when I connect it.
Yes, that might be important.
I am on macOS 12.6 and here is the Squeak info:
I'm still on 10.13, so there might be slight differences....
Can you get me the result of
{ DisplayScreen actualScreenScaleFactor . Display platformScaleFactor. Display uiScaleFactor. Display platformScaleFactor. RealEstateAgent scaleFactor. RealEstateAgent windowScaleFactor }
when attached and when detached?
Best regards -Tobias
Image format 68533 (64 bit) /Applications/Squeak6.0.app/Contents/MacOS/Squeakhttp://Squeak6.0.app/Contents/MacOS/Squeak Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-dtl.3185] 64 bit Mac OS X built on Jun 2 2022 16:04:54 UTC Compiler: Apple LLVM 12.0.0 (clang-1200.0.32.29) platform sources revision VM: 202206021410 runner@Mac-1654184818873.local:work/opensmalltalk-vm/opensmalltalk-vm Date: Thu Jun 2 16:10:44 2022 CommitHash: c9fd365 Plugins: 202206021410 runner@Mac-1654184818873.local:work/opensmalltalk-vm/opensmalltalk-vm CoInterpreter VMMaker.oscog-dtl.3185 uuid: 0e7f07b8-eed6-4362-b223-86c98594ddb9 Jun 2 2022 StackToRegisterMappingCogit VMMaker.oscog-mt.3179 uuid: c6fbcb07-2a19-ed4f-8b40-9c119a70882a Jun 2 2022
On Wed, Sep 28, 2022 at 8:12 AM Tobias Pape <Das.Linux@gmx.demailto:Das.Linux@gmx.de> wrote: Hi Eric
I cannot reproduce the effect. Do you have steps I can take?
Best regards -Tobias
-- Eric
Hi Eric
On 29. Sep 2022, at 00:54, Eric Gade eric.gade@gmail.com wrote:
Hi Tobias,
Can you get me the result of
{ DisplayScreen actualScreenScaleFactor . Display platformScaleFactor. Display uiScaleFactor. Display platformScaleFactor. RealEstateAgent scaleFactor. RealEstateAgent windowScaleFactor }
Before: #(1.0 1.0 1.0 1.0 1 1.0) After: #(2.0 2.0 2.0 2.0 2 1.0)
Before is when I'm hooked up to my external monitor, in mirroring mode, and my laptop is also open (so things get tiny on its end).
So sanity check passed. Good.
After is when I've disconnected the laptop and I'm just using it by itself.
One thing I just noticed now -- and perhaps this will help someone reproduce -- is that it only seems to be affecting workspaces that have been minimized. Just now I had an open workspace when I tried it and it didn't seem to be affected, while all of my minimized ones were.
Yep, I can reproduce that, but ONLY going from 1.0 to 2.0 (not vice versa). weird. I also saw that un-minimizing the minimized workspace leads to the inner Text Morph being off in bounds vertically… seems to be related.
It does not happen for a pure TextMorph, so its something going on with either SystemWindow or PluggableTextMorph(Plug)
Best regards -Tobias
squeak-dev@lists.squeakfoundation.org