Priority: P1: Critical
Affects Version/s: 5.6.0, 5.6.1, 5.7.0 Beta
Fix Version/s: None
Component/s: QPA: X11/XCB
Environment:X11, XCB plugin
Second screen scaled with: xrandr --output DP-1 --scale 2x2
Whenever I connect a monitor with X automatic downscaling, already-running Qt applications fail to update "devicePixelRatio" and start thus showing in tiny, unreadable fonts.
The screenshot shows tests/manual/qscreen dialog of the second monitor. The procedure was:
- Start qscreen
- Connect the monitor, ensuring 3640x2160 virtual resolution
- Start a second qscreen
To emphasise: the dialog on the left is too small; the one on the right is correct.
As you can see, the properties are different. There's no reasonable explanation for them to be different: they have to be the same. So either there's a bug in updating or there's a bug in getting the properties in the first place.