Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.3.2, 6.5.3, 6.6.1
-
None
Description
Observation:
The mouse up event concluding a drop and drop operation does not contain the originating button id, and leads to undefined behavior in code, which is relying on complete informations about which button was released.
Analysis:
The root cause is the button id to be hardcoded to Qt::NoButton, see: https://github.com/qt/qtbase/blob/6.6.1/src/plugins/platforms/cocoa/qnsview_dragging.mm#L289
Attached:
Proposed patch (this is based on 6.5.3, but should be no problem to apply to earlier or later Qt revisions, even if maybe not completely conflict-free)
EDITED - sorry I had the attachment wrongly labelled as 6.3.2-based, which is corrected now.