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

tst_qwidget widgetAt should ensure that window is not left lowered

    XMLWordPrintable

Details

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

    • eda77331

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes