This started happening for me in Ubuntu 22.10 Whenever I open a new window with a shortcut, for example I use the right ALT to open the terminal, the focus does not go to that newly opened windows, but stays in whichever app I am still in.
How can I make it so it behaves like 22.04 where the focus will always go to the newly opened windows.
This only happens to opened apps with shortcuts as it looks, but not with clicked apps or apps opened from the dock.