bugGNUstep - Bugs: bug #9402, NSTableView selctedRowEnumerator...

 
 

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

bug #9402: NSTableView selctedRowEnumerator returns incorrect values

Submitted by:  None
Submitted on:  Mon 21 Jun 2004 01:16:51 AM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: Change RequestStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 27 Mar 2006 12:30:01 PM UTC, comment #4:

The last outstanding item had also been resolved on the day after the last comment.

Fred Kiefer <FredKiefer>
Project Member
Wed 23 Jun 2004 02:38:03 AM UTC, comment #3:

I've found another problem with selectedRowEnumerator. If the table is empty it will return a single row. this row being the last row deleted.

Rob Burns <rburns>
Mon 21 Jun 2004 03:44:49 PM UTC, comment #2:

it works for me now. Thanks!

Rob Burns <rburns>
Mon 21 Jun 2004 09:40:03 AM UTC, comment #1:

This problem was caused by some incorrect code in NSIndexSet, in the methods indexGreaterThanIndex: and indexGreaterThanOrEqualToIndex: the lines:
if (++pos >= GSIArrayCount(_array))
{
return NSNotFound;
}
where there incorrectly. Perhaps we should write a few more test cases for this class?

Fred Kiefer <FredKiefer>
Project Member
Mon 21 Jun 2004 01:16:51 AM UTC, original submission:

if the the selection in an NSTableView is non-contiguous, selectedRowEnumerator will not return all of the selected rows. results vary, depending on the order of selection. There is a small test app here:

http://www.eskimo.com/~pburns/rob/misc/TableTest.tar.gz

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 27 Mar 2006 12:30:01 PM UTCFredKieferOpen/ClosedIn Test=>Closed
Mon 21 Jun 2004 09:40:03 AM UTCFredKieferCategoryMakefiles=>Base/Foundation
  Open/ClosedOpen=>In Test

Back to the top


Powered by Savane 3.1-cleanup1