Hello,

when I drag my window around by clicking into the toolbar area and drag from there, and I do very rapid up-down movements across the entire screen, sometimes AppKit - mistakenly - sends a -mouseDragged: to my view situated below the toolbar. The call stack looks like this:

#1      0x0000000103617e99 in -[SomeView mouseDragged:] at /SomeView.m:209
#2      0x00007fff8c9b070d in -[NSObject performSelector:withObject:] ()
#3      0x00007fff97d7cf6a in forwardMethod ()
#4      0x00007fff8c9b070d in -[NSObject performSelector:withObject:] ()
#5      0x00007fff97d7cf6a in forwardMethod ()
#6      0x00007fff8c9b070d in -[NSObject performSelector:withObject:] ()
#7      0x00007fff97d7cf6a in forwardMethod ()
#8      0x00007fff8c9b070d in -[NSObject performSelector:withObject:] ()
#9      0x00007fff97d7cf6a in forwardMethod ()
#10     0x00007fff97d777ac in -[NSWindow sendEvent:] ()
#11     0x00007fff97d10a55 in -[NSApplication sendEvent:] ()
#12     0x00007fff97ca70c6 in -[NSApplication run] ()
#13     0x00007fff97f23244 in NSApplicationMain ()
#14     0x0000000103401412 in main at 
/Users/markus/Projects/rubiTrack/src/main.m:20
#15     0x00000001033f8324 in start ()

When I drag the window title area (not the toolbar ) using the same kind of movement, this doesn't happen.

Can someone confirm this? My view reacts to -mouseDragged: but doesn't check if there's been a -mouseDown: first because that's implicit. Did that change?

Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to