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

QML Drawer: Drag and Drop freeze with mouse position on the left edge

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.9.3
    • None
    • Windows 10 64 Bit
      Desktop Qt 5.9.3 MinGW 32 Bit

    Description

      Hello

      I've attached a app example (zip-File) and a screenshot "DrawerDragDrop"

      First a few short info:
      There are two Drawer. Both with a grey rectangle as background. The Drawer with the green border overlays the drawer with the blue border. Each drawer contains a ListView with smiley icons. The dragMargin of the drawer with green border is 0 and 0.66 for the drawer with the blue border.

      Now please make a Drag an Drop like on the screenshot. Please make a pressAndHold on a red Smiley from the right ListView and drop it directly over one smiley in the left ListView. If the mouse position is directly at the left edge of the appWindow our outside the appWindow on the left edge and I will make the Drop then the Drop freeze. I don't reach the OnReleased-Event in this case. The dragged smiley will stay in this position. The dragMargin of the drawer with green border is 0.
      There is the same problem if the dragMargin would be > 0. For example 0.5. In this case it's sufficient to drop the item a little bit
      right of the edge.

      If I make DragDrop with a smiley only inside the left ListView there is no problem. Also if mouse
      is at the left edge or outside the appWindow on the lefte edge.

      With this behavior I can't use a drawer.

      Best regards

      Snoopy

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            snoopy snoopy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes