At least one test requires the physical size to be set.
- Group Reviewers
- R108:95cb47cae2ae: [platforms/virtual] Set raw physical size of outputs
Lock screen screen edges test is passing again. Without the change the corner
offset in the ScreenEdges class is not calculated correctly via the
physicalDpiX() and physicalDpiY() values of an auxilliary QWidget.
This is in mm.
Which gives this virtual screen a DPI of 25.4, it still works but it's a bit unrealistic.
Might be better to just set an arbitrary sensible QRect.
For the tests it does not make a difference, but yea kind of unrealistic. I will push this here as a quick fix, but we should in the future expand this class in general for better tests of (auto-)scaling. With the new structure this should then translate directly to the DRM backend.