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

macOS: Key modifiers aren't ignored when dragging 'within the application'

    XMLWordPrintable

Details

    • macOS
    • 7740ac36d (dev), c39a944e7 (6.9), 155e81418 (6.8), 24c846bd4 (tqtc/lts-6.5)

    Description

      This was broken by QTBUG-99471.

      When running the draggableicons example on macOS I can force a move by pressing cmd and force a copy by pressing alt. On Windows and Linux this is not possible (as expected).

      Note that the fix for QTBUG-99471 wrongly assumes that sourceOperationMaskForDraggingContext is called for whichever context something is dragged to. In my tests sourceOperationMaskForDraggingContext was always called twice when starting a drag, first with NSDraggingContextWithinApplication and then with NSDraggingContextOutsideApplication.

      Attachments

        Issue Links

          Activity

            People

              tpochep Timur Pocheptsov
              simon.geisseler Simon Geisseler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: