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

When switching dragmode from RubberBandDrag to ScrollHandDrag while draging is already active in QGraphicsView, the selection is not cleared

    XMLWordPrintable

    Details

      Description

      When switching dragmode from RubberBandDrag to ScrollHandDrag while draging is already active in QGraphicsView, the selection is not cleared. Even changing back to RubberBandDrag does not clear the selection, until dragging is started again. Dragging in ScrollHandDrag mode does not clear the selection either.

      Steps to reproduce:

      • Run attached sample
      • Start dragging to select some area of your choice
      • While dragging is still going on (mouse button is pressed), click Ctrl button to switch the dragging mode
      • EXPECTED: Blue selection area disappears
      • ACTUAL: Blue selection area presists

      You can change the cursor back with shift button for testing purposes.

        Attachments

        1. qtbug65186.png
          qtbug65186.png
          17 kB
        2. qtbug65186.zip
          0.8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              bibr Andreas Aardal Hanssen
              Reporter:
              jussi_witick Jussi Witick
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes