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

Windows 8: When touching a mouse area in Qt Quick 2 then it will get two clicked events when a touch screen is involved

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.1
    • Labels:
      None
    • Environment:
      Windows 8

      Description

      Windows 8: When touching a mouse area in Qt Quick 2 then there are problems with the events that are generated from it as they are not correct or in the wrong order.

      This is related to QTBUG-29946 which solved this in some cases, the problem still exists for Qt Quick 2 but works fine in Qt Quick 1.

      It will get two clicked events when a touch screen is involved. All that is needed is for something like:

      onClicked: { // or onPressed: 
      console.log(“touched mouse area”) 
      } 
      

      to be used and it will output the message twice when clicked once on a touch screen.

      In other similar case, if a pinch is performed then it will output a click event after the pinch has finished sometimes, this seems related to the above situation too.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              aalpert Alan Alpert
              Reporter:
              andysh Andy Shaw
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes