App always stays on top if I Assign To All Desktops (WORKAROUND)
I have one app assigned to All Desktops (via its dock icon menu Options → Assign To → All Desktops), and sometimes after connecting and disconnecting an external display, this "All Desktops" app will become stuck "Always in front" of other apps, obscuring their windows. "Always in front" is neither desired nor expected in this case.
Window Server team, please take a look at this "Always in front" bug; it has been in macOS for a few years now. Thank you for your consideration.
I found a workaround that seems to permanently fix the problem (until it occurs again when I unplug/plug in monitors):
- Assign To → None
- Switch to another desktop (Swipe left or right with multiple fingers)
- Assign To → All Desktops
Now the app is on all desktops and no longer obscures other app windows. 👍
Other info:
I could not permanently fix the problem with the "temporary workaround" suggested in a related incident. (App always stays on top when Assign To Al… - Apple Community) That incident recommended toggling "All Desktops" off (Assign To → None) and back on again. But on macOS Sonoma 15.3.2, the window popped right back in front of the other windows on Desktop 1 again when I set it back to "All Desktops."
I am running macOS Sonoma 15.3.2.
MacBook Pro 14″, macOS 15.2