• 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
Re: NSWindow setIgnoresMouseEvents and Spaces
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow setIgnoresMouseEvents and Spaces


  • Subject: Re: NSWindow setIgnoresMouseEvents and Spaces
  • From: Gregory Weston <email@hidden>
  • Date: Thu, 26 Jun 2008 08:57:27 -0400

On Jun 26, 2008, at 6:44 AM, email@hidden wrote:



This NSWindow contains only and NSView where I draw the gradient
mentioned before.
Anyone can suggest a workaround to make this work?

You can try with an higher window level.

[result setLevel:CGWindowLevelForKey(kCGOverlayWindowLevelKey)];

Thanks for the tip, but it doesn't do the trick. I'm stating to think it might be a spaces bug.

It is; one of several reproducible misbehaviors Spaces has with regard to windows that appear above the "normal" level. Worse is that I expect you'll find if you query the window via ignoresMouseEvents you'll find that it claims to still be ignoring the mouse. The only workaround I found was to periodically send a setIgnoresMouseEvents:YES to it. I *think* 10.5.3 improved the situation a little bit, but I haven't had a chance to verify yet.
_______________________________________________


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


  • Prev by Date: __CGEvent structure
  • Next by Date: Re: Adding a new type of NSButton
  • Previous by thread: Re: NSWindow setIgnoresMouseEvents and Spaces
  • Next by thread: Can/should UIViewController work with multiple views?
  • Index(es):
    • Date
    • Thread