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

QML drag.filterChildren not working correctly with touch events

    XMLWordPrintable

Details

    • macOS

    Description

      Mouse area fill entire window with drag.target = child small rectangle - when trying to move child rectanlge - if click inside rectangle there is no reaction, no any events, it doesn't move, if click outside it works, it moves etc...
      If inside child rect place another mousearea(reason for using drag.filterChildren) - can move child rect when click inside that small mouse area.
      Video demonstration included:
      1) running on Mac OS X - working correctly: http://youtu.be/degqxZlUc2c
      2) running on iPad Air - not working correctly: http://youtu.be/_emPJYb7KdQ

      Also if i disable drag.filterChildren it working correcly(can move rectangle if click inside it\outside it etc..), but child mouse area's stops responding to clicks (expected behaviour).

      Example of code attached below.

      Attachments

        1. not_working.qml
          0.8 kB
        2. simpler.qml
          0.6 kB
        3. working.qml
          0.9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            rstanislav Stanislav R
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes