• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
-mouseDragged: invoked when it should not (and without mouseDown)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-mouseDragged: invoked when it should not (and without mouseDown)


  • Subject: -mouseDragged: invoked when it should not (and without mouseDown)
  • From: Tae Won Ha <email@hidden>
  • Date: Thu, 24 Jan 2013 20:30:27 +0100

Hi, guys. I need some help in event handling. I have a custom view embedded in a scroll view which is embedded in a split view. The window has got a toolbar. When I move the window down by dragging the toolbar, very often the -mouseDragged: of my custom view gets invoked. Curiously enough, it does not seem to happen when I drag the window up. My questions:

- Why?
- When I NSLog() things, I see that -mouseDown: of the custom view is not invoked. What's going on?

It's the following file

https://github.com/qvacua/qmind/blob/master/Qmind/QMMindmapView.m

from line 706.

I created a dummy project which has got a dummy -mouseDragged: implementation inside a window with a toolbar. In the dummy project it does not happen at all.

I'm clueless. Am I missing something quite simple here? Anybody had similar problems?

Thanks in advance.

Best,
Tae

--
http://qvacua.com
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: -mouseDragged: invoked when it should not (and without mouseDown)
      • From: Graham Cox <email@hidden>
  • Prev by Date: NSOutlineView -reloadItem: vs insertItemsAtIndexes:inParent:withAnimation:
  • Next by Date: NSTableView and performClickOnCellAtColumn - cannot make it work
  • Previous by thread: NSOutlineView -reloadItem: vs insertItemsAtIndexes:inParent:withAnimation:
  • Next by thread: Re: -mouseDragged: invoked when it should not (and without mouseDown)
  • Index(es):
    • Date
    • Thread