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

nextCheckState() is not triggered if QTest::mouseClick() is called

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.2.0
    • Fix Version/s: None
    • Component/s: Testing: qtestlib
    • Labels:
      None

      Description

      Normally when I click on a Button then nextCheckState() is triggered. But QTest::mouseClick() triggers a mouse press and a mouse release event. The nextCheckState() is only called in the QAbstractButton::click() function which is never reached from a QTest command/function

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              paeglis Gatis Paeglis
              Reporter:
              roman80 Roman W├╝ger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes