godot_heightmap_plugin icon indicating copy to clipboard operation
godot_heightmap_plugin copied to clipboard

Visual bugs in the editor, small icons and broken windows

Open peterhoglund opened this issue 4 years ago • 4 comments

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

peterhoglund avatar Oct 28 '20 15:10 peterhoglund

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: https://github.com/godotengine/godot/issues/20197

Calinou avatar Oct 28 '20 15:10 Calinou

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 avatar Oct 28 '20 18:10 Zylann

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)

Zylann avatar Oct 28 '20 18:10 Zylann

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

peterhoglund avatar Oct 28 '20 19:10 peterhoglund