https://bugs.kde.org/show_bug.cgi?id=480304

            Bug ID: 480304
           Summary: Add support for second stroke shortcuts (feature
                    request)
    Classification: Frameworks and Libraries
           Product: frameworks-kglobalaccel
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: ash...@linuxcomp.ru
  Target Milestone: ---

It would be very convenient if KDE supports a "second stroke shortcuts". For
example: Meta, Meta.

This concept is widely used in Jetbrains IDEs, for example, in PyCharm. You can
quickly press "Shift, Shift" for "Search Everywhere" action. You can assign
your own shortcuts with adding a second stroke shortcut. It may be any other
shortcut, not exactly double pressing the same button.

For now my main ache is a Meta-only shortcut. By default, when it is pressed
and released alone, it opens the Start menu. But I invoke it by accident very
often. This is mostly when I actually wanted to press a normal shortcut with
Meta (say, Meta + E for Dolphin), partly entered shortcut (pressed Meta), and
decided that I actually do not want to open Dolphin. Now I release Meta, and
unfortunately Start menu is opened. There was a bug report on that (I will add
its number later).

Because of this problem, I disabled the Meta (modifier only) shortcut by this
instruction: https://superuser.com/a/1158462/873855.

But I would very like to be able to open Start menu by double hitting Meta
button.

I saw KDE has some "unusual" shortcuts such as "Alt + D, E", documented here:
https://docs.kde.org/stable5/en/plasma-desktop/plasma-desktop/shortcuts.html
But they are probably hardcoded (you cannot specify such from UI), and they are
not actually "second stroke" shortcuts in its full meaning. I.e., the timeout
after Alt + D is not going. I can press Alt + D, then wait many seconds, then
press E. And that shortcut will work. While the second stroke should be awaited
only for a short period after first stroke.

I have also seen requests for this. For example:
https://www.reddit.com/r/kde/comments/qvwp08/double_press_shortcuts_in_kde/

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

Reply via email to