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

QtWidgets (Tree, Table & List) Drag/Drop issues

    XMLWordPrintable

Details

    • Windows

    Description

      frederik

      Yes it's still a problem and it's quite frustrating. Please read this post: 

      stackoverflow

      It contains both problem and solution.  (For tables drag and drop)

      The behavior is really weird and should probably be fixed

       

      I can get the behavior I want, more or less, for extended select, drag and drop, move with QTreeWidget by removing drop flag from entries however even that's a bit buggy. (For instance if you chose to drag items from the bottom of a selected list the order, when dropped to a new location, is often ruined and not preserved

      Also It would be nice if, after one has moved a selection, it keeps that selection instead of removing it. It makes it very visually confusing and it's hard to keep track of what was previously selected in a list. 

       

      Observe: 1) Order Not preserved 2) No visual feedback on prevously selected rows

       (example with QtreeWidget)

        

      This is, you have to admit, odd behavior. The intuitive behavior in this example should have the following order: 1,3,0,2,5,6,7,8,9,4 with 0,2,5,6,7,8,9 remaining selected.

       

      Would be nice if any fixes / improvements made here are also applied to list widgets and table widgets

      Attachments

        Issue Links

          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
              rykari rykari
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes