godot icon indicating copy to clipboard operation
godot copied to clipboard

Use a lower editor scale by default on 720p mobile displays

Open werryxgames opened this issue 3 years ago • 11 comments

Godot version

3.5.stable

System information

Android, GLES2, Xiaomi Redmi 9C 720x1600 269dpi

Issue description

By default Godot's resolution is 200%, but there is no inspector with 200%. Can't edit any node's property. I can change resolution in settings, but I want default resolution to be usable

Screenshot_2022-08-09-18-34-17-699_org godotengine editor v3 Screenshot_2022-08-09-18-39-09-299_org godotengine editor v3

Steps to reproduce

Download stable Godot Editor 3.5 APK from official releases on Redmi 9C Install downloaded file Create or open any project

Minimal reproduction project

No response

werryxgames avatar Aug 09 '22 15:08 werryxgames

If the default scale was lower than 200% on mobile, then the editor would be unusable because controls would be too small for a touch screen. You'd constantly be pressing the wrong buttons :slightly_smiling_face:

That said, for low-end devices with 720p screens, we probably don't have any other choice than making the default scale 150% instead of 200%. cc @m4gr3d This will essentially trade one problem for another though, unless you have a hardware keyboard and mouse.

Switching the editor language to English should help make more of the editor fit on screen, as texts will be shorter. However, keep in mind this can only be done from the Editor Settings, not the project manager: https://github.com/godotengine/godot/issues/60353

Calinou avatar Aug 09 '22 16:08 Calinou

I think small UI is fine, it should definitely fit the screen. If it's too small to be comfortably usable it's still better than seeing only a quarter of the UI :)

akien-mga avatar Aug 09 '22 21:08 akien-mga

Android, GLES2, Xiaomi Redmi 9C 720x1600 269dpi

@werryxgames If your dpi is 269, then you should be falling in the DENSITY_HIGH bucket and have your scale set automatically to 150% based on the logic here.

Can you validate your dpi is correct, and that you haven't overwritten the default scale selected for your dpi.

m4gr3d avatar Aug 15 '22 04:08 m4gr3d

@m4gr3d Screenshot_2022-08-15-07-39-58-309_com finalwire aida64 Screenshot_2022-08-15-07-46-03-452_org godotengine editor v3

werryxgames avatar Aug 15 '22 04:08 werryxgames

@werryxgames Does the editor fully fit with the 150% or below scaling?

m4gr3d avatar Aug 15 '22 06:08 m4gr3d

150% Screenshot_2022-08-15-10-43-41-714_org.godotengine.editor.v3.jpg

werryxgames avatar Aug 15 '22 07:08 werryxgames

@m4gr3d, 125% is the best Screenshot_2022-08-15-10-47-55-541_org.godotengine.editor.v3.jpg

werryxgames avatar Aug 15 '22 07:08 werryxgames

But for example you can add "Show Inspector" button (or with icon), that will show fullscreen inspector. Button will only show, when there is no visible inspector, or it don't show fully (like 150% screenshot)

werryxgames avatar Aug 20 '22 12:08 werryxgames

Actually this is a good idea also for those people on desktops who want more space for the rest of the editor...

Zireael07 avatar Aug 20 '22 14:08 Zireael07

But for example you can add "Show Inspector" button (or with icon), that will show fullscreen inspector. Button will only show, when there is no visible inspector, or it don't show fully (like 150% screenshot)

See https://github.com/godotengine/godot-proposals/issues/1441.

Calinou avatar Aug 20 '22 15:08 Calinou

idk if i could do java i would make godot for android a seperate version

FransiskusFeroz avatar Sep 10 '22 10:09 FransiskusFeroz

Fixed by https://github.com/godotengine/godot/pull/71838

m4gr3d avatar Jan 26 '23 11:01 m4gr3d