You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug (REQUIRED)
When changing screen resolution on Android phone, I see the window.get_size() returns unreliable value.
On WFHD+, app in portrait mode, I've got the window height sometimes 3040 (the correct value) and mostly 2280.
On FHD+, app in portrait mode, I've got the window height sometimes 1710 and mostly 2280 (the correct value).
To Reproduce (REQUIRED)
Steps to reproduce the behavior:
Create a minimum project with a label showing the current window height
Build & run it on an Android phone (mine is Samsung Galaxy Note 10 Plus)
On the phone, open Settings -> Display -> Screen Resolution and change to the resolution we want
Reopen the app to see its window height
Expected behavior (REQUIRED)
Get the right window size value, should be equal to screen resolution.
Defold version (REQUIRED):
Version 1.7.0
Platforms (REQUIRED):
Platforms: Android
OS: Android 12
Device: Samsung Galaxy Note 10 Plus
The text was updated successfully, but these errors were encountered:
Describe the bug (REQUIRED)
When changing screen resolution on Android phone, I see the
window.get_size()
returns unreliable value.On WFHD+, app in portrait mode, I've got the window height sometimes 3040 (the correct value) and mostly 2280.
On FHD+, app in portrait mode, I've got the window height sometimes 1710 and mostly 2280 (the correct value).
To Reproduce (REQUIRED)
Steps to reproduce the behavior:
Expected behavior (REQUIRED)
Get the right window size value, should be equal to screen resolution.
Defold version (REQUIRED):
Platforms (REQUIRED):
The text was updated successfully, but these errors were encountered: