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

Clean redundant requestActivate() QtBase/QtDeclarative

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • None
    • Other
    • None
    • All
    • 10b5ce432 (dev), 49dbf10d6 (6.10), 3064c33b0 (6.9), cdb016647 (tqtc/lts-6.8), d1f70d8a9 (tqtc/lts-6.5), 5d433b781 (dev), 8036ab33f (dev), 206bd055e (6.10), 5b568650b (6.10), 96322d663 (tqtc/lts-6.8), 752dadcad (tqtc/lts-6.8)

      Many tests call requestActivate() immediately after show().
      However, this is often redundant because show() should already activate the window.

      If the window is not activated after show() , instead of calling requestActivate() , add:

        QVERIFY(QTest::qWaitForWindowActive(someWindow)) after show().

       

        For Gerrit Dashboard: QTBUG-139705
        # Subject Branch Project Status CR V

            fredericl Frederic Lefebvre
            fredericl Frederic Lefebvre
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are 23 open Gerrit changes