2bbf86c524
A long-standing Apple bug does not call `prepareForDragOperation:sender` for file drag-and-drop operations from the Dock. So we manually call our custom `handleDrop:sender` for all drag-and-drop cases (that is, from the Dock and from Finder). References to the bug in question: - http://stackoverflow.com/q/9534543/3309046 - http://openradar.appspot.com/radar?id=1745403 However, we still need to return YES from `prepareForDragOperation:sender`, otherwise the "drag failed" animation occurs. For the same reason, we also return YES from `performDragOperation:sender`. |
||
---|---|---|
.. | ||
cocoa | ||
views | ||
win | ||
x | ||
accelerator_util.cc | ||
accelerator_util.h | ||
accelerator_util_mac.mm | ||
accelerator_util_views.cc | ||
atom_menu_model.cc | ||
atom_menu_model.h | ||
file_dialog.h | ||
file_dialog_gtk.cc | ||
file_dialog_mac.mm | ||
file_dialog_win.cc | ||
message_box.h | ||
message_box_gtk.cc | ||
message_box_mac.mm | ||
message_box_win.cc | ||
tray_icon.cc | ||
tray_icon.h | ||
tray_icon_cocoa.h | ||
tray_icon_cocoa.mm | ||
tray_icon_gtk.cc | ||
tray_icon_gtk.h | ||
tray_icon_observer.h | ||
tray_icon_win.cc |