Bug 501041 - Common Actions shortcuts doesn't have "Find Action"
Summary: Common Actions shortcuts doesn't have "Find Action"
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keys (other bugs)
Version First Reported In: 6.3.0
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2025-03-04 06:15 UTC by forestbeasts
Modified: 2025-03-11 04:57 UTC (History)
4 users (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 forestbeasts 2025-03-04 06:15:43 UTC
SUMMARY
I'd like to be able to globally set the Find Action shortcut (the "command palette" popup search-through-actions feature), instead of having to change it in every app individually. But it doesn't seem to be in System Settings.

STEPS TO REPRODUCE
1. Go to System Settings > Shortcuts > Common Actions > Help.
2. Look for "Find Action".

OBSERVED RESULT
There's only a few shortcuts to tweak, and Find Action isn't in the list.

EXPECTED RESULT
Find Action is configurable.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 13 (trixie)
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
I'm not sure how the Common Actions shortcuts are actually implemented – I wonder if it'd be possible to just add it to the config file in the meantime, as if it already existed, and have it work?

-- Frost
Comment 1 fanzhuyifan 2025-03-04 06:19:46 UTC
It is just called Find. It is in Shortcuts > Common Actions > Edit.
Comment 2 forestbeasts 2025-03-04 06:21:34 UTC
(In reply to fanzhuyifan from comment #1)
> It is just called Find. It is in Shortcuts > Common Actions > Edit.

Hmm, I don't think that's the same thing. Isn't that for finding text in a document, rather than for searching through the application's menus and whatnot?
Comment 3 forestbeasts 2025-03-04 06:22:42 UTC
Also Edit > Find is ^F by default, while Find Action seems to be Ctrl-Alt-I (at least in Dolphin and Kate).
Comment 4 fanzhuyifan 2025-03-04 06:29:03 UTC
Ah sorry -- yeah Find Action is different from Find.

The code defining standard actions lives here: https://invent.kde.org/frameworks/kconfig/-/blob/master/src/gui/kstandardshortcut.h
Comment 5 forestbeasts 2025-03-04 06:30:39 UTC
Oh sweet, thanks! I had no idea where to even start looking.

I'll have a poke, this looks like it might not be too daunting to make a patch for!
Comment 6 fanzhuyifan 2025-03-04 06:37:44 UTC
(In reply to forestbeasts from comment #5)
> Oh sweet, thanks! I had no idea where to even start looking.
> 
> I'll have a poke, this looks like it might not be too daunting to make a
> patch for!

great!

You will probably also want to patch both kconfig and kxmlgui

Currently the code adding Find Action shortcut lives here: https://invent.kde.org/frameworks/kxmlgui/-/blob/f8169f7dced007e74a0bd11d74028ff6f99c42f0/src/kxmlguiwindow.cpp#L191

Some examples of adding standard actions can be found here: https://invent.kde.org/frameworks/kxmlgui/-/blob/f8169f7dced007e74a0bd11d74028ff6f99c42f0/src/khelpmenu.cpp#L129
Comment 7 forestbeasts 2025-03-04 09:57:44 UTC
Hmm. I've tried to patch kconfig and kxmlgui, but I still don't see a new action in System Settings (trying `LD_LIBRARY_PATH=/usr/local/lib kcmshell6 kcm_keys`). Does kcm_keys need to be rebuilt from source too or something?
Comment 8 forestbeasts 2025-03-04 10:32:14 UTC
Well I tried signing up with the SSO thing and putting the changes on invent.kde.org, but uh... apparently the weird "firstname lastname" requirements go WAY beyond the signup form. It's straight-up *rejecting my git push*. I'd love to contribute, but... yeah.

Not exactly welcoming there.
Comment 9 David Redondo 2025-03-04 10:49:27 UTC
The requirement is so people don't forget to setup git correctly and real name is preferred. If you want to commit pseudonymous just add a second word or enter a space.