Multiple users and disconnecting external display
I recently upgraded to Ventura from Monterey and my children have recently upgraded to Sonoma (M1 laptops). We each have multiple user accounts (e.g. work, games) for focus and security reasons and use the "fast user switching" function in macOS. Hence, there are multiple users logged in concurrently.
In Monterey, disconnecting an external display had no problems. However, since Ventura, disconnecting an external display will only "update" the "active" user. When fast-switching to another (logged in) user, macOS is confused and has a different virtual resolution; even trying to move the pointer to the Apple menu doesn't work. We need to force a logout (using shortcut keys: Option-Shift-Command-Q is very useful) of the other account(s) for the macOS user interface to work correctly (once logged in again).
An alternative is to disconnect the external display in one account, then fast-switch to another account and reconnect/disconnect the display there, and so on.
This problem appears to be in both Ventura and Sonoma but was not an issue in Monterey. Does anyone know of a way to fix the problem?
MacBook Pro 14″, macOS 13.6