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

Group
 
 

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

Submitter:  matt rice <ratmice>
Submitted:  Wed 21 Dec 2005 02:27:35 PM UTC
   
 
Category:  Gui/AppKit Severity:  2 - Minor
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-10-22 ratmice StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code