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

MouseArea containsMouse property is broken after drag and drop

    XMLWordPrintable

Details

    • macOS

    Description

      Issues found:

      1. containsMouse property stays true after releasing a drag (it doesn't matter if you dropped it within a drop area or not) outside the mouse area until you move the cursor
      2. containsMouse property of other mouse areas (non-dragged one) will not be updated until you make a mouse click
      3. After releasing the drag, move the cursor, the containsMouse property of the dragged mouse area will be updated to false as mentioned above. But if you click the mouse, then the containsMouse property of the dragged mouse area will be set to true again, and it will stay true until you move the cursor again.
      4. If you drop the drag to a drop area that's also a mouse area, you will need to click that area twice to update the containsMouse property of that mouse area, but the containsMouse property of the dragged mouse area stays true until you move the cursor.

       

      *I have attached a simple example file and a demo video that reveals the problems easily.

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              percy.pan Percy Pan
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes