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

PathView cannot be dragged exactly horizontally or vertcally

    XMLWordPrintable

Details

    • 44d5bcde1713a5f51b7140259e9fd4e426a868a8

    Description

      PathView requires some amount of diagonal movement in order for a drag to be initiated. This is because this code accidentally uses && rather than ||:

              if (qAbs(delta.x()) > QApplication::startDragDistance() && qAbs(delta.y()) > QApplication::startDragDistance())
                  d->stealMouse = true;
      

      Attachments

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

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            martjone Martin Jones (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes