Expand folders when searching in the folder widgets (Loader + Launcher).
Additional info
I'm not entirely sure whether the change implemented here is 'correct' according to the model/view separation logic we want to have in tools, but it shows the behavior artists in our studio we like more (and is logic that behaved similarly in OpenPype actually).
Without this PR when searching in the folder widget it would not expand any folders:
With this PR it defaults to auto-expanding all:
The benefit to this is that when searching you automatically can see all the results and directly can see whether you found what you're looking for or should filter more or not.
Testing notes:
Use this branch in dev mode for ayon core
Launcher and loader tool should now auto-expand all folders when typing in the filter field.
Changelog Description
Expand folders when searching in the folder widgets (Loader + Launcher).
Additional info
I'm not entirely sure whether the change implemented here is 'correct' according to the model/view separation logic we want to have in tools, but it shows the behavior artists in our studio we like more (and is logic that behaved similarly in OpenPype actually).
Without this PR when searching in the folder widget it would not expand any folders:
With this PR it defaults to auto-expanding all:![image](https://github.com/ynput/ayon-core/assets/2439881/9ee7f92f-6d12-4e7b-be1f-b9fdd9cd386d)
The benefit to this is that when searching you automatically can see all the results and directly can see whether you found what you're looking for or should filter more or not.
Testing notes: