AccessKit / accesskit

UI accessibility infrastructure across platforms and programming languages
BSD 3-Clause "New" or "Revised" License
991 stars 48 forks source link

fix: Fix a logic error that sometimes caused filtered traversal to stop prematurely #412

Closed mwcampbell closed 1 month ago

mwcampbell commented 1 month ago

I came across this while testing my GTK AccessKit implementation with a real GNOME app. We forgot to reset consider_children in the case where the filter result for the child is ExcludeSubtree. The new nodes I added to the test tree follow the same pattern as the nodes in the real app tree that triggered this bug.