This is already reported in upstream (see the link in Additional Information), however I am also reporting it in downstream since it can be considered as a possible security issue. When a new app window is opened from shell overview, focus is in most cases not properly given to the new window and user input still goes to the old focused window. Both windows appear to be in focus, however, the old window has the proper focus. This is a potential security issue that almost made me type my password and other sensitive data into Slack/IRC instead of terminal multiple times. Reproducible: Sometimes Steps to Reproduce: 1. Use latest, fully updated Fedora Workstation 38 system. 2. Open shell overview (super key). 3. Run the "Terminal" app either by using mouse or keyboard. 4. See if the newly opened window has focus. Actual Results: See the attached screenshot. It happens very often. In some apps (for example the new GNOME "Console" app), there is even no indication that the window does not have focus. (See the screencast in linked upstream ticket.) Expected Results: The newly opened window has focus. https://gitlab.gnome.org/GNOME/mutter/-/issues/2690
Created attachment 1967548 [details] No focus on newly opened Terminal window
Temporary downstream solution could be reverting the commit that caused this regression: https://gitlab.gnome.org/GNOME/mutter/-/commit/3ac82a58c51a5c8db6b49e89a1232f99c79644cc It is not ideal (see the comments in upstream ticket), but would be better than the current situation, at least in my opinion.
Same issue as already reported BZ#2188695. Closing this ticket. *** This bug has been marked as a duplicate of bug 2188695 ***