https://bugs.kde.org/show_bug.cgi?id=505688
Bug ID: 505688 Summary: No Virtual Desktop grid height setter available in scripts Classification: Plasma Product: kwin Version First git master Reported In: Platform: Compiled Sources OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: scripting Assignee: kwin-bugs-n...@kde.org Reporter: suw...@colabois.fr Target Milestone: --- SUMMARY There is no setter defined for `workspace.desktopGridHeight` in the KWin scripting API. Scripts that manage Virtual Desktops to make them dynamic would need to be able to change the number of rows for users who would like a 2D space of dynamic virtual desktops or users who prefer a vertical disposition. STEPS TO REPRODUCE 1. Create more than or 3 virtual desktops, organized in a single row. 2. Open `plasma-interactiveconsole`. 3. Create a script containing the following (without the markdown block syntax): workspace.desktopGridHeight = 3 4. Make sure the script is set to run in KWin. 5. Run the script. OBSERVED RESULT Nothing happens. EXPECTED RESULT The virtual desktops get reorganized in 3 rows. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 6.3.5 KDE Frameworks Version: 6.13.0 Qt Version: 6.8.3 -- You are receiving this mail because: You are watching all bug changes.