=================== BUG #4815: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4815&group_id=99

Changes by: Gregory John Casamento <[EMAIL PROTECTED]>
Date: Mon 09/01/2003 at 05:19 (US/Eastern)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | Invalid                   | Fixed


------------------ Additional Follow-up Comments ----------------------------
Tests indicate the mainMenu is initialized before awakeFromNib is called.   I've made 
the necessary change to support this.



2003-09-01 09:23:34.278 loginpanel[30566] Decoding custom class GSTextView

2003-09-01 09:23:34.336 loginpanel[30566] LoginWindow class has been instantiated...

2003-09-01 09:23:34.359 loginpanel[30566]  NSMenu: Main Menu (Normal)



It should now return the correct value.  GJC



=================== BUG #4815: FULL BUG SNAPSHOT ===================


Submitted by: None                    Project: GNUstep                      
Submitted on: Mon 08/18/2003 at 00:29
Category:  Gorm                       Severity:  2                          
Bug Group:  Bug                       Resolution:  Fixed                    
Assigned to:  gcasa                   Status:  Closed                       

Summary:  [NSApp mainMenu] returns nil

Original Submission:  when using a gorm created menu, [NSApp mainMenu] will return 
nil. I've tried this with the 'menu' outlet in NSApplication connected and with it 
not, with the same results.

Follow-up Comments
*******************

-------------------------------------------------------
Date: Mon 09/01/2003 at 05:19       By: gcasa
Tests indicate the mainMenu is initialized before awakeFromNib is called.   I've made 
the necessary change to support this.



2003-09-01 09:23:34.278 loginpanel[30566] Decoding custom class GSTextView

2003-09-01 09:23:34.336 loginpanel[30566] LoginWindow class has been instantiated...

2003-09-01 09:23:34.359 loginpanel[30566]  NSMenu: Main Menu (Normal)



It should now return the correct value.  GJC

-------------------------------------------------------
Date: Mon 09/01/2003 at 02:55       By: rburns
NSLog(@"%@", [[NSApp mainMenu] description]);



will log (nil)



Is this because I am doing it in awakeFromNib? should it not work there? In other gorm 
files, none of the connections will be functional until after [self window] is called. 
(using an NSWindowController). Is this a similar problem? In this case it is 
awakeFromNib in the application delegate, and there is now windows in the gorm file.

-------------------------------------------------------
Date: Sun 08/31/2003 at 10:36       By: gcasa
Program received signal SIGINT, Interrupt.

[Switching to Thread 1024 (LWP 24313)]

0x4068c5ab in poll () from /lib/i686/libc.so.6

(gdb) print [NSApp mainMenu]

$1 = 139441392

(gdb) print (char *)[[[NSApp mainMenu] description] cString]

$2 = 0x85f7390 "NSMenu: Gorm (Normal)


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to