[Q] Is there a known bug in NSViewAnimation on Mac OS X 10.4 when it comes to Distributed Notifications?

Scenario:
---------

If I animate a window resizing through a NSViewAnimation, some Distributed Notifications are only taken into account after I click in the window resized through a NSViewAnimation.

If I animate the window with setFrame:dispplay:animate:, the problem does not occur.

------->8------->8------->8------->8------->8------->8------->8-------

// This does not work correctly

tAnimationDictionary=[NSDictionary dictionaryWithObjectsAndKeys:IBwindow_,NSViewAnimationTargetKey, [NSValue valueWithRect: tNewWindowFrame], NSViewAnimationEndFrameKey,
                                                                nil];
                        
tAnimation=[[NSViewAnimation alloc] initWithViewAnimations: [NSArray arrayWithObject:tAnimationDictionary]];
                        
if (tAnimation!=nil)
{
        [tAnimation setAnimationBlockingMode:NSAnimationBlocking];

        [tAnimation setDuration: 0.15f];

        [tAnimation startAnimation];
                                
        [tAnimation autorelease];
}

// This works fine

[IBwindow_ setFrame:tNewWindowFrame display:YES animate:YES];


_______________________________________________

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