bugGNUstep - Bugs: bug #9609, unnecessary calls to...

Group
 
 

bug #9609: unnecessary calls to tableView:setObjectValue:forTableColumn:row;

Submitter:  Rob Burns <rburns>
Submitted:  Sat 10 Jul 2004 10:31:52 PM UTC
   
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 12 Sep 2004 05:12:47 PM UTC, comment #2: 

Fixed in cvs.

matt rice <ratmice>
Group Member
Sun 11 Jul 2004 12:11:17 AM UTC, comment #1: 

the hack NSTableView.misc.diff I sent yesterday (july 9 2004) should fix this..
the subject being "NSTableView/NSCell/NSScrollView stuff"

matt rice <ratmice>
Group Member
Sat 10 Jul 2004 10:31:52 PM UTC, original submission:  

If an NSTableViewColumn is set to editable, each time the selection in the NSTableView changes, tableView:setObjectValue:forTableColumn:row: is called. This happens if a cell was being edited or not.

a test can be found here:

http://www.eskimo.com/~pburns/rob/misc/Testing-20040710.tar.gz

1) select NSTableView-Selection
2) click on various rows in the NSTableView, causing the selection to change.

An example of why this doesn't seem right to me: In my app, the data in the NStableView is the document being edited. whenever setObjectValue is called. the data is changed and the Document is marked as edited. this currently happens whenever the selection changes.

Rob Burns <rburns>

 

(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
2004-09-12 ratmice StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code