bugGNUstep - Bugs: bug #33042, GUI cannot read XIB files....

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #33042: GUI cannot read XIB files....

Submitted by:  Gregory John Casamento <gcasa>
Submitted on:  Sun 10 Apr 2011 06:58:03 PM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Fred Kiefer <FredKiefer>
Open/Closed: Closed

Mon 18 Apr 2011 08:52:27 AM UTC, comment #2:

This bug should be fixed in gui SVN now. To get it working in Gorm the code there needs to be changed as well. I could do part of that if you want me to.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Mon 11 Apr 2011 01:35:51 PM UTC, comment #1:

Thank you for this bug report. It revealed a deep bug in our current XIB loading code. When parseing the <data> entry of the XIB file we loop over the elements of this entry after storing them in a dictionary. This leads tot he elements being processed in random order. But for the id and ref mechanism to work correctly these elements need to be processed in the order found in the file.
Looks like we need a rewrite of this whole mechanism. I will start working on this after the next gui release.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Sun 10 Apr 2011 06:58:03 PM UTC, original submission:

heron@localhost:~/Development/gnustep/tests/gormtest$ gormtest.app/gormtest
2011-02-28 06:15:09.752 gormtest[18223] No object for GSXibElement <reference> attrs ({ref = 713487014; }) elements [{}] (null) at index 0
2011-02-28 06:15:09.758 gormtest[18223] No object for GSXibElement <reference> attrs ({ref = 694149608; }) elements [{}] (null) at index 1
2011-02-28 06:15:09.759 gormtest[18223] No object for GSXibElement <reference> attrs ({ref = 391199113; }) elements [{}] (null) at index 2
2011-02-28 06:15:09.759 gormtest[18223] No object for GSXibElement <reference> attrs ({ref = 379814623; }) elements [{}] (null) at index 3
2011-02-28 06:15:09.760 gormtest[18223] No object for GSXibElement <reference> attrs ({ref = 586577488; }) elements [{}] (null) at index 4
2011-02-28 06:15:09.760 gormtest[18223] No object for GSXibElement <reference> attrs ({ref = 781891986; }) elements [{}] (null) at index 5
2011-02-28 06:15:09.761 gormtest[18223] No object for GSXibElement <reference> attrs ({ref = 725688984; }) elements [{}] (null) at index 6
2011-02-28 06:15:09.763 gormtest[18223] Exception occured while loading model: Tried to init array with nil object
2011-02-28 06:15:09.763 gormtest[18223] Failed to load Xib
2011-02-28 06:15:09.764 gormtest[18223] Cannot load the main model file 'window.xib'

Gregory John Casamento <gcasa>
Project Administrator

 

Attached Files
file #23194:  window.xib added by gcasa (147KiB - application/octet-stream - XIB file which failed to load.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by gcasa (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 03 Oct 2011 08:39:49 PM UTCFredKieferStatusReady For Test=>Fixed
      Open/ClosedIn Test=>Closed
    Mon 18 Apr 2011 08:52:27 AM UTCFredKieferStatusConfirmed=>Ready For Test
      Open/ClosedOpen=>In Test
    Mon 11 Apr 2011 01:35:51 PM UTCFredKieferStatusNone=>Confirmed
      Assigned toNone=>FredKiefer
    Sun 10 Apr 2011 06:58:03 PM UTCgcasaAttached File-=>Added window.xib, #23194

    Back to the top


    Powered by Savane 3.1-cleanup1