Re: Crash at window maximize
Re: Crash at window maximize
- Subject: Re: Crash at window maximize
- From: Ryan Bates <email@hidden>
- Date: Thu, 12 Feb 2004 11:22:28 -0800
Sounds like something is really messed up. Are you loading the Nib file
through the code or is it just in a MyDocument.nib or MainMenu.nib
file? Is there an NSWindowController that controls that window? If so,
do you ever initialize the window controller through the code? Does the
application still crash if you minimize then immediately maximize the
window (without bringing up the bad window)?
If the project's not to big, you might want to try creating a new
project, import all the source code, and re-make all the Nib files.
Ryan
On Feb 12, 2004, at 10:27 AM, Wenz, Dustin wrote:
On Feb 12, 2004, at 8:32 AM, Wenz, Dustin wrote:
Clicking the application in the dock will make the window visible
again, but the minimized window still shows up in the dock.
That's strange. If I'm understanding you correctly, the window is open
on the screen the same time it is minimized in the dock? Do you
implement the applicationDidBecomeActive: delegate method? If so, what
is the code in that method?
<<
That's about right - The window will minimize normally, but when I
switch applications and then back to my app the window suddenly
reappears but is not removed from the dock. In this state, I can
interact with the window but its contents does not refresh unless I
resize it. The minimize and zoom buttons also do not function.
Selecting the window from the Window menu (there is only one item
there) will cause the "phantom" window to vanish, followed by the dock
maximize animation. Once the window is back to it's full size, the
application crashes.
I am not implementing applicationDidBecomeActive. The odd thing is,
when I removed the NIB file and replaced it with a generic one, the
problem remained even though none of my objects should have been
instantiated.
-Dustin Wenz
Information Systems Technician
St. Cloud Times
320.259.3663
--------
"One day we'll see people like Steve Irwin making careers out of
dealing with rogue appliances."
--------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.