Skip to content

Fix window content stretching on Linux/Windows with non-100% display scaling - #180

Closed
WilliamBleass wants to merge 1 commit into
free-audio:mainfrom
BLEASS:dpi-fix
Closed

Fix window content stretching on Linux/Windows with non-100% display scaling#180
WilliamBleass wants to merge 1 commit into
free-audio:mainfrom
BLEASS:dpi-fix

Conversation

@WilliamBleass

Copy link
Copy Markdown
Contributor

Updating to JUCE 9 caused window content to be stretched on Linux and Windows when the screen scaling factor differed from 100%.

Before fix — VST3 (top-left) vs. CLAP (bottom-right) at 150% scaling:

dpi-issue

Fix: Calling setCustomPlatformScaleFactor(1.0); for both platforms resolves the issue.

Tested on:

Bitwig and Reaper — Ubuntu 26.04
Bitwig and Reaper — Windows 11

Updating to JUCE 9 caused the window content to be stretched on Linux and Windows when screen scaling differed from 100%
@WilliamBleass

Copy link
Copy Markdown
Contributor Author

Closing this since it was also fixed by #183

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