Skip to content

[win] Implement display's serial number and model in QScreen

The information is fetched from the EDID information stored in the registry. EDID's "name" descriptor is mapped to QScreen::model() and EDID's "serial" descriptor is mapped to QScreen::serialNumber().

When extended display sections are not available for these values, the algorithm falls back to the values from the header: QScreen::model() is assigned with "<Manufacturer product code (hex)>", and QScreen::serialNumber() is assigned with "<Serial number(hex)>".

When one virtual screen is linked to two physical displays, their name and serial values and concatenated with '|' symbol.

Merge request reports