Workspaces only on primary display option sometimes doesn't work in multi-monitor setup

Hi everyone,

I have a multi-monitor setup (laptop screen + external screen). I set the external screen as the primary screen:

However, sometimes, when an app is opened on the secondary screen and I switch virtual desktops on the primary screen, the app from the secondary screen gets “attached” to the virtual desktop and disappears when I switch virtual desktops. I recorded a short demo to show this:

output

Restarting helps, but I wonder if a better solution is possible.

I had the same problem and I was restarting it to fix it.

I was able to find a workaround by following the below steps

  1. Open Settings → Displays
  2. Open Built-in display
  3. Turn it off
  4. Apply and click the button to keep the setting
  5. Open the Built-in display again
  6. Turn it on
  7. Align the display based on the physical setup
  8. Apply and click the button to keep the setting

This fixed the issue for me without restarting.

Hi Vignesh,

Thank you for sharing this workaround! It is much appreciated.

I just found out it is easier if you just hit “revert change” instead of “keep the setting” after clicking “apply” in step 4