Open Bug 471563 Opened 16 years ago Updated 1 year ago

disconnected uri nodes should be marked as such

Categories

(Toolkit :: Places, defect, P3)

defect

Tracking

()

People

(Reporter: dietrich, Unassigned)

Details

scenario:

1. query for bookmarks
2. get a reference to a bookmark uri node
3. do something that causes the query result to refresh (ie: it deletes all children and refills)

you're left with a bookmark uri node that will not live-update because it's been disconnected from it's parent.

first, should this be able to happen at all? should the nodes remain in memory as long as there's a reference to them?

otherwise, in the absence of a parent, uri nodes should update themselves.
* They shouldn't update themselves for sure since they're not part of the result anymore.  However,  we should mark them as useless somehow.  One option is to return NS_ERROR_NOT_AVAILABLE for all property (except parent,  maybe).

* The selection-persistence code in  placetreeview check the parent property in order to identify obsolete nodes.
Priority: -- → P3
Severity: normal → S3
Summary: disconnected uri nodes should update themselves → disconnected uri nodes should be marked as such
You need to log in before you can comment on or make changes to this bug.