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

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

      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

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

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

              Created:
              Updated:

                There are no open Gerrit changes