discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSWindow bug, superfluous notification


From: Andreas Höschler
Subject: NSWindow bug, superfluous notification
Date: Fri, 5 May 2006 19:10:19 +0200

Hello all,

I create an NSWindow with

mainWin = [[FBFormWindow alloc] initWithContentRect:contentRect styleMask:styleMask backing:NSBackingStoreBuffered defer:NO];
...
[mainWin orderFront:self];

After that NSWindowDidResizeNotification is posted twice and I have no idea why. i consider this a bug. It does not happen on MacOSX and it makes my code malfunction. Any idea why this happens? This notification is posted in

NSWindow::- (void) sendEvent: (NSEvent*)theEvent

when receiving an NSAppKitDefined/GSAppKitWindowResized event. I grepped through the GNUstep sources to find occurances of GSAppKitWindowResized but found none. I am stuck. Any help would be greatly appreciated.

Thanks,

Andreas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]