SUMMARY A window rule with "Apply initially" seems to not be applied when KWin is restarted and the app reconnects. It is applied when the app is started normally STEPS TO REPRODUCE 1. Set a window rule to put a window on a certain virtual desktop and choose "Apply initially" 2. Start the Qt app and notice how it shows up on the correct desktop 3. Kill kwin and have it restart OBSERVED RESULT The window shows on the current virtual desktop EXPECTED RESULT The window shows on the virtual desktop that the window rule says it should SOFTWARE/OS VERSIONS Linux/KDE Plasma: git master as of 2025-11-13 Qt Version: 6.9.2 ADDITIONAL INFORMATION Of course only works with Qt apps that can survive a compositor restart. I only tested "virtual desktop" rule.
Also affects the "no border" rule, so seems that generally the rules are not evaluated in this case.