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

Mousearea onClicked event is being fired after flickable event completed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.7.0
    • None

    Description

      I'm using a listview with a list of menu items on a touch screen display. When I flick up and down the menu moves, but when I lift my fingers, the mousearea events fires off and generates a onClicked event which then opens the menu item. So the menu item is being opened every time I lift my finger. It's supposed to open when I to an actual click on it.

      Error case : When a click is triggered at end of scroll
      MouseArea - entered
      MouseArea - pressed
      MouseArea - positionChanged
      this will be triggered multiple-times
      FlickArea - movementStarted
      MouseArea - canceled
      FlickArea - movementEnded
      MouseArea - entered
      MouseArea - pressed
      MouseArea - positionChanged
      this will be triggered multiple-times
      MouseArea - released
      MouseArea - clicked // click-event is being raised here at end of scroll
      MouseArea - exited

      Correct case :
      MouseArea - entered
      MouseArea - pressed
      MouseArea - positionChanged
      this will be triggered multiple-times
      FlickArea - movementStarted
      MouseArea - canceled
      FlickArea - movementEnded

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            johnwu71 John Wu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes