Switch between the apps on first click fails
I have a problem with switching between the apps.
After a certain IDLE time (I think so - just a guess - because it happens sporadically) the app doesn't open with a click.
See video on first second, i click on the app "phpstorm" but i opens any minimized windows.
The app only opens after a further click. The first time I click, I usually end up on a blank page/blank space.
The funny thing is, after that everything works normally again, I can switch between apps with one click. And then sporadically not. Is this a feature or a bug?
I use MAC OS M1 Pro with Ventura.
MacBook Pro 13″