Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.9.7, 5.12.1
-
None
Description
When HiDPI is enabled for an application, by using QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling), and the application is run on a Windows 10 system with monitors of mixed resolution, such as one at 1920x1080 and another at 3860x2160 scaled to 150%, menu text is initially cutoff.
It is reproducible using the "Menus" QWidget sample: just add QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); before the creation of the QApplication object in main.cpp.