> What you’re seeing is definitely not normal behavior. Either it’s an
> artifact of the unusual way your app is structured (is this happening
> within that modal panel?), or you’re doing something unusual when drawing
> your view. How are you doing the drawing? You should just need to override
> -drawRect: and do your drawing in that. Are you making drawing calls
> elsewhere, or calling window or view methods to force immediate display?
>
> —Jens
>

It's happening with the modal window. It contains a single view, which is
very simple, just overrides stuff for mouse/keyboard input and drawRect for
painting. It is then used to get CGContextRef for drawing. I tried to
remove all NSView setNeedsDisplayInRect used to "invalidate" and NSView
displayIfNeeded for "immediate updating", but it didn't help, it still does
the same thing.

Vojtech
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to