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

QSignalSpy::wait() does not always report success when a signal has been emitted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.14.1
    • Testing: qtestlib
    • None
    • macOS 10.15
    • macOS

    Description

      When there are multiple QSignalSpys operating on the same object, then it seems that the second QSignalSpy that has wait() called on it does not return true even though the signal itself has been emitted.

      Attached is an example where the released spy is failing even when the signal is clearly emitted. This is using QtQuickControls2 as a means of reproducing because it is not consistently happening all the time (since other tests are working fine with a similar approach).

      Attachments

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

        Activity

          People

            macadder Jason McDonald
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes