Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
Qt Creator 9.0.0
Description
On my Windows 11 22H2 machine with 125% system scaling the UI of Qt Creator uses fonts which are rendered too big.
This was not happening with Qt 6.4.0
Workaround: I've compiled Qt 6.4.1 with the fix form Qt 6.4.2 and attached the qwindows.dll binary to this bugreport. Just replace the installed version from c:\Qt\qtcreator-9.0.0\bin\plugins\platforms\qwindows.dll and this problem goes away!
Second workaround: Another solution is to use a fonts.css and start Qt Creator as: qtcreator -stylesheet fonts.css
The following fonts.css made the UI font size normal again:
QWidget { font: 9pt; }
Third workaround: Before the QApplication is instantiated this could be called.
QApplication::setDesktopSettingsAware(false);
However, then we might have other issues, related to themeing, which would need to be tackled. Perhaps not worth it for a single patch version of Qt which certainly won't be much used on Windows.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-28508 too big fonts in QtCreator with 200 % display scaling on 4K display
- Closed
-
QTCREATORBUG-28510 Text sizes gone wild
- Closed
-
QTCREATORBUG-28518 Menu fonts too big
- Closed
-
QTCREATORBUG-28519 Some elements are scaled excessively when primary screen has fractional scaling
- Closed
-
QTCREATORBUG-28526 在高DPI显示器上,标题显示不正常
- Closed
-
QTCREATORBUG-28539 Menu and other text are now really large
- Closed
-
QTCREATORBUG-28544 Qtcreator 9.0 gui 界面4k屏幕dpi不匹配
- Closed
-
QTCREATORBUG-28564 The taskbar text, and text within the Project explorer and open documents are far too big, and I don't see a setting to change this.
- Closed
-
QTCREATORBUG-28574 字体实在是太大了
- Closed
- relates to
-
QTBUG-108593 Reg->6.4.1: Windows/High DPI: Fonts are too large on High DPI screen
- Closed
-
QTBUG-109095 The font displayed on the QT creator IDE is too large (there is a resolution problem)
- Closed