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

Wrong documentation of TestCase::mouseDrag

    XMLWordPrintable

Details

    • dfb3ccddfce6376cf8028ad31d6933b8fdfd1a47 (qt/qtdeclarative/5.12)

    Description

      The docs of TestCase::mouseDrag say "Note: this method does not imply a drop action, to make a drop, an additional mouseRelease(item, x + dx, y + dy) is needed."

      However, you can find that exact line at the end of the function.

      Additionally, it says "If \a delay is specified, the test will wait for the specified amount of milliseconds before releasing the button."

      However, that delay is also used when pressing the button, and before each of the intermediate moves.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            karyon karyon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes