SUMMARY In Overview, Middle-mouse-button clicking any extra Virtual Desktop should not remove it. There's a trashbin icon already for that, which should (also) require confirmation. Virtual Desktops are many times set up "permanently". By deleting them that easily with MMB, "Window Rules" set for them are being destroyed as well, which are a pain to set up again. STEPS TO REPRODUCE 1. Hit "Meta+W" to go into Overview. 2. Create a new Virtual Desktop with the + button. 3. MMB-click the newly created Virtual Desktop. OBSERVED RESULT Virtual Desktop is being removed. EXPECTED RESULT Nothing. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.3 Kernel Version: 6.8.3-AMD-znver3 (64-bit) Graphics Platform: Wayland
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5600
Git commit 99324c12fd6b689809aad77ea3cb852d89982273 by Nate Graham. Committed on 12/04/2024 at 13:25. Pushed by ngraham into branch 'master'. plugins/overview: remove middle click to close virtual desktop This is a hidden destructive action[1] in a context where users are not primed to expect it. It's also largely unnecessary since the delegates already show a delete button on hover, and deleting virtual desktops isn't such a common task that it benefits from an accelerator. Let's remove it for safety. [1] It's destructive because user-created state on the deleted virtual desktop is lost--with no confirmation or undo, to boot. FIXED-IN: 6.1 M +2 -9 src/plugins/overview/qml/DesktopBar.qml https://invent.kde.org/plasma/kwin/-/commit/99324c12fd6b689809aad77ea3cb852d89982273