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


bug #4690: NSBrowser loads all cells for passive delegate

Submitter:  Stefan Urbanek <stefanu>
Submitted:  Sat 09 Aug 2003 03:13:40 PM UTC
Category:  Gui/AppKit Severity:  2 - Minor
Item Group:  Change Request Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

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


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

Attach Files:

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.


Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2004-09-25 alexm Item GroupBug Change Request

Back to the top

Powered by Savane 3.13-a854.
Corresponding source code