Bug 469307

Summary: Double click to open virtual desktop and to leave the effect
Product: [Plasma] kwin Reporter: postix <postix>
Component: effects-overviewAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: nate
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6.0
Sentry Crash Report:

Description postix 2023-05-03 11:56:53 UTC
SUMMARY

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.
Comment 1 Nate Graham 2023-05-15 21:22:36 UTC
Not a bad idea.
Comment 2 Bug Janitor Service 2023-05-18 19:03:53 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4119
Comment 3 Nate Graham 2023-05-18 20:12:13 UTC
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.
FIXED-IN: 6.0

@teams/usability

M  +7    -0    src/plugins/overview/qml/DesktopBar.qml

https://invent.kde.org/plasma/kwin/commit/7f277bdfe9a650f8bc406a6492e489ddbe2b55c0