STEPS TO REPRODUCE 1. Fresh login 2. Have the program already open (firefox/konsole) - open by session manager 3. Use shortcut to change virtual desktop - this seems to be required (shift+ctrl+Left/right arrow) 4. click on any task manager icon (firefox/konsole) that should change virtual desktop and open already opened window OBSERVED RESULT New window is opened on current virtual desktop EXPECTED RESULT Current opened window should open on its virtual desktop (ie not a new window) This started in the past few weeks after updating system PRETTY_NAME="KDE neon 5.26" NAME="KDE neon" VERSION_ID="22.04"
I can't produce on plasma/x11 - just wayland
In your Task Manager settings window's Behavior page, do you have "show only tasks: from current desktop" checked? And are the apps/windows in question bound to all desktops, or only one?
(In reply to Nate Graham from comment #2) > In your Task Manager settings window's Behavior page, do you have "show only > tasks: from current desktop" checked? And are the apps/windows in question > bound to all desktops, or only one? I have Show only tasks: from current activity checked. I don't recall setting that so maybe that's the default? The 2 apps I use to reproduced are pinned to different one desktop (konsole 1; firefox 3). The new windows ignore the pin settings and create a new window on the current desktop (after some event happens which I think is shortcut to change desktops).
It is the default setting, yes. Based on that information, I think this is the intended behavior. With those settings, the Task Manager items for apps in question aren't entries of open windows, but rather launchers. So when you use one of them to launch a new instance of the app, it seems fairly logical that it would appear in the current virtual desktop. If you don't like this behavior, I would recommend unchecking "show only tasks: from current desktop". That way the Task Manager items for open apps in a different virtual desltop will switch to existing windows/instances rather than launching new instances in the current virtual desktop.