I've noticed since at least Plasma 6.3.0 that when one restores Window Rules from file that the size and position of a app will conform to the rules one has set. When it comes to assigned virtual desktop one must go into the apps rule and set it for the desktop it was originally assigned to cause it always says none selected. I have no idea why that setting isn't saved as well.
Thanks for filing this bug report. Unfortunately there isn't enough information for us to try to figure out what's happening. Please add information about your system as requested in the bug report template. Copy and paste this with the information into a new comment. SUMMARY STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT 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 Thanks for your understanding
STEPS TO REPRODUCE Open Window Rules in System Settings Import my saved .kwinrule file What the window populate with my saved rules Apply OBSERVED RESULT Launch Dolphin and it opens on the desktop I happen to be on instead of it's assigned desktop EXPECTED RESULT For Dolphin to open on it assigned desktop and switch to that desktop SOFTWARE/OS VERSIONS Arch based distros update to Plasma 6.4.1 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.1 ADDITIONAL INFO Rightclick the title bar of any app that I have rules set for and goto Special Application Settings and size and position are correctly and set, but virtual desktop says none selected and I have to reassign the app to it's desktop. It's not a matter of the desktops not being created yet cause I create those, install all my apps, then add the rules.
> It's not a matter of the desktops not being created yet cause I create those, install all my apps, then add the rules. If I understood correctly, the rules that contains Virtual Desktops are exported from one PC/user, and on a new PC/account you create new Virtual Desktops and import the rules, right? Yeah, this doesn't work. The new VDs you create have different IDs than those saved in the exported rules, so the rules cannot find them. You can check the IDs in the [Desktops] section in ~/.config/kwinrc
Then might I suggest that you please turn this into a feature request? 1. For a way to backup and restore the ID's or 2. make it where the ID's do not matter
(In reply to TheTechieLife from comment #4) > Then might I suggest that you please turn this into a feature request? > > 1. For a way to backup and restore the ID's > or > 2. make it where the ID's do not matter Yeah, that seems perfectly fair
Thanks a lot, much appreciated. Stay safe and have a good one.