helloSystem / helloSystem/KWin

Does not obey QT_SCALE_FACTOR, hence breaks HiDPI

Open
#3 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
4
Forks
3
PR merge metrics
No merged PRs in 30d

Description

We are exporting `QT_SCALE_FACTOR=2` to switch into HiDPI mode.

However, KWin does not obey this.
In fact, looking at the source code, it seems to me it intentionally unsets this variable?

https://github.com/KDE/kwin/blob/9f41691684ffa2f42f09cfb8a24ec23fc146fe27/src/main_x11.cpp#L416

As a result, title bars and other window decorations do not scale; unlike the rest of Qt.

https://phabricator.kde.org/D20234 confirms the suspicion that it _intentionally_ does not follow `QT_SCALE_FACTOR` since

> Qt scaling and kwin on X11 is never going to work so it is disabled.

Why is it working for all of Qt but not for KWin?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.