Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandr Miloslavskiy2021-12-17 02:48:26 +0000
committerLakshmi P Shanmugam2022-01-19 14:32:30 +0000
commit2877c6f01e543ebf096df88aabb4420f908e5736 (patch)
tree822fb407d4f8e42b1c8c5bd4e5f8e6dede2ee57a /examples/org.eclipse.swt.examples.watchdog/.settings
parenta82e082bd8d733741ffffb3808d85657fd3ffaa3 (diff)
downloadeclipse.platform.swt-master.tar.gz
eclipse.platform.swt-master.tar.xz
eclipse.platform.swt-master.zip
Bug 577858 - [cocoa] Table/Tree drag&drop incorrectly starts even if DND.DragStart returns event.doit=falseHEADmaster
The side effect of this patch is that when drag is canceled, moving mouse while holding the button selects items under it. This is different from what happens on Windows/Linux, where canceled drag ignores further mouse movements. But oh well, I guess that's what macOS chooses to do in this case. Apple documentation for 'outlineView:writeItems:toPasteboard:' says [1]: To refuse the drag, return NO. To start a drag, return YES and place the drag data onto the pboard [1] https://developer.apple.com/documentation/appkit/nsoutlineviewdatasource/1532910-outlineview?language=objc Change-Id: I2c1e997ba5e6195b9758c06ea9bf0496ef7c7a56 Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/188976 Tested-by: Platform Bot <platform-bot@eclipse.org> Tested-by: Lakshmi P Shanmugam <lshanmug@in.ibm.com> Reviewed-by: Lakshmi P Shanmugam <lshanmug@in.ibm.com>
Diffstat (limited to 'examples/org.eclipse.swt.examples.watchdog/.settings')
0 files changed, 0 insertions, 0 deletions

Back to the top