Bug #448668 has been fixed and switching virtual desktops works without leaving by a single click.
However, it could be useful to directly switch a virtual desktop and to leave the overview effect by a double click, similar to how the mechanics work* e.g. in Dolphin: Single click = select, double click = open/enter a file or folder.
* Assuming "double click" is configured rather than "single click" to open files.
Not a bad idea.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4119
Git commit 7f277bdfe9a650f8bc406a6492e489ddbe2b55c0 by Nate Graham.
Committed on 18/05/2023 at 20:12.
Pushed by ngraham into branch 'master'.
plugins/overview: close when double-clicking on a desktop
Now that a single-click on a desktop in the desktop bar switches Virtual
Desktops within the Overview effect, it would be nice to have an easy way
to also trigger the prior behavior of switching and also closing the effect.
This can be accomplished by letting people double-click on a desktop to
both switch to it and also close the effect.
I found myself doing this automatically; IMO it feels quite natural.
M +7 -0 src/plugins/overview/qml/DesktopBar.qml