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

QML TestCase : Consecutive mousePress (i.e. left then right) without mouseRelease in between fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.16
    • Testing: QuickTest
    • None
    • Linux/X11

    Description

      Hi

      I use QML MouseArea and in this test case, I would like to ensure that pressing one mouse button during a drag of the other mouse button behaves as exepected, i.e. :

      "

      mousePress(item, x, y, Qt.LeftButton)

      // check stuff

      mousePress(item, x, y, Qt.RightButton)

      // check stuff

      mouseRelease(item, x, y, Qt.RightButton)

      // check stuff

      mouseRelease(item, x, y, Qt.LeftButton)

      // check stuff

      "

      But the second mousePress don't trigger any expected event.

      Here is a minimal code example to reproduce the problem.

      This problem may be already reported but I didn't find it...

      Thanks in advance for you investigation !

      Maxihm

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            maxihm Maxime Guillon
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes