Skip to content

Disable DPI awareness for Editor#83

Merged
ccomrade merged 2 commits into
masterfrom
disable-editor-dpi-awareness
Dec 29, 2025
Merged

Disable DPI awareness for Editor#83
ccomrade merged 2 commits into
masterfrom
disable-editor-dpi-awareness

Conversation

@ccomrade

Copy link
Copy Markdown
Owner

Editor has various issues when run via DPI-aware EditorLauncher.exe on a HiDPI screen (scaling >100%):

  • Incorrect aspect ratio of the startup dialog.
  • Too small icons (relative to text).
  • "File ➡️ Open" dialog crashes (integer division by zero because GetSystemMetrics(SM_CXICON) returns zero).
  • Possibly more.

We can avoid all these issues by simply making EditorLauncher.exe DPI-unaware (like the original Editor.exe). A small downside is that all texts inside Editor windows become slightly blurry due to DPI scaling.

Thanks to FAPP for reporting this issue!

@ccomrade ccomrade merged commit a5dfab7 into master Dec 29, 2025
4 checks passed
@ccomrade ccomrade deleted the disable-editor-dpi-awareness branch December 29, 2025 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant