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

Scale of Godot's UI randomly changes #61357

Open
CurHob opened this issue May 24, 2022 · 11 comments
Open

Scale of Godot's UI randomly changes #61357

CurHob opened this issue May 24, 2022 · 11 comments

Comments

@CurHob
Copy link

CurHob commented May 24, 2022

Godot version

3.4.4 stable official

System information

Mac mini 2014, Catalina, Intel core i5 2.8 ghz, Intel Iris 1536

Issue description

I have been having an issue where if I go out of godot for some time, it will randomly change the UI scale to be 2x finer, like this:
Screen Shot 2022-05-24 at 2 12 59 AM
It makes the editor really hard to read & is really annoying. I can fix it by changing the display scale in Preferences, but it would still read 100% (which of course looks fine initially, but this is changing it to be something else.) Also it resets the window size, which means I have to resize it again to see the tutorial I'm trying to follow.

Steps to reproduce

I haven't actually reproduced it for the screenshot (btw it's full screen in 1080p display setting mode in case it matters), but believe me it's happened several times. I can tell you to try going out of godot while open, or step away from the computer, come back, see what happens, but that's all. Doesn't matter what project, it seems to be a basic UI issue at the core of the engine.

Minimal reproduction project

No response

@Calinou
Copy link
Member

Calinou commented May 24, 2022

This is likely due to seamless display scaling misbehaving because Godot thinks you moved the window across monitors with different DPI.

cc @bruvzg

@CurHob
Copy link
Author

CurHob commented May 24, 2022 via email

@Zireael07
Copy link
Contributor

@CurHob He doesn't mean YOU are moving across monitors, he means something in the code is wrongly thinking it was...

@CurHob
Copy link
Author

CurHob commented May 29, 2022

I am tired of it doing this every time! There must be some way to fix it. If you have a possible solution tell me what it is.

@CurHob
Copy link
Author

CurHob commented May 29, 2022 via email

@bruvzg
Copy link
Member

bruvzg commented May 29, 2022

Is it happening completely randomly, or when display/system is going to sleep?

@bruvzg bruvzg self-assigned this May 29, 2022
@CurHob
Copy link
Author

CurHob commented May 29, 2022 via email

@CurHob
Copy link
Author

CurHob commented Oct 11, 2022 via email

@Calinou
Copy link
Member

Calinou commented Oct 12, 2022

Is this going to be fixed later? I do remember trying godot a while ago, and it wasn’t happening then, even though I’m pretty sure I was using 1080p

Sent from my iPhone
On May 29, 2022, at 02:59, bruvzg @.***> wrote:  Is it happening completely randomly, or when display/system is going to sleep? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

We don't know why the issue is happening, and nobody else has managed to reproduce it so far. We need a contributor to be able to reproduce this issue first 🙂

@Henry-E
Copy link

Henry-E commented Sep 28, 2023

Here's how the issue occurs

  • open godot in a second monitor while macbook is in clamshell mode
  • unplug second monitor and open macbook, godot has some weird scaling

This scaling even persists if you do

  • open in second monitor
  • unplug monitor at the end of the day causing rescaling
  • reopen second monitor the next day and godot is super zoomed out

The only real solution at the moment is to restart the editor every day, which is unfortunate.

@KevBruner
Copy link

I'm seeing something similar, but in my case it is "flickering" between proper and "bad" font rendering about every 10-40 seconds while the editor is running, and it's pretty reliable. I'm running my own builds of Godot, and I'm happy to poke around if someone can point my in the general vicinity of where the problem might be. I've been a professional game dev for 20+ years but I'm new to Godot. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants