bugGNUstep - Bugs: bug #4690, NSBrowser loads all cells for...

 
 

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

bug #4690: NSBrowser loads all cells for passive delegate

Submitted by:  Stefan Urbanek <stefanu>
Submitted on:  Sat 09 Aug 2003 03:13:40 PM UTC  
 
Category: Gui/AppKitSeverity: 2 - Minor
Item Group: Change RequestStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Sat 25 Sep 2004 10:42:37 PM UTC, comment #1:

The difference between an active and a passive delegate lies in the messages they use to fill the browser with data. Thus, there's no guarantee that cells will be loaded on demand for a passive delegate, so this isn't a bug.

While it would be nice to be able to do this, it isn't easy to implement, and I don't see any way of doing it that doesn't involve slightly changing the interface towards custom matrix/cell classes. The most tempting alternative would be to extend NSMatrix to let you create cells on demand and then use this from NSBrowser (this is also the only alternative that avoids creating tons of browser cells up-front).

Anyway, in the absence of something that depends critically on this, or (really good) patches that implement it, I don't think I'll look more at it; not enough benefit for the complexity and effort.

I don't really know what we want our policy to be for things like this; for now, I'll leave it open as a "Change request".

Alexander Malmberg <alexm>
Project Member
Sat 09 Aug 2003 03:13:40 PM UTC, original submission:

When using NSBrowser and a passive delegate (numberOfRows... and willDisplayCell:...), the browser loads all cells. This makes no difference between the passive and the active delegate.

In my application i have a column with 1000+ items (cells), and they are all loaded instead of just a few (say 5-10) that are going to be displayed.

I have tested this with rIO's HelpViewer and got the same result.

Stefan Urbanek <stefanu>
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):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Sat 25 Sep 2004 10:42:37 PM UTCalexmItem GroupBug=>Change Request

Back to the top


Powered by Savane 3.1-cleanup