This mail is an automated notification from the bugs tracker
of the project: GNUstep.
/**************************************************************************/
[bugs #9487] Latest Modifications:
Changes by:
Fred Kiefer <[EMAIL PROTECTED]>
'Date:
Sat 07/03/2004 at 16:36 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Status | Open | In Test
------------------ Additional Follow-up Comments ----------------------------
The specific problem should be fixed now, but investigation did show loads of issues
in the outline view code. We really should try and find somebody to check to whole
class.
/**************************************************************************/
[bugs #9487] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9487>
Project: GNUstep
Submitted by: Rob Burns
On: Tue 06/29/2004 at 03:06
Category: Gui/AppKit
Severity: 5 - Average
Item Group: Change Request
Resolution: None
Assigned to: None
Status: In Test
Summary: NSOutlineView reloadItem generates errors
Original Submission: NSoutline reloadItem: generates an "NSNull does not respond to
setObjectForKey:" error and an "NSInvalidArgumentException: Tried to insert nil to
arrray" error most (not all) of the times it is called.
Example code for this can be found at
http://www.eskimo.com/~pburns/rob/misc/NSOutlineView-reloadItem.tar.gz
It's a GSTest bundle.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Sat 07/03/2004 at 16:36 By: FredKiefer
The specific problem should be fixed now, but investigation did show loads of issues
in the outline view code. We really should try and find somebody to check to whole
class.
-------------------------------------------------------
Date: Fri 07/02/2004 at 19:23 By: FredKiefer
Opened again, due to Robs new failing example
-------------------------------------------------------
Date: Thu 07/01/2004 at 23:38 By: rburns
Thanks, that indeed fixed the problem I was having. Though, I have found others. I was
expecting reloadItem to redisplay the item as well. This doesn't currently happen
under GNUstep.
I modified the test a little bit to check for this too. I also got the test running on
OSX, and can verify that on OSX, the item is redisplayed. A new one is here:
http://www.eskimo.com/~pburns/rob/misc/Testing-20040701.tar.gz
Also, after playing with the test a bit more I found that if you reproduce the
following steps:
1) open the NSOutlineView test
2) expand the 'wet' item
3) select the 'wet' item
4) check the 'Children' checkbox
5) press the 'Reload Selected Item' button
The contents of the OutlineView will disappear
-------------------------------------------------------
Date: Thu 07/01/2004 at 18:42 By: FredKiefer
This problem is caused by the inconsistent use of NSNull in NSOutlineView. The shared
null object is used here for the key nil in object mappings, but sometimes when
iterating over the keys the reverse conversion is not applied.
I changed that and the code is now working for me.
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9487>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-gnustep