Bug 482693 - ShowDesktopGrid shortcut is not working
Summary: ShowDesktopGrid shortcut is not working
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: effects-desktop-grid (show other bugs)
Version: 6.0.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
: 488380 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-07 11:35 UTC by Vladimir
Modified: 2024-06-13 19:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir 2024-03-07 11:35:00 UTC
SUMMARY
***
I use `qdbus org.kde.kglobalaccel /component/kwin invokeShortcut ShowDesktopGrid` command in my touchegg configuration, it stopped working after upgrading to plasma 6.0.1. Manually invoking the command or using a keyboard shortcut (Meta + F8) also gives no effect. However I can can trigger the desktop grid with a screen edge gesture.  I also  can successfully invoke other commands with invokeShortcut, for example "Show Desktop"
***


STEPS TO REPRODUCE
1.  Invoke `qdbus org.kde.kglobalaccel /component/kwin invokeShortcut ShowDesktopGrid`  in command line or press Meta+F8

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
Desktop grid is shown

SOFTWARE/OS VERSIONS
Linux: Arch linux (6.7.8-arch1-1) 
KDE Plasma Version:  6.0.1
KDE Frameworks Version:  6.0.0
Qt Version: 6.6.2
Comment 1 Vlad Zahorodnii 2024-03-07 13:56:55 UTC
There's no ShowDesktopGrid shortcut anymore. You're probably looking for "Grid View"
Comment 2 Vladimir 2024-03-07 14:37:14 UTC
(In reply to Vlad Zahorodnii from comment #1)
> There's no ShowDesktopGrid shortcut anymore. 

But it is in the list of supported commands, checked with  `qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.shortcutNames  | grep ShowDesktopGrid`, and I also see in  System Settings/Keyboard/Shortcuts/Kwin

> You're probably looking for
> "Grid View"

If you mean "Toggle grid view" shortcut, it does work, but this command produces a different visual effect compared to "Show grid desktop".  "Toggle grid view" shows all virtual desktops and their windows, while "Show grid desktop" shows only the current desktop, and the command itself works, I can trigger it by a screen edge gesture.
Comment 3 Vladimir 2024-03-08 14:25:59 UTC
I believe, in plasma 6 the command similar to ShowGridView is called "Overview" ("Toggle Overview" in shortcuts settings) and can be invoked with `dbus org.kde.kglobalaccel /component/kwin invokeShortcut Overview`. But still don't understand why ShowGridView is still present in the shortcuts list.
Comment 4 duha.bugs 2024-06-13 19:13:47 UTC
*** Bug 488380 has been marked as a duplicate of this bug. ***