Skip to content

Fix UI scale not updating when switching to a lower-DPI monitor#260

Merged
jindrapetrik merged 2 commits into
jindrapetrik:masterfrom
takattowo:fix/dpi-scale-monitor-change
May 24, 2026
Merged

Fix UI scale not updating when switching to a lower-DPI monitor#260
jindrapetrik merged 2 commits into
jindrapetrik:masterfrom
takattowo:fix/dpi-scale-monitor-change

Conversation

@takattowo
Copy link
Copy Markdown
Contributor

I ran into this on a dual-monitor setup, had FFDec open on a 4K monitor, then switched to a regular 1080p monitor and the UI was massive, couldn't click anything. jpexs saves the detected DPI scale to config on first launch. Next time it sees a saved value and skips detection entirely, so it stays at 4K scale even on a lower-DPI screen.

Fix: stop saving the auto-detected scale to config. It now re-detects from the current screen on every launch. Manually configured gui.scale in settings is still respected.

Note: if you've hit this bug before, you may have a stale gui.scale entry in your project.properties config file. Deleting that line will let the fix take effect.

@jindrapetrik jindrapetrik merged commit 3e7b25a into jindrapetrik:master May 24, 2026
1 of 2 checks passed
@jindrapetrik
Copy link
Copy Markdown
Owner

Thank you.

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.

2 participants