[plasma/plasma-desktop] 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 84784ea3f7e94c51be1b76c5420782c7f5198a77 by Akseli Lahtinen.
Committed on 20/07/2026 at 10:18.
Pushed by akselmo into branch 'master'.

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

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

https://invent.kde.org/plasma/plasma-desktop/-/commit/84784ea3f7e94c51be1b76c5420782c7f5198a77

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.