From 76982e5de60fc3a4950999f105df67dcad5c4afc Mon Sep 17 00:00:00 2001 From: Eric Handley Date: Thu, 27 Nov 2025 23:25:01 -0800 Subject: [PATCH] fix: always open to "recent" tab --- Modules/Panels/Launcher/Plugins/EmojiPlugin.qml | 5 +++++ Services/Keyboard/EmojiService.qml | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Modules/Panels/Launcher/Plugins/EmojiPlugin.qml b/Modules/Panels/Launcher/Plugins/EmojiPlugin.qml index 07f038aad..12209416a 100644 --- a/Modules/Panels/Launcher/Plugins/EmojiPlugin.qml +++ b/Modules/Panels/Launcher/Plugins/EmojiPlugin.qml @@ -50,6 +50,11 @@ Item { } } + function onOpened() { + // Always reset to "recent" category when opening + selectedCategory = "recent"; + } + // Check if this plugin handles the command function handleCommand(searchText) { return searchText.startsWith(">emoji"); diff --git a/Services/Keyboard/EmojiService.qml b/Services/Keyboard/EmojiService.qml index e5fc8dcd7..09f1dcb81 100644 --- a/Services/Keyboard/EmojiService.qml +++ b/Services/Keyboard/EmojiService.qml @@ -103,9 +103,8 @@ Singleton { return []; } - // Special case: "recent" category shows popular/recently used if (category === "recent") { - return _getPopularEmojis(50); + return _getPopularEmojis(25); } return emojis.filter(function(emoji) {