Search for terminal and then expand Advanced. Drag/drop one of the activities into the code. The Advanced subcategory collapses. Very annoying.
You can group activities by Package and navigate to the Advanced section of Terminals. It will not collapse anymore.
In your scenario, this is triggered by the fact that you don’t have any of the searched keyword in the advanced section.
It didn’t work this way before, it shouldn’t now. Why do you change little things like this for no reason? We work in this tool all day every day and little changes like this are big annoyances. If I expand something it shouldn’t collapse unless I collapse it.