https://bugs.kde.org/show_bug.cgi?id=391174
ealefpere...@gmail.com <ealefpere...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ealefpere...@gmail.com

--- Comment #1 from ealefpere...@gmail.com <ealefpere...@gmail.com> ---
Made some analysis, found that this requires to add global shortcut keys in
Plasma Workspace `shellcorona.cpp`. It seems that applets/widgets/plasmoids
don't support global shortcut keys.

I found that for the `activateTaskAtIndex`, the global shortcut key is
implemented in plasma workspace `shellcorona.cpp`, which calls the task bar
`tools.js`/`activateTaskAtIndex` function. Here is the implementation:
[https://github.com/KDE/plasma-workspace/blob/master/shell/shellcorona.cpp#L2254](https://github.com/KDE/plasma-workspace/blob/master/shell/shellcorona.cpp#L2254)

For this feature, I think the main change would be to create the global
shortcut keys (walk taskbar window forward, walk taskbar window backward) in
the `shellcorona.cpp` like the `activateTaskAtIndex` implementation and call
the `tools.js`/`activateNextPrevTask` with their respective parameters.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to