https://bugs.kde.org/show_bug.cgi?id=523519
Bug ID: 523519
Summary: Add an "Initial Workspace/Remember" property to Window
Rules so apps open on the virtual desktop where they
were launched
Classification: Plasma
Product: kwin
Version First unspecified
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: rules
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
DESCRIPTION
When launching an application from a specific virtual desktop, the app window
does not reliably open on that desktop. If the user moves to another virtual
desktop while the application is still loading, the window pops up on the newly
focused desktop instead of the one where the launch was initiated. Trying to
fix this via "Window Rules" does not work for a dynamic workflow. The "Virtual
Desktop" rule forces the user to select static desktop numbers (like Desktop 1
or Desktop 2) or "All Desktops". There is no option for "Remember" or "Launch
Workspace." Hardcoding static numbers for every app is tedious and defeats the
purpose of dynamic workspaces. Other modern Wayland environments, like Hyprland
and Niri, already track and handle this natively by default. In those
environments, an application always maps to the workspace it was triggered
from, regardless of where the user moves while it loads. KWin should have a
similar, clean behavior.
STEPS TO REPRODUCE
1. Go to Virtual Desktop 1 and open KRunner (or any app launcher).
2. Type the name of a large application (like a web browser or IDE) and hit
Enter to launch it.
3. Quickly switch to Virtual Desktop 2 before the application finishes loading.
OBSERVED RESULT
The application window opens and appears on Virtual Desktop 2.
EXPECTED RESULT
The application should open on Virtual Desktop 1, because that is the workspace
where the user actually initiated the launch. There should be a "Remember" or
"Launch Workspace" property available under the Virtual Desktop options in
Window Rules to handle this globally or per app. If this is not according to
KDE Plasma's philosophy then there should at least option to do this as every
other modern Wayland environment, like Hyprland or Niri, has this feature.
SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window): Linux CachyOS
KDE Plasma Version: 6.7.3
KDE Frameworks Version:
Qt Version:
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.