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

QT: EnableHighDpiScaling is breaking ui on Linux #58

Open
beatreichenbach opened this issue Oct 7, 2023 · 1 comment
Open

QT: EnableHighDpiScaling is breaking ui on Linux #58

beatreichenbach opened this issue Oct 7, 2023 · 1 comment
Labels
community Issues and PRs coming from the community members

Comments

@beatreichenbach
Copy link

The AA_EnableHighDpiScaling attribute being set on the QApplication on startup is breaking the UI on Linux Rocky 8.7 on a couple different 2560x1440 screens.

I have not found any reason for this yet, it seems to not accurately calculate size hints with this setting on. The addons run through the dcc QApplications run fine.

"AA_EnableHighDpiScaling",

login_broken

@MustafaJafar MustafaJafar added the community Issues and PRs coming from the community members label Feb 7, 2024
@beatreichenbach
Copy link
Author

Another workaround is setting an environment variable QT_FONT_DPI=96.

I think for now I will use this, until I run into issues with 4k screens. I believe this is only an issue with X and might disappear on Wayland.

More information here:

https://stackoverflow.com/questions/59947058/why-doesnt-qtaa-disablehighdpiscaling-disable-high-dpi-scaling-and-why-does

https://bugreports.qt.io/browse/QTBUG-67928

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Issues and PRs coming from the community members
Projects
None yet
Development

No branches or pull requests

2 participants