Bug 469307 - Double click to open virtual desktop and to leave the effect
Summary: Double click to open virtual desktop and to leave the effect
Alias: None
Product: kwin
Classification: Plasma
Component: effects-overview (show other bugs)
Version: git master
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
Depends on:
Reported: 2023-05-03 11:56 UTC by postix
Modified: 2023-05-18 20:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.0


Note You need to log in before you can comment on or make changes to this bug.
Description postix 2023-05-03 11:56:53 UTC

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.


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