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

[reg 5.11->5.15] No longer possible to start a drag from item views with a double-click

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.15.2, 6.1.0
    • Fix Version/s: 6.1.2, 6.2.0 Alpha
    • Component/s: Widgets: Itemviews
    • Labels:
      None
    • Commits:
      17c1ebf8bfd254ff75cc55e335d1c1fb01da547f (qt/qtbase/dev) cc02da23a849315aa777ac4464b34caa4f4d0e7a (qt/qtbase/6.1) 1a6d5521766baf0e05688a028643df0f8695c1ff (qt/tqtc-qtbase/5.15)

      Description

      In an item view with MultiSelection and drag enabled, a double click + move on an item used to first select the item, and then start the drag. This is expected behavior.

      After the fix for QTBUG-77771 this is no  longer the case: the move following the second press now expands the selection instead. The pressedIndex is reset by the change, so the drag'n'drop logic won't start the drag.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              vhilshei Volker Hilsheimer
              Reporter:
              vhilshei Volker Hilsheimer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes