Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

mouseExited gets sent to subviews that have been removed #236

Closed
saikat opened this Issue Aug 7, 2009 · 7 comments

Comments

Projects
None yet
5 participants
Contributor

saikat commented Aug 7, 2009

To recreate this issue:

  1. Add view A as a subview to view B
  2. Put mouse over view A
  3. Remove view A from its superview
  4. When you move your mouse now, view A still gets a mouseExited event
Contributor

aparajita commented Apr 12, 2012

Will be fixed when CPTrackingArea is implemented.

cappbot commented May 9, 2012

Milestone: 1.0. Labels: #accepted, #needs-patch, AppKit, bug. What's next? This issue needs a volunteer to write and submit code to address it.

Contributor

daboe01 commented Nov 7, 2015

probably fixed by #2395

Contributor

daboe01 commented Jan 8, 2016

@didierkorthoudt was this fixed by #2395?

Contributor

didierkorthoudt commented Jan 11, 2016

Hi @daboe01 ,

Sorry for the delay...

I've just checked and nope... viewA received mouseExited.

I check in CPTrackingArea mechanism and get back to you...

Sorry for this.

Didier.

Contributor

daboe01 commented Jan 12, 2016

Thank you for checking. Best greetings Daniel

Von meinem iPhone gesendet

Am 11.01.2016 um 20:20 schrieb Didier Korthoudt notifications@github.com:

Hi @daboe01 ,

Sorry for the delay...

I've just checked and nope... viewA received mouseExited.

I check in CPTrackingArea mechanism and get back to you...

Sorry for this.

Didier.


Reply to this email directly or view it on GitHub.

Contributor

didierkorthoudt commented Jan 12, 2016

I've found the problem (in the CPTrackingArea). It's caused by a running condition but only (it seems) when you use the mouseEntered event to do the view removal. In other conditions, CPTrackingArea handles this correctly.

I have to adapt my code to cope with this situation. I'll do it ASAP.

@aparajita aparajita closed this in #2414 Jan 23, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment