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

tst_qwidget widgetAt should ensure that window is not left lowered

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.6.0
    • None
    • None
    • Symbian OS

    • eda77331

      The widgetAt test case currently fails at the following point:

      ...
      w2->lower();
      qApp->processEvents();
      QTRY_VERIFY((wr = QApplication::widgetAt(100, 100)));
      QCOMPARE(wr->objectName(), QString("w1")); // <--- fails here
      
      w2->raise();
      qApp->processEvents();
      QTRY_VERIFY((wr = QApplication::widgetAt(100, 100)));
      QCOMPARE(wr->objectName(), QString("w2"));
      ...
      

      This means that the call to QWidget::raise is not executed. This causes several following tests to fail.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            gastockw Gareth Stockwell
            gastockw Gareth Stockwell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes