Hi I have a custom view inside of a status item. I implemented a drag and drop and it all works but when dragging from a dock stack, all of the dragging methods are called except for -performDragOperation:
and prepareForDragOperation:
Asked
Active
Viewed 1,415 times
7

Alex Zielenski
- 3,591
- 1
- 26
- 44
-
Same issue here, at least on Snow Leopard. Pretty odd. – AriX Oct 07 '12 at 18:58
-
1See related question and workaround here: http://stackoverflow.com/questions/9534543/weird-behavior-dragging-from-stacks-to-status-item-doesnt-work – Levi Nunnink Jan 07 '13 at 05:31
1 Answers
3
Does draggingEnded: get called? If so, just call it from there.
I know the issue from NSStatusItem. There's the same problem

IluTov
- 6,807
- 6
- 41
- 103
-
1Important: Remember to use the code from [this related answer](http://stackoverflow.com/questions/9534543/weird-behavior-dragging-from-stacks-to-status-item-doesnt-work) to check for cursor position when doing this workaround, else the drop will be performed even if the user drags the item away from the status item. – Marco Aurélio Sep 11 '13 at 20:59