Confirmed. This is an issue on macOS only, as this function works in Windows and on Linux. This was broken with 8a28bd8, specifically with the changes to Score::dragEnterEvent(). For some reason, on macOS, event->possibleActions()& Qt::CopyAction evaluates to false, even though event->dropAction()== Qt::CopyAction, so event->accept() is never called. I have a fix for this, which can be found here: https://github.com/musescore/MuseScore/pull/5433.
ScoreView::dragEnterEvent() must call event->accept() if event->dropAction() == Qt::CopyAction, even if for some reason (event->possibleActions() & Qt::CopyAction) evaluates to false, as is the case on macOS._
Comments
Confirmed. This is an issue on macOS only, as this function works in Windows and on Linux. This was broken with 8a28bd8, specifically with the changes to
Score::dragEnterEvent()
. For some reason, on macOS,event->possibleActions() & Qt::CopyAction
evaluates tofalse
, even thoughevent->dropAction() == Qt::CopyAction
, soevent->accept()
is never called. I have a fix for this, which can be found here: https://github.com/musescore/MuseScore/pull/5433.Fixed in branch master, commit 48a2591bc3
_fix #296127: Can't use CMD+SHIFT+Drag to copy on Mac
Resolves: https://musescore.org/en/node/296127.
ScoreView::dragEnterEvent() must call event->accept() if event->dropAction() == Qt::CopyAction, even if for some reason (event->possibleActions() & Qt::CopyAction) evaluates to false, as is the case on macOS._
Fixed in branch master, commit 1f563d32f1
_Merge pull request #5433 from mattmcclinch/296127-cmd-shift-drag
fix #296127: Can't use CMD+SHIFT+Drag to copy on Mac_
Fixed in branch 3.3, commit 7a239cbcd9
_Merge pull request #5433 from mattmcclinch/296127-cmd-shift-drag
fix #296127: Can't use CMD+SHIFT+Drag to copy on Mac_
Automatically closed -- issue fixed for 2 weeks with no activity.