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

Floating script editor text doesn't look sharp on a secondary screen #79024

Closed
DonutWrecker opened this issue Jul 4, 2023 · 2 comments
Closed

Comments

@DonutWrecker
Copy link

DonutWrecker commented Jul 4, 2023

Godot version

v4.1.rc3

System information

Godot v4.1.rc3 - Windows 10.0.19045 - Vulkan (Compatibility) - NVIDIA GeForce GTX 1650 (NVIDIA; 31.0.15.3640) - AMD Ryzen 3 3100 4-Core Processor (8 Threads)

Issue description

As the title suggests, when the script editor is on floating mode, and on a secondary screen with a different resolution than the primary screen, every single letter on the whole window (code panel, left and upper panel) looks a little blurry, not looking as sharp as the primary display. When the floating script editor is on the primary display, everything looks fine.

I have two other screens other than my primary display, and their resolutions are: primary display - 4K and 150% scaling on Windows display settings, secondary screen (1) and (2) - 1080p and 100% scaling on Windows display settings. Also I'm using Display Scale set to Auto (%150) on Editor Settings > Interface > Editor > Display Scale.

Steps to reproduce

Open the script editor and make the script editor window floating, then move the floating window to a secondary screen with a different resolution, or right-click on the button that reads "Make the script editor floating." and select the secondary screen.

Minimal reproduction project

N/A

@DonutWrecker
Copy link
Author

The issue is still present in 4.1.

@Calinou
Copy link
Member

Calinou commented Jul 10, 2023

Thanks for the report! Consolidating in #56341, as this requires seamless display scaling to be implemented on Windows to be fixed.

As a workaround, you can disable scaling and rely on editor zoom instead as per this comment:

For this reason, when I use the editor I choose to override the per-application DPI setting (right-click properties from Explorer) to "application" to cause Windows to not apply the bitmap scaling, and then manually set the scaling I want in the Godot editor. I prefer the application to not seamlessly adjust the scaling if that means doing bitmap scaling of the whole window, especially when it comes to text-heavy applications.

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

3 participants