• 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
"unlockFocus called too many time" console message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"unlockFocus called too many time" console message


  • Subject: "unlockFocus called too many time" console message
  • From: James Walker <email@hidden>
  • Date: Mon, 03 Aug 2009 14:16:26 -0700

When a modeless Cocoa window is closed by clicking the close widget, I see a console message saying "unlockFocus called too many time." (sic). It doesn't happen if the window is closed using the File:Close menu item. I set a breakpoint on NSLog, and saw a stack starting like this:

NSLog
-[NSView unlockFocus]
-[NSControl mouseDown]
-[_NSThemeWidget mouseDown]
-[NSWindow sendEvent:]
carbonAppWindowMouseHandler

(none of which is my code)  Does this look like an OS bug?  (10.5.7)
--
  James W. Walker, Innoventive Software LLC
  <http://www.frameforge3d.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: "unlockFocus called too many time" console message
      • From: James Walker <email@hidden>
  • Prev by Date: Re: NSSound play often fails
  • Next by Date: Re: Memory efficient way to get image metadata?
  • Previous by thread: Re: Memory efficient way to get image metadata?
  • Next by thread: Re: "unlockFocus called too many time" console message
  • Index(es):
    • Date
    • Thread