Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual bugs in the editor, small icons and broken windows #209

Open
peterhoglund opened this issue Oct 28, 2020 · 4 comments
Open

Visual bugs in the editor, small icons and broken windows #209

peterhoglund opened this issue Oct 28, 2020 · 4 comments
Labels
bug Something isn't working Waiting for Godot Godot has a bug and should be fixed first

Comments

@peterhoglund
Copy link

Describe the bug
I am getting visual bugs in the editor:

  • Icons are very small
  • Menu windows are not appearing as they should

To Reproduce
It's like this from the start.

Expected behavior
I've seen screenshots from other's screens and the icon sizes are larger there. In windows the main problem seems to be that the size of the window border is too small and won't wrap around its content. It is possible to resize the window and if you resize it large enough the content will follow the new size. In the "Generate" window the preview image is overlapping the controls, which there is no way to avoid.

Screenshots
image
image
image
image
image

Environment

  • OS: MacBook Pro with MacOS Catalina 10.15.7
  • Graphics card
    Radeon Pro 560 4 GB
    Intel HD Graphics 630 1536 MB
  • Godot version: 3.2.3.stable.official
  • Plugin version: 1.4
  • Renderer used: GLES3
@Calinou
Copy link
Contributor

Calinou commented Oct 28, 2020

The issues reported here are due to the use of a hiDPI display.

Icons are very small

This is an engine bug which can't be fixed by the add-on: godotengine/godot#20197

@Zylann Zylann added bug Something isn't working Waiting for Godot Godot has a bug and should be fixed first labels Oct 28, 2020
@Zylann
Copy link
Owner

Zylann commented Oct 28, 2020

This surprises me a lot because I already did a pass on HiDPI support in all areas I could apply it on 🤔
(and yes, HiDPI API support for plugin makers is in the toilet)

@Zylann
Copy link
Owner

Zylann commented Oct 28, 2020

What is the value of interface/editor/display_scale and interface/editor/custom_display_scale in your editor settings?

I tried forcing display_scale all the way to its maximum of 6, and this is what I get:
image

It's super cramped because my screen is not hi-DPI, but all seems fine.
I'm suspecting Godot is doing some magic only for itself, if that's the case there is nothing I can do (even though using display_scale from the plugin required a fair amount of manual work already)

@peterhoglund
Copy link
Author

My display_scale was set to Auto. If I change it to 100% the windows look good and icons are the right relative size, but the UI is tiny :) The window looks good up to 175%, however the icons still stay the same small size. At 200% it starts to break and some components overlap, but all components fit inside the window. I can only push my custom_display_scale to 3, it looks the same as with display_scale 200% only larger.

The case from my first image where the window doesn't cover the components seems to only happen when display_scale is set to Auto.

Here is what it looks like on 200%
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting for Godot Godot has a bug and should be fixed first
Projects
None yet
Development

No branches or pull requests

3 participants