Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
5.15.2
-
None
-
windows 10 64bit, qt 5.15.2, vs2019 32bit
Description
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.
Attachments
Issue Links
- relates to
-
QTBUG-54248 createdibsection failed when enlarge the subwindow size and much memory used in main program
- Closed
-
QTBUG-75298 Crash bug due to CreateDibSection Failed when resizing subwindow
- Closed