The global application menu has a search field now
Diff Detail
- Repository
- R120 Plasma Workspace
- Branch
- arcpatch-D29466
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 27086 Build 27104: arc lint + arc unit
Is it possible to integrate the search into the help menu, if it exists already or create an entry for it. Much like macOS does.
There's no reliable way to figure out which menu is the "help" one, and there's not a reliable way of modifying a menu for this kind of functionality besides appending a new entry to the end.
applets/appmenu/plugin/appmenumodel.cpp | ||
---|---|---|
246 ↗ | (On Diff #82144) | Extract the list into a variable before iterating, else this might blow up See https://github.com/KDE/clazy/blob/master/docs/checks/README-temporary-iterator.md |
applets/appmenu/plugin/appmenumodel.h | ||
---|---|---|
70 ↗ | (On Diff #82144) | actions are needed as non-const |
Can this be moved to krunner? In that case it can be used even when the user doesn't use global menu?
I don't think think so, this search works in the app action menu items. Krunner is completely detached from applications.
@ngraham any thoughts perhaps ?
Putting it in KRunner could make at least a little bit of sense if it worked everywhere--i.e. with in-window menubars as well. However since it does not, I think the current location makes sense.
Could you move this to GitLab maybe?