Multi-screen window move problem
-
I develop Qt for years, But recently I found something funny. When I add a screen to my laptop, and then move a Qt application to the second screen(not the prime one which you set), after max the widget, there is some information box show that words:
Debug Error!Program: F:\hugekq\mdTool_Share\win32\bin\Debug\Qt5Cored.dll
Module: 5.4.1
File: global\qglobal.cpp
Line: 2868ASSERT: "!rect.isEmpty()" in file kernel\qwidgetbackingstore.cpp, line 582
(Press Retry to debug the application)
I think I didn't meet this problem before. Does anybody meet this ? and how to avoid this?
By the way, It's only take place at debug model, that's fine with release, and even at debug, you can just ignor this, and the application will be fine.
I don't know whether this is a bug or not, just make some voice.
-
Hi,
You should also add which version of Windows you are using as well as compiler.
-
Sounds like you've been hit by QTBUG-43489.
It's supposed to be fixed in 5.4.2. Can you update and check? -
@Chris-Kawa Your post just what I am meet with. Thank you.