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

tst_QGraphicsScene::tabFocus_sceneWithNestedFocusWidgets() is flaky when removing setActiveWindow()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.1
    • None
    • Linux/X11

    Description

      Tst_QGraphicsScene::tabFocus_sceneWithNestedFocusWidgets() is flaky when QApplicationPrivate::setActiveWindow(&widget) is removed. (see black screenshot)

      However if the QTest::qWait(12) is increased to something like QTest::qWait(1500), the test passes every time without any issue.

      NB: Even after qWait, we still have a widget.window()->windowHandle() , as can be verified with QDebug 

       

      Attachments

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

        Activity

          People

            axelspoerl Axel Spoerl
            fredericl Frederic Lefebvre
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes