Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-66756

tst_QWindow::testInputEvents() failed on Windows 10 (msvc2017-x86)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.9.5
    • Fix Version/s: None
    • Labels:
    • Environment:
      Windows 10 (msvc2017-x86) - DebugAndRelease, Release, ForceDebugInfo, OpenGLDynamic, AbortTestingOnFirstFailure

      Description

      https://codereview.qt-project.org/#/c/221603/ Install libusbx-devel for QDB on RHEL 7.4
      https://codereview.qt-project.org/#/c/221560/ Update submodules on '5.9' in qt5

      https://testresults.qt.io/coin/integration/qt/qt5/tasks/1519946133

      https://testresults.qt.io/logs/qt/qtbase/50bd1c7c79036491ae4ab53e42d4d220793b4782/WindowsWindows_10x86WindowsWindows_10x86MSVC2017qtci-windows-10-x86-6-f19b13DebugAndRelease_Release_ForceDebugInfo_OpenGLDynamic/2a48a3b7dcb9652b1532a3ad14de7580b5b9b1ee/test_1519946292/log.txt.gz

      ********* Start testing of tst_QWindow *********
       Config: Using QtTest library 5.9.5, Qt 5.9.5 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2017)
       PASS   : tst_QWindow::initTestCase()
       QDEBUG : tst_QWindow::testInputEvents() [     0.008 D] qt.qpa.windows unknown - QWindowsContext::registerWindowClass "Qt5QWindowIcon" style=0x8 brush=0x110007b icon=true atom=49569
       QDEBUG : tst_QWindow::testInputEvents() [     0.008 D] qt.qpa.windows unknown - QWindowsGeometryHint::frame style=0x86cf0000 exStyle=0x0 RECT(left=-8, top=-31, right=8, bottom=8 (16x39)) QMargins(8, 31, 8, 8)
       QDEBUG : tst_QWindow::testInputEvents() [     0.008 D] qt.qpa.windows unknown - QWindowCreationContext::QWindowCreationContext QWindow(0x1df3a4) QRect(80,80 200x200) pos incl. frame=false frame=216x239+72+49 min=QSize(0, 0) max=QSize(16777215, 16777215) custom margins=QMargins(0, 0, 0, 0)
       QDEBUG : tst_QWindow::testInputEvents() [     0.008 D] qt.qpa.windows unknown - CreateWindowEx: QWindow(0x1df3a4) class="Qt5QWindowIcon" title="tst_qwindow"
       WindowCreationData: QFlags<Qt::WindowType>(Window|WindowTitleHint|WindowSystemMenuHint|WindowMinMaxButtonsHint|WindowCloseButtonHint)
         topLevel=true popup=false dialog=false embedded=false tool=false
         style=0x86cf0000 WS_POPUP WS_CLIPSIBLINGS WS_CLIPCHILDREN WS_THICKFRAME WS_DLGFRAME WS_SYSMENU WS_MINIMIZEBOX WS_MAXIMIZEBOX
       requested: QRect(80,80 200x200): 216x239+72+49 custom margins: QMargins(0, 0, 0, 0)
       QDEBUG : tst_QWindow::testInputEvents() [     0.010 D] qt.qpa.windows unknown - >QWindowsGeometryHint::applyToMinMaxInfo< min=0,0 max=16777215,16777215 in MINMAXINFO maxSize=1296,816 maxpos=-8,-8 mintrack=136,39 maxtrack=1300,820
       QDEBUG : tst_QWindow::testInputEvents() [     0.010 D] qt.qpa.windows unknown - QWindowsGeometryHint::frame style=0x86cf0000 exStyle=0x0 RECT(left=-8, top=-31, right=8, bottom=8 (16x39)) QMargins(8, 31, 8, 8)
       QDEBUG : tst_QWindow::testInputEvents() [     0.010 D] qt.qpa.windows unknown - <QWindowsGeometryHint::applyToMinMaxInfo frame=QMargins(8, 31, 8, 8) 16,39 out MINMAXINFO maxSize=1296,816 maxpos=-8,-8 mintrack=136,39 maxtrack=1300,820
       QDEBUG : tst_QWindow::testInputEvents() [     0.013 D] qt.qpa.windows unknown - CreateWindowEx: returns QWindow(0x1df3a4) 0x7f0306 obtained geometry: QRect(80,80 200x200) QMargins(8, 31, 8, 8)
       QDEBUG : tst_QWindow::testInputEvents() [     0.014 D] qt.qpa.windows unknown - QWindowsIntegration::createPlatformWindow QWindow(0x1df3a4)
           Requested: QRect(80,80 200x200) frame incl.=false QFlags<Qt::WindowType>(Window)
           Obtained : QRect(80,80 200x200) margins=QMargins(8, 31, 8, 8) handle=0x7f0306 QFlags<Qt::WindowType>(Window|WindowTitleHint|WindowSystemMenuHint|WindowMinMaxButtonsHint|WindowCloseButtonHint)
       
       QDEBUG : tst_QWindow::testInputEvents() [     0.014 D] qt.qpa.mime unknown - QWindowsWindow::setDropSiteEnabled QWindow(0x1df3a4) true
       QDEBUG : tst_QWindow::testInputEvents() [     0.014 D] qt.qpa.mime unknown - QWindowsOleDropTarget::QWindowsOleDropTarget 0x259920 QWindow(0x1df3a4)
       QDEBUG : tst_QWindow::testInputEvents() [     0.031 D] qt.qpa.windows unknown - QWindowsWindow::setVisible 0x225208 QWindow(0x1df3a4) 0x7f0306 true
       QDEBUG : tst_QWindow::testInputEvents() [     0.070 D] qt.qpa.windows unknown - QWindowsScreen::windowAt QPoint(479,130)  returns  QWindow(0x0)
       QDEBUG : tst_QWindow::testInputEvents() [     0.071 D] qt.qpa.windows unknown - QWindowsScreen::topLevelAt QPoint(479,130) QWindow(0x0)
       QDEBUG : tst_QWindow::testInputEvents() [     0.071 D] qt.qpa.windows unknown - QWindowsScreen::windowAt QPoint(479,130)  returns  QWindow(0x0)
       QDEBUG : tst_QWindow::testInputEvents() [     0.071 D] qt.qpa.windows unknown - QWindowsScreen::topLevelAt QPoint(479,130) QWindow(0x0)
       QDEBUG : tst_QWindow::testInputEvents() [     0.071 D] qt.qpa.windows unknown - QWindowsScreen::windowAt QPoint(479,130)  returns  QWindow(0x0)
       QDEBUG : tst_QWindow::testInputEvents() [     0.071 D] qt.qpa.windows unknown - QWindowsScreen::topLevelAt QPoint(479,130) QWindow(0x0)
       QDEBUG : tst_QWindow::testInputEvents() [     0.072 D] qt.qpa.windows unknown - QWindowsScreen::windowAt QPoint(92,114)  returns  QWindow(0x0)
       QDEBUG : tst_QWindow::testInputEvents() [     0.072 D] qt.qpa.windows unknown - QWindowsScreen::topLevelAt QPoint(92,114) QWindow(0x0)
       QDEBUG : tst_QWindow::testInputEvents() [     0.072 D] qt.qpa.windows unknown - QWindowsScreen::windowAt QPoint(92,114)  returns  QWindow(0x0)
       QDEBUG : tst_QWindow::testInputEvents() [     0.072 D] qt.qpa.windows unknown - QWindowsScreen::topLevelAt QPoint(92,114) QWindow(0x0)
       QDEBUG : tst_QWindow::testInputEvents() [     0.073 D] qt.qpa.windows unknown - QWindowsScreen::windowAt QPoint(92,114)  returns  QWindow(0x0)
       QDEBUG : tst_QWindow::testInputEvents() [     0.073 D] qt.qpa.windows unknown - QWindowsScreen::topLevelAt QPoint(92,114) QWindow(0x0)
       FAIL!  : tst_QWindow::testInputEvents() Compared values are not the same
          Actual   (window.mousePressButton): 0
          Expected (int(Qt::LeftButton))    : 1
       tst_qwindow.cpp(1042) : failure location
       QDEBUG : tst_QWindow::testInputEvents() [     0.073 D] qt.qpa.windows unknown - QWindowsWindow::setVisible 0x225208 QWindow(0x1df3a4) 0x7f0306 false
       QDEBUG : tst_QWindow::testInputEvents() [     0.088 D] qt.qpa.windows unknown - QWindowsWindow::destroyWindow 0x225208 QWindow(0x1df3a4) 0x7f0306
       QDEBUG : tst_QWindow::testInputEvents() [     0.089 D] qt.qpa.mime unknown - QWindowsWindow::setDropSiteEnabled QWindow(0x1df3a4) false
       QDEBUG : tst_QWindow::testInputEvents() [     0.089 D] qt.qpa.mime unknown - QWindowsOleDropTarget::~QWindowsOleDropTarget 0x259920
       PASS   : tst_QWindow::cleanupTestCase()
       Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 88ms
       ********* Finished testing of tst_QWindow *********
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tosaraja Tony Sarajärvi
                Reporter:
                liaqi Liang Qi
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: