Follow these steps
- Open Multitasking. Go to Settings > System > Multitasking and expand Desktops.
- Pick the scope. Find the control for which open windows the taskbar shows. Choose only the desktop you are using.
- Compare both views. Switch between two virtual desktops and look at the taskbar on each.
Check your result
Each desktop shows its own open windows. Revert to all desktops if switching becomes harder.