Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
4.3.0
-
None
Description
The tst_QWidget::activation() fails on Vista (#1320)
#if defined(Q_WS_WIN)
if (QSysInfo::WindowsVersion > Qt::WV_XP)
QEXPECT_FAIL("", "MS introduced new behavior after XP", Continue);
#endif
QVERIFY(qApp->activeWindow() == &widget2);
Currently this is marked as an expected failure for 2003 & above. This seems like a change in Policy change on Windows OS side from 2003/Xp64 onwards. This can be fixed on vista with the following fix, we have to decide whether to change like this or add a new show() which accepts State as a parameter
==== //depot/qt/4.3/src/gui/kernel/qwidget.cpp#40 - c:\depot\qt-4.3\src\gui\kernel\qwidget.cpp ====
@@ -2303,7 +2303,8 @@
setWindowState(windowState() & ~(Qt::WindowMinimized
Qt::WindowMaximized
|
Qt::WindowFullScreen)); + |
Qt::WindowFullScreen) + |
Qt::WindowActive); show(); } |