Bug 514357 - The "screen" property for Window Rules is ignored when the application /window is launched
Summary: The "screen" property for Window Rules is ignored when the application /windo...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: rules (other bugs)
Version First Reported In: 6.5.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-09 03:49 UTC by Tej A. Shah, DMD
Modified: 2026-01-09 03:49 UTC (History)
1 user (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 Tej A. Shah, DMD 2026-01-09 03:49:15 UTC
SUMMARY
(This applies to Wayland session). The "screen" property for Window Rules is ignored when the application /window  is launched. If you create the rule AFTER the window was created, KWin will move the window to the correct screen, but it will not do it upon launch.


STEPS TO REPRODUCE
0. Have two or more screens
1. Pick a random app (doesn't matter) and set the Window rules for it.
2. Right click on the Window title and do "More Actions" -> "Configure Special Window Settings" (this bug applies to Configure Special Application settings as well)
3. Add a Property "Screen".  Set the attribute to "Force" and either screen 1 or 2. 
4. After hitting apply, you will notice that the window will jump to the selected screen, yay!
5. Relaunch the app, and notice that it will NOT go to selected screen. Booo!
6. Other properties like fullscreen will work but screen will not be set for a new window when the rule already exists.

OBSERVED RESULT
You can only set the screen after it opens

EXPECTED RESULT
I should be able to force an app to show up on a specific screen each time

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.5.4 
KDE Frameworks Version:  6.20.0
Qt Version: 6.9.2


ADDITIONAL INFORMATION
This appears to be a Wayland specific issue.