my comuter OS is window10 64bit, QT version is 5.15.2, Compiler is msvc2019 32bit, IDE is vs2019, qt addin version is 2.7.1。
it has two screen。
the first screen is 4K, scaling ratio is:250%,screen resolution is 3840*2160。
the second screen is normal LED screen, scaling radio is:100%, screen resolution is 1920*1280。
When I move my app window from second screen to first second, the app will auto quit,vs2019 will show the qt crash stack.
the param of size is 2750*1800(QBackingStore::resize(const QSize &size),but the param of size change to 6875*4500(QWindowsBackingStore::resize(const QSize &size, const QRegion ®ion)。6875*4500 is more than 3840*2160(the first screen resolution), it is over the screen max width and height。
so i think funtion of QHighDpi::toNativePixels not judge the size of the current screen max width and height.