[bug #4608] High NSWindowController retain counts

2003-08-31 Thread nobody
ty: 5 - Major Bug Group: Bug Resolution: Fixed Assigned to: gcasa Status: Closed Summary: High NSWindowController retain counts Original Submission: When using a subclass of NSWindowController and a

[bug #4608] High NSWindowController retain counts

2003-08-31 Thread nobody
Assigned to: gcasa Status: Analyzed Summary: High NSWindowController retain counts Original Submission: When using a subclass of NSWindowController and a Gorm file, the NSWindowController doesn't get released when the window is closed, because

[bug #4608] High NSWindowController retain counts

2003-08-31 Thread nobody
Bug Group: Bug Resolution: Fixed Assigned to: gcasa Status: Closed Summary: High NSWindowController retain counts Original Submission: When using a subclass of NSWindowController and a

[bug #4608] High NSWindowController retain counts

2003-08-30 Thread nobody
Summary: High NSWindowController retain counts Original Submission: When using a subclass of NSWindowController and a Gorm file, the NSWindowController doesn't get released when the window is closed, because the retain count is too high. There is a test for this here: http://www.esk

[bug #4608] High NSWindowController retain counts

2003-08-03 Thread nobody
i/AppKit Severity: 5 - Major Bug Group: Bug Resolution: None Assigned to: NoneStatus: Open Summary: High NSWindowController retain counts Original Submission: When using a sub

Re: NSWindowController

2003-07-26 Thread Fred Kiefer
Andrew Ruder wrote: Quick question: 144 - (void) setDocument: (NSDocument *)document 145 { 146 // FIXME - this is RETAINed and never RELEASEd ... 147 ASSIGN (_document, document); 148 [self synchronizeWindowTitleWithDocumentName]; in NSWindowController.m Is there some re

NSWindowController ? bug

2003-07-21 Thread Enrico Sersale
It seems that all the apps that use NSWindowController don't display a window for a document opened after the first one (the document opened launching the app). An example, due of my bad English :-) get a NOT document-based application as, for example, ToyViewer or ImageViewer. - try to &quo

NSWindowController

2003-07-21 Thread Andrew Ruder
Quick question: 144 - (void) setDocument: (NSDocument *)document 145 { 146 // FIXME - this is RETAINed and never RELEASEd ... 147 ASSIGN (_document, document); 148 [self synchronizeWindowTitleWithDocumentName]; in NSWindowController.m Is there some reason the RELEASE of

Re: NSWindowController doesn't load Gorm file.

2003-02-16 Thread Yen-Ju Chen
Thanx a lot. I realize that I should use [NSBundle loadNibName: owner:] instead of NSWindowController to load the nib file, which makes more sense in this case and is more straight-forward. Yen-Ju From: Nicola Pero <[EMAIL PROTECTED]> Reply-To: Nicola Pero <[EMAIL PROTECTED]>

Re: NSWindowController doesn't load Gorm file.

2003-02-16 Thread Nicola Pero
o magic doing it for you. :-) > Therefore, [NSWindowController window] only load the nib, > but not return the loaded window. > I can use [NSWindowController setWindow: xxx] to make it work, > but it is not what the Cocoa document say. > > In ideal case, I can use [

Re: NSWindowController doesn't load Gorm file.

2003-02-16 Thread Yen-Ju Chen
That problem is that the nib is loaded, but the internal _window is not set. Therefore, [NSWindowController window] only load the nib, but not return the loaded window. I can use [NSWindowController setWindow: xxx] to make it work, but it is not what the Cocoa document say. In ideal case

Re: NSWindowController doesn't load Gorm file.

2003-02-15 Thread Nicola Pero
> I try to load the Gorm file using NSWindowController > -initWithWindowNibName:Owner:. > I have an outlet connected to the window (actually, panel). > At this step, the window is not loaded. > Then I try [NSWindowController window]. > The window is loaded, but [NSWindowControl

Re: NSWindowController doesn't load Gorm file.

2003-02-13 Thread Yen-Ju Chen
That is exactly the problem I have. If the window exists (from the outlet), why the [NSWindowController window] return nil ? It should return the same object as the outlet, right ? If I try to show the window using [NSApp runModalForWindow: [NSWindowController window]]; The window failed

NSWindowController doesn't load Gorm file.

2003-02-13 Thread Yen-Ju Chen
I try to load the Gorm file using NSWindowController -initWithWindowNibName:Owner:. I have an outlet connected to the window (actually, panel). At this step, the window is not loaded. Then I try [NSWindowController window]. The window is loaded, but [NSWindowController window] return nil. I

Re: NSWindowController bug?

2001-10-08 Thread Nicola Pero
Thanks - applied your suggestion and made some related changes around trying to make sure we have the different window closing behaviour in case _document == nil or _document != nil ... let me know if you have problems with it. > Hi, > > In NSWindowController: - (void) _window

NSWindowController bug?

2001-10-03 Thread Ludovic Marcotte
Hi, In NSWindowController: - (void) _windowWillClose: (NSNotification *)notification We have: if ([notification object] == _window) { if ([_window delegate] == self) { [_window setDelegate: nil]; } if ([_window