- open a file
- search for a word that exists deeper in the tree
There won't be any noticeable changes to the UI; it appears as though nothing happened and the search isn't working. It's not until you manually expand the tree's first level or two that you see that it's been narrowed down.
Before I realized that, there were several times that I mistakenly thought the app was broken or that I'd done something wrong, and wasted time trying to figure that out.
I think a good solution would be to automatically expand the tree to reveal all of the matches.