Bug 511898

Summary: App spawns new windows in current activity rather than its own
Product: [Plasma] kwin Reporter: Miroslav Jarý <mira.jary>
Component: activitiesAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: kde, kdedev
Priority: NOR    
Version First Reported In: 6.5.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Miroslav Jarý 2025-11-10 06:21:16 UTC
SUMMARY
The Plasma's activity is great for productivity! I have set up one for work and one for gaming so I don't get distracted.
However I found out that when i e.g. open Minecraft's Prism Launcher on my gaming activity, and then switch to the Work activity, the newly spawned window with the game itself appears in the Work activity, rather than launching "in the background" in the Gaming activity where the launcher window is (as I would expect).

It is (from a UX/business perspective, not necessarily technical) a similar issue as https://bugs.kde.org/show_bug.cgi?id=499367

STEPS TO REPRODUCE
1. Set up two activities
2. In first activity open an app which can spawn other windows with a little delay (such as Minecraft/other game launcher)
3. Perform an action which will make the app spawn a new window
4. Quickly switch to the second activity

OBSERVED RESULT
The newly spawned window will appear in the currently active activity

EXPECTED RESULT
The newly spawned window will appear in the activity where the "spawn" was triggered/where the original window is


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