1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-04 04:28:30 -04:00

launcher: don't select pre-filled queries, exclude from memory

port 1.5

(cherry picked from commit ea66b136ba)
This commit is contained in:
bbedward
2026-07-13 10:31:17 -04:00
committed by dms-ci[bot]
parent 58530ae56c
commit 28c25d46d5
9 changed files with 107 additions and 16 deletions
@@ -36,6 +36,7 @@ Item {
property int viewModeVersion: 0
property string viewModeContext: "spotlight"
property bool forceLinearNavigation: false
property bool explicitQuerySession: false
signal itemExecuted
signal searchCompleted
@@ -54,7 +55,7 @@ Item {
if (active)
return;
SessionData.addLauncherHistory(searchQuery);
SessionData.addLauncherHistory(searchQuery, explicitQuerySession);
sections = [];
flatModel = [];
selectedItem = null;
@@ -1940,7 +1941,7 @@ Item {
if (!item)
return;
SessionData.addLauncherHistory(searchQuery);
SessionData.addLauncherHistory(searchQuery, explicitQuerySession);
if (item.type === "plugin_browse") {
var browsePluginId = item.data?.pluginId;