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

 
 

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

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

Submitted by:  Rob Burns <rburns>
Submitted on:  Sat 10 Jul 2004 10:31:52 PM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

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

Fixed in cvs.

matt rice <ratmice>
Project 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>
Project 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>

 

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 12 Sep 2004 05:12:47 PM UTCratmiceStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1