Skip to content

Fix derived type filtering - #4037

Open
SychicBoy wants to merge 1 commit into
icsharpcode:masterfrom
SychicBoy:fix-4028-derived-types
Open

Fix derived type filtering#4037
SychicBoy wants to merge 1 commit into
icsharpcode:masterfrom
SychicBoy:fix-4028-derived-types

Conversation

@SychicBoy

Copy link
Copy Markdown
Contributor

Fixes #4028

Problem

DerivedTypesEntryNode.Filter() returns Recurse for visible entries, causing the filter cascade to recursively filter their lazy children. This can hide derived-type entries and modify the child collection during visibility updates.

Solution

  • Return Match from DerivedTypesEntryNode.Filter() for visible entries so their children remain lazy until the entry is expanded.

Treat visible derived-type entries as filter matches instead of
recursively filtering their lazy children.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Derived types do not shown in tree.

1 participant