Re: Strange problem with miniaturize
Re: Strange problem with miniaturize
- Subject: Re: Strange problem with miniaturize
- From: "I. Savant" <email@hidden>
- Date: Tue, 5 Sep 2006 08:30:49 -0400
Do you use any of NSWindow's delegate methods or respond to any
notifications? Are there any messages in your run log indicating a
failure of some sort?
--
I.S.
On Sep 5, 2006, at 4:09 AM, Martin Hairer wrote:
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:
40gmail.com
This email sent to email@hidden
_______________________________________________
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