[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bugs #9487] NSOutlineView reloadItem generates errors
From: |
Alexander Malmberg |
Subject: |
[bugs #9487] NSOutlineView reloadItem generates errors |
Date: |
Tue, 21 Sep 2004 19:19:53 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5 |
This mail is an automated notification from the bugs tracker
of the project: GNUstep.
/**************************************************************************/
[bugs #9487] Latest Modifications:
Changes by:
Alexander Malmberg <alexander@malmberg.org>
'Date:
Tue 09/21/04 at 23:13 (Europe/Stockholm)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | In Test | Closed
------------------ Additional Follow-up Comments ----------------------------
This has been "In test" long enough now. While there may still be issues with
NSOutlineView, these two issues seem to be fixed.
/**************************************************************************/
[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/04 at 03:06
Category: Gui/AppKit
Severity: 5 - Average
Item Group: Change Request
Resolution: Fixed
Privacy: Public
Assigned to: None
Status: Closed
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: Tue 09/21/04 at 23:13 By: Alexander Malmberg <alexm>
This has been "In test" long enough now. While there may still be issues with
NSOutlineView, these two issues seem to be fixed.
-------------------------------------------------------
Date: Sat 07/03/04 at 19:12 By: Rob Burns <rburns>
now, it does redisplay the item being reloaded, but happens to redispaly all
the other items too. This doesn't seem quite right to me. In any case it works
for my purposes
Thanks
-------------------------------------------------------
Date: Sat 07/03/04 at 17:51 By: Rob Burns <rburns>
now, it does redisplay the item being reloaded, but happens to redispaly all
the other items too. This doesn't seem quite right to me. In any case it works
for my purposes
Thanks
-------------------------------------------------------
Date: Sat 07/03/04 at 16:36 By: Fred Kiefer <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/04 at 19:23 By: Fred Kiefer <FredKiefer>
Opened again, due to Robs new failing example
-------------------------------------------------------
Date: Thu 07/01/04 at 23:38 By: Rob Burns <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/04 at 18:42 By: Fred Kiefer <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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bugs #9487] NSOutlineView reloadItem generates errors,
Alexander Malmberg <=