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

MouseArea not working after Drop

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.1
    • Quick: Other
    • None
    • Ubuntu 18.04, Mac OS 10.14.3 Apple LLVM version 10.0.0 (clang-1000.11.45.5)
    • macOS

    Description

      I extended Qt's draganddrop example, by giving the icons a MouseArea. I want that MouseArea to perform an Action onPressAndHold, but only if the item is not being dragged. This MouseArea works at startup, but if the item is dropped after a drag, the MouseArea is not responding to my clicks anymore. However, after e.g. 5 clicks, it starts responding again. This seems like a bug to me.

      To reproduce this behaviour, execute the attached file, and click on the icons before, and after dragging. If a click was successull, you will see an output via console.log

      Attachments

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

        Activity

          People

            w00t Robin Burchell
            maxwell31 James Maxwell
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes