Kirigami.SearchField has this functionality built in, but it doesn't seem to be working.
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/743
Git commit 666f24718510c338552d345f5a87e25eb1803dce by James Graham. Committed on 03/01/2023 at 18:06. Pushed by nvrwhere into branch 'master'. Fix Ctrl + F not working Fix Crtl + F not working by only having the shortcut assigned to a single searchfield. - Ctrl + F is now for the roomlist search - The user search in the room drawer is now ctrl + shift + f - for the emoji picker and qucik switcher these have the shortcut removed and focus is managed by the popup. M +10 -0 src/qml/Component/Emoji/EmojiPicker.qml M +5 -0 src/qml/Component/QuickSwitcher.qml M +8 -0 src/qml/Dialog/EmojiDialog.qml M +2 -0 src/qml/Panel/RoomDrawer.qml https://invent.kde.org/network/neochat/commit/666f24718510c338552d345f5a87e25eb1803dce