[plasma/plasma-desktop/Plasma/6.7] emojier/app/ui: emojier: Focus emojiView on downPressed when using search

Akseli Lahtinen <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 6f3b39870e167355b1767e9a4018b3c87d46f564 by Akseli Lahtinen.
Committed on 22/07/2026 at 07:43.
Pushed by akselmo into branch 'Plasma/6.7'.

emojier: Focus emojiView on downPressed when using search

When in search field, pressing down arrow should focus
the emoji view. This ensures the active focus is changed.

BUG: 523254
FIXED-IN: 6.7.4


(cherry picked from commit 84784ea3f7e94c51be1b76c5420782c7f5198a77)

Co-authored-by: Akseli Lahtinen <[email protected]>

M  +1    -0    emojier/app/ui/CategoryPage.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/6f3b39870e167355b1767e9a4018b3c87d46f564

diff --git a/emojier/app/ui/CategoryPage.qml b/emojier/app/ui/CategoryPage.qml
index c2bc3e1f6a..cb5a705dcc 100644
--- a/emojier/app/ui/CategoryPage.qml
+++ b/emojier/app/ui/CategoryPage.qml
@@ -76,6 +76,7 @@ Kirigami.ScrollablePage {
                 Keys.onDownPressed: event => {
                     emojiView.currentIndex = Math.max(emojiView.currentIndex, 0)
                     event.accepted = false
+                    emojiView.forceActiveFocus(Qt.TabFocusReason)
                 }
 
                 Binding {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.