Fix resolution scaling from Cocoa to guest#2361
Conversation
|
Can you explain your change? Native resolution means unscaled on the host side, so it should appear "smaller" if you have a Retina display. The purpose of this is if you are running an OS which has its own scaling (i.e. Windows with 200% rendering), it will not interfere with macOS's own scaling. |
|
Indeed, everything looks smaller if I run Ubuntu with native resolution. This pull request does not change that. First, let me clarify terminologies.
On a Retina display, the native resolution is much larger than one of a classic display, but the physical size (in inches, for example), is consistent with a classic display. Now let's assume Actually there are two ways to synchronize the guest resolution and native resolution:
This pull request fixes 2. Since the guest resolution must be equal to the native resolution, we scale Cocoa resolution by |
|
I see thanks for the explanation. |
|
hello everyone, does this #3319 fixed by this commit? @akihikodaki |
|
Maybe related, but it is a distinct problem. This was merged long before, and is included in 2.4.1. |
No description provided.