Summary: Extra NSApplication instance in Gorm Objects pane
(Nib reading issue)
Project: GNUstep
Submitted by: qmathe
Submitted on: Sunday 02/10/2008 at 18:59
Category: Gorm
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
GNUstep core and Gorm r26014
If you create a nib on Mac OS X with the empty template (and not the
application template), an NSApplication instance is wrongly visible in the
Objects pane of Gorm when reading this nib on GNUstep side. See attached
screenshot. In the screenshot, the first visible object is an NSApplication
instance and the second one is the owner (using ETInspector as custom class).
The owner should be the first object, no NSApplication instance should be
available.
The nib is available here:
<http://svn.gna.org/viewcvs/etoile/branches/qmathe/Container/English.lproj/Inspector.nib/>
Quentin.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sunday 02/10/2008 at 18:59 Name: nibReadingIssues2png Size: 27kB
By: qmathe
<http://savannah.gnu.org/bugs/download.php?file_id=15013>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?22281>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
From comparing on both systems, I believe that there's no issue here.
Looking at the Inspector.nib there is an extra instance of Application in the
.nib file (please see attached) also I tried creating a new nib to test if it
happens when creating a new one and it doesn't.
From comparison the contents of the nibs on OS X and on GNUstep look
precisely the same.
I don't think there's an issue here.
GNUstep/Gorm r26048.
G.
(file #15016, file #15017, file #15018, file #15019)
_______________________________________________________
Additional Item Attachment:
File name: IB_Inspector.jpg Size:25 KB
File name: Inspector_NewEmpty.jpg Size:67 KB
File name: NewEmpty.jpg Size:25 KB
File name: NewEmpty.nib.tgz Size:9 KB
Status: None => In Progress
Assigned to: None => gcasa
Open/Closed: Open => In Test
You are right, I made my conclusion too quickly.
However the problem is that I never created this NSApplication instance.
After taking a look at the Nib file in IB. I just realized IB 3 (Leopard) has
a different empty template than previous IB versions. It had confused me
because 'Application' icon was previously used for the file owner and is now
always used for this application proxy. The file owner is just a blue cube
now.
See attached screenshot: emptyIB3.jpg
It isn't really an issue. May be Gorm should follow IB 3 and always include
an NSApplication proxy in gorm files though.
Thanks.
(file #15021)
_______________________________________________________
Additional Item Attachment:
File name: emptyIB3.png Size:28 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?22281>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/