• 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
Tracking rect strangeness in Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tracking rect strangeness in Leopard


  • Subject: Tracking rect strangeness in Leopard
  • From: James Bucanek <email@hidden>
  • Date: Mon, 14 Jan 2008 13:52:33 -0700

Greetings,

I have an application that uses tracking rects extensively to provide roll-over information and animation. These have stopping working consistently in Leopard.

When the window is first created it creates tracking rects using -[NSView addTrackingRect:owner:userData:assumeInside:]. In Leopard I never get a single mouseEntered/mouseExited message for any of these tracking rects. No amount of clicking, dragging, scrolling, resizing, changing focus, or deactivating/activating the application or window seems to make any difference.

However, if I hide the application or minimize the window, when the window is made visible again all of the tracking rects start working, and mouseEntered/mouseExited messsages come pouring in. Note that these are not new tracking rects; these were the same ones created earlier that weren't working.

Once they start working I can't get them to stop again. Everything works just as it did in Tiger not matter what I try. The only way to reproduce the problem is to close the window and create a new one, at which point the tracking rects in the new window won't work.

The only confounding issue is that these tracking rects are being created for a subclass of NSView that lives in a transparent child window that overlays my document window.

Has anyone experienced this problem or a similar one? Any known workarounds?

Thanks,

James
--
James Bucanek

_______________________________________________

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: Tracking rect strangeness in Leopard
      • From: James Bucanek <email@hidden>
  • Prev by Date: Re: Advice re: "Rough-Cuts" version of "Cocoa Design Patterns"
  • Next by Date: Core Data performance advice... creating relationships.
  • Previous by thread: Re: How to re-read a bundle once read?
  • Next by thread: Re: Tracking rect strangeness in Leopard
  • Index(es):
    • Date
    • Thread