Bug 511898 - App spawns new windows in current activity rather than its own
Summary: App spawns new windows in current activity rather than its own
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: activities (other bugs)
Version First Reported In: 6.5.1
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-10 06:21 UTC by Miroslav Jarý
Modified: 2026-01-23 17:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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