Bug 509301

Summary: "Bring window to current desktop" option not moving but adding the window to current virtual desktop
Product: [Plasma] kwin Reporter: ilkerk
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: major CC: nate
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ilkerk 2025-09-09 10:40:13 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1.   Select "Bring window to current virtual desktop" option in settings
2.   Open a window  in desktop 1
3.   Go to desktop 2 and from task manager select that window in desktop 1


OBSERVED RESULT
The window is added to desktop 2
After working some time while using multiple desktops, because of this bug, all windows start to exist in all virtual desktops, thus effectively it becomes a single virtual desktop.


EXPECTED RESULT
It should be moved to desktop 2 (i.e. removed from desktop 1)


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 ilkerk 2025-09-09 10:43:00 UTC
Bug exists in   Kubuntu 25.04,   plasmashell 6.3.4
Comment 2 Nate Graham 2025-09-25 16:48:08 UTC
Can reproduce on current git master, too.