I believe this is new behaviour with DT4 (4.0.2 in use here), as I have performed this action for many years, but it’s only now that it’s really caught my eye. I may be wrong, however!
Issue: I have several databases open at once. Within those databases I have various groups expanded so that I can see sub-groups, as well as smart groups like “All Images” or “All PDF documents”.
If I now hit command-f to enter the search box, and type something, and then hit all expanded groups will now close up.
The databases themselves are “open” of course, it’s just that all of the little triangles which indicate that something has content a level deeper flip and hide those levels.
100% repeatable here, doesn’t seem to matter if I hit return for my search first or not.
I have “Retain View” enabled. I have tried disabling and re-enabling, no impact on this.
It would be nice if this didn’t happen, or, if it’s meant to happen, have it be controlled by “retain view” or some other toggle, if possible!