Moving window between desktops doesn't keep focus on window being moved
I'm using Sonoma 14.3 on my 2021 MacBook M1 Max. I frequently work with multiple desktops. Whenever I move a window from one desktop to another, the window I move will sort behind any other window I have on that desktop. So then I have to hunt for that window on that desktop to give it focus. Note, this only occurs if another window on the target desktop had focus before I move a window from the source desktop to the target desktop (which is usually the case).
Repro (doing this with a track pad and gestures):
- Open any application (App 1) on Desktop 1 and another application (App 2) Desktop 2.
- Make sure App 2 has focus on Desktop 2.
- Switch to Desktop 1.
- Three-finger-swipe up to bring up Mission Control.
- Click and move App 1 from Desktop 1 to Desktop 2.
- Switch to Desktop 2, either by clicking Desktop 2 via Mission Control or returning to Desktop 1 and then swiping over to Desktop 2 (both produce the issue).
Results:
App 2 will retain focus when switching to Desktop 2.
Expected:
This is poor default behavior. App1 should retain focus on Desktop 2.
MacBook Pro (2021)