qb64 icon indicating copy to clipboard operation
qb64 copied to clipboard

Set scale_factor=2 only if both Retina and 5K

Open JoeyLemur opened this issue 4 years ago • 4 comments

On older Macs that have a 2880 x 1800 Retina display, setting scale_factor=2 makes the IDE far too large. This minor logic change will only set scale to x2 if it detects both Retina and 5K.

JoeyLemur avatar Jan 04 '21 15:01 JoeyLemur

Is the issue happening in Catalina? Also, making the change will exclude cases where only one of the indicators appears.

FellippeHeitor avatar Jan 04 '21 15:01 FellippeHeitor

Yes, this is on my Catalina system. My thought is that it shouldn't scale by x2 unless it finds 'Retina' and '5K' in the 'system_profiler SPDisplaysDataType' output, and it does fix the scaling issue on my MBP 15" (mid-2015).

I probably should've done this before I submitted the PR, but when I get some time today, I'll throw Catalina onto a drive and see what happens on my 2109 MBP 16" -- its already on Big Sur, and doesn't have scaling problems, either with or without this PR.

JoeyLemur avatar Jan 04 '21 16:01 JoeyLemur

Yes, this is on my Catalina system. My thought is that it shouldn't scale by x2 unless it finds 'Retina' and '5K' in the 'system_profiler SPDisplaysDataType' output, and it does fix the scaling issue on my MBP 15" (mid-2015).

I probably should've done this before I submitted the PR, but when I get some time today, I'll throw Catalina onto a drive and see what happens on my 2109 MBP 16" -- its already on Big Sur, and doesn't have scaling problems, either with or without this PR.

Hi! Can you share your “ system_profiler SPDisplaysDataType”? Retina appears for system with integrated displays, and 5K when you use external UHD/4K monitors (for example on MacPro or MacMini).

Also share the output for “uname -a” from your Catalina’s system.

Maybe a good approach will be to identify the resolution on “retina” displays. Thanks!!

familygw avatar Jan 08 '21 00:01 familygw

Is this still relevant? Do we need more data?

flukiluke avatar Oct 14 '21 13:10 flukiluke