fix(quickshell): clear launcher search field on reopen
Update PKGBUILD version / update-pkgver (push) Successful in 6s

The host's Loader keeps the LauncherPopout instance alive across
close/reopen, so a stale query from the previous open lingered in the
search field. Reset the input in focusFirst() (called by PopoutHost on
every open); the text reset cascades through onTextChanged -> query ->
currentIndex.
This commit is contained in:
2026-07-15 15:25:38 +02:00
parent 5fe7d2aaeb
commit 152253642a
@@ -43,7 +43,10 @@ Item {
}
// The host focuses this on open (PopoutHost's focusFirst path) — hand focus to the search field.
// Clear first: the host's Loader keeps this instance alive across close/reopen, so a stale query
// from the previous open would otherwise linger (text reset feeds onTextChanged -> query -> currentIndex).
function focusFirst() {
input.text = "";
input.forceActiveFocus();
}