-
Notifications
You must be signed in to change notification settings - Fork 994
EP_HIGH_DPI=false issue on OSX Catalina #2594
Comments
I have |
@ArnisLielturks Don't have latest macOS to test but if you search the "Catalina" and "SDL" then you will find Urho3D is not alone. Before Catalina, Urho3D user could choose between high DPI or not. It used to be "off" by default but now it is "on" by default after we "believe" that UI scaling works correctly with High DPI now. So, the build option is there for users to fallback should they find the scaling does not work as expected for their apps. But, I just read from someone claiming Apple has changed something on Catalina. The EP_HIGH_DPI in Urho3D translates to SDL_WINDOW_ALLOW_HIGHDPI in SDL 2. At the time we introduced this, I remember the flag only takes effect for Apple platforms. However, a quick check today shows that other platforms seem to start to support that flag as well: Emscripten/Web and Linux/Wayland. Having said that, that combinations are not tested at all in the past. |
@weitjong btw what is considered correct UI scaling in high DPI mode? UI scale is 2x when on high DPI mode or the UI is scale is 1x and on high DPI everything should appear smaller? |
Should be 2x as I recall it. |
Marking this stale since there has been no activity for 30 days. |
Hi guys, please help validate the PR. |
Just searched around in
|
This seems to be critical -
|
This is how InputScale is set - To me, it the In Editor's code, UI scale is set to be the same as Input Scale manually - I think the approach would be:
|
When setting EP_HIGH_DPI to false, only 1/4 of the screen is used.
It was working just fine with the High Sierra OSX version.
The text was updated successfully, but these errors were encountered: