bugGNUstep - Bugs: bug #15261, in NSTableView selecting a...

 
 

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

bug #15261: in NSTableView selecting a contiguous region with no selected row throws an exception

Submitted by:  matt rice <ratmice>
Submitted on:  Wed 21 Dec 2005 02:27:35 PM UTC  
 
Category: Gui/AppKitSeverity: 2 - Minor
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed 21 Dec 2005 02:27:35 PM UTC, original submission:

NSInternalInconsistencyException: RowIndex < 0 in [NSTableView -rectOfRow:]

321 : else if ((selectionMode & ALLOWS_MULTIPLE)
322 : && (selectionMode & SHIFT_DOWN)
323 : && (selectionMode & ADDING_ROW))
324 : // we add new row to the current selection
325 : {
326 : if (_oldRow == -1)
327 : // this is the first pass
328 : {
329 : BOOL notified = NO;
330 : int i;
331 : int diff = _currentRow - _originalRow;
332 :
333 : if (diff >= 0)
334 : {
335 : for (i = _originalRow; i <= _currentRow; i++)
336 : {
337 : if ([_selectedRows containsIndex: i] ||
338 : [tv _selectRow: i])

the last line where [tv _selectRow:i]; when _originalRow == -1

though i'm not exactly sure what the expected behaviour would be but selecting the clicked on row seems ok

see also Bug #15260 for which key to press to reproduce this

matt rice <ratmice>
Project Member

 

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

Date Changed By Updated Field Previous Value => Replaced By
Sun 22 Oct 2006 06:27:13 PM UTCratmiceStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1