Strange problem with miniaturize
Strange problem with miniaturize
- Subject: Strange problem with miniaturize
- From: Martin Hairer <email@hidden>
- Date: Tue, 5 Sep 2006 09:09:34 +0100
Hi, I just realised today that miniaturizing windows in my Cocoa
application
does not work as expected. The first strange behaviour is that if I
have two
windows open and miniaturize the front window, the one behind it does
not
activate.
Even stranger, if I then click on the miniaturized window in the
dock, it does not
deminiaturize! Even if I control-click and choose "Open" nothing
happens. If I
then chose to quit the application and the miniaturized window has
unsaved
changes it correctly comes out of the dock and asks me whether I want
to save the
changes. If at this point I click on "Cancel", the window stays out
of the dock, but
it still behaves as if it was still miniaturized in the sense that it
seems to receive
mouse events, but the views to not update themselves...
This happens with all the windows from the application. What really
dumbfunds
me is that I don't do any kind of fancy customizing of windows
behaviour. There
is no category of NSWindow anywhere in my code that could screw
things up...
What is even more bizarre is that if I add somewhere in my code
@implementation NSWindow(test)
-(void)miniaturize:(id)sender
{
NSLog(@"mini");
}
@end
the behaviour described above does not change at all. In particular,
nothing shows
up on the console when I try to miniaturize a window !
I have reproduced the behaviour on several machines, so it is
probably not the fault
of some third-party hack either... Did anybody ever come across
somethig like this
and / or does anyone have an idea of what could be going on here?
Thanks a lot,
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden