Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.5.2
-
None
Description
To reproduce this issue, the device must have two screens connected (not all displays reproduce this issue) and be running Windows (reproduce on both 10 and 11).
Steps to reproduce:
- Connect both displays to the device
- Extend the displays
- Run the code below
- It will only show the secondary screen
We were able to reproduce the issue on these displays:
- LG 22mp55, 1920x1080, 48cm x 27cm, 100%, 59.940hz
- LG 25'' Ultrawide, 1920x1080, 25'', 100%, 60.000hz
- LG E2241, 1920x1080, 48cm x 27cm, 100% , 60.000hz
- LG 23mb35, 1920x1080, 51cm x 29cm, 100%, 60.000hz
- LG 23ea53, 1920x1080, 51cmx29cm, 100%, 60.000hz
The minimum code to reproduce:
int main(int argc, char** argv) { QApplication a(argc, argv); const auto screens = QApplication::screens(); qDebug() << "*** Qt screens ***"; for (int ii = 0; ii < screens.count(); ++ii) { qDebug() << ii + 1 << screens[ii]->geometry(); } qDebug() << "*** End ***"; return 0; }
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-116969 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
588754,1 | WIP: Windows: Make indexOfMonitor more resilient against duplicates | dev | qt/qtbase | Status: NEW | -2 | 0 |