Moving the window to another screen might change its device pixel ratio. In this case we need to update windows size hints to scale hints like minimum and maximum window size.
Steps to reproduce:
- run the sample application from
QTBUG-80323on screen with DPR 2.0,
- move the application to screen with DPR 1.0,
- try to resize the window to its minimum or maximum.
This bug is partially-dependent on