Bug 465943 - "Specific Window" broken in Custom Shortcuts.
Summary: "Specific Window" broken in Custom Shortcuts.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_khotkeys (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Jansen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-17 16:09 UTC by kenyaoz5
Modified: 2024-03-04 19:41 UTC (History)
2 users (show)

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


Attachments
I pressed Export Group, you can press Import. (it comes with an extra Maximize shortcut, ignore that) (1.17 KB, text/plain)
2023-02-17 16:09 UTC, kenyaoz5
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kenyaoz5 2023-02-17 16:09:19 UTC
Created attachment 156379 [details]
I pressed Export Group, you can press Import. (it comes with an extra Maximize shortcut, ignore that)

STEPS TO REPRODUCE
1. System Settings, Custom Shortcuts, right click on the list, New -> Global Shortcut -> Send Keyboard Input
2. Trigger = Ctrl+` in the second panel
3. Action = E in the third panel's text box
4. still in the third panel, Window = "Specific Window". below that, click New..., Window class = "Is", type Firefox in the text box, the radio button "Window Types" = Normal
5. Apply.

(or, you can skip 1-4 by importing the attached file)

OBSERVED RESULT
5. Open up Firefox, press Ctrl+`. "e" will come out, as expected.
6. Open up Dolphin, press Ctrl+`. "e" will come out, but it shouldn't. It should be restricted to Firefox.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.10
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Comment 1 Nate Graham 2024-03-04 19:41:58 UTC
As announced in https://pointieststick.com/2023/07/26/what-we-plan-to-remove-in-plasma-6/ and https://community.kde.org/Plasma/Plasma_6#Removals, I'm afraid KHotKeys has reached end-of-life in Plasma 6. Accordingly, all bug reports and feature requests for it must be closed now.

Most of what KHotKeys could do can already be done with the newer KGlobalAccel system in Plasma 6. A few features such as mouse gestures and triggering conditions based on changes to window states are not yet implemented in the new system. These will be added in the future if and when resources materialize for them, and/or when a kind soul submits patches to implement them! :) Meanwhile, the 3rd-party "Mouse Actions" app (https://github.com/jersou/mouse-actions) may be usable for implementing your own mouse gestures again.

Thanks for your understanding, everyone.