SupportsItem () being applied to ModifierItems children
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Do |
Invalid
|
Undecided
|
Unassigned |
Bug Description
If modifier items have children which can be expanded (e.g. directories), the children are filtered by SupportsItem () rather than SupportsModifie
For example, here the items are directories or files not within /foo, and modifier items are directories within /foo. However, expanding the modifier items is not possible as their children are filtered by SupportsItem.
public override bool SupportsItem (Item item)
{
string path = GetPath (item);
return !path.StartsWith ("/foo");
}
public override bool SupportsModifie
{
string path = GetPath (modItem);
return Directory.Exists (path) && path.StartsWith ("/foo");
}
This may be related to bug 318285.
description: | updated |
summary: |
- SupportsItem () being applied to expanded ModifierItems + SupportsItem () being applied to ModifierItems children |
description: | updated |
description: | updated |
description: | updated |
Duplicate of bug 318285 (which has a fix in trunk as of rev 1214)