Here's the debug info:
Code:
Debug: Primary Screen: "LG FHD (1)" "LG Electronics" "16843009"
Debug: geo : QRect(1920,0 1920x1080)
Debug: avail geo: QRect(1920,0 1920x1040)
Debug: devideRatio: 1
Debug: logical dpi: 96 96
Debug: physic dpi: 81.28 80.6824
Debug:
All Screens
Debug: Screen: 0 "LG FHD (1)" "LG Electronics" "16843009"
Debug: geo : QRect(1920,0 1920x1080)
Debug: avail geo: QRect(1920,0 1920x1040)
Debug: devideRatio: 1
Debug: logical dpi: 96 96
Debug: physic dpi: 81.28 80.6824
So it looks like it knows there IS a primary monitor, but because all the other info is identical it doesn't know WHICH one that is. I've readded the "FrienldyName" keys and it's not recording that in your debug log.
[Edit] I'm wondering where that "LG FHD" name is coming from (not the registry, apparently) since that may be the "name" it's looking for.
[Edit 2] Okay, I've found it in a different spot in the registry. I'm going to do something stupid...
[Edit 3] I tried renaming them and restarted but the name reverted. Worth a try I guess.
Quote:
Originally Posted by KevinH
@Vanguard3000,
I have been reading the code in Qt6.5.2 in qwindowsscreen.cpp and it appears the serialnumber for each monitor is extracted from an edidRegistryKey in the Windows registry.
|
The monitors have a registry EDID key in a "device parameters" subfolder within the monitor's folder (i.e.
"HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\DISP LAY\GSM5BCA\5&96b30e3&0&UID4352\Device Parameters"
). Both EDID entries are identical as well.