Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
6.5.2
-
None
-
Windows 10 / 11
Description
Symptom
On some monitors with split-screen function, only one of the two screens is returned by QGuiApplication::screens().
This leads to calculation errors when moving windows to the non-delivered screen.
Example
affected display: Philips 499P9H
Diagnostic
call qtdiag from Qt5 and Qt6 on same computer
Qt5.15.15 | Qt6.5.2 |
---|---|
Screens: 2, High DPI scaling: inactive
|
Screens: 1, High DPI scaling: inactive
|
Code analyze shows up that someone changed the identification method in indexOfMonitor from former Qt5 QWindowsScreenData::name to Qt6 QWindowsScreenData::serialNumber. But this fails on displays that returns the same serial for both screens of one physical display (like Philips do).
Suggestion
Change the identification method back again to QWindowsScreenData::deviceName because this is made unique by windows.
Attachments
Issue Links
- duplicates
-
QTBUG-116499 Use of edid serial number in qwindowsscreen.cpp is broken
- Closed