From f31adb1c65681083b2d539a8cb977bee304c8f04 Mon Sep 17 00:00:00 2001 From: Méven Car Date: Sat, 2 May 2026 14:17:56 +0200 Subject: search/popup: hide the popup when launching kfind Otherwise the focus can be passed. --- src/search/popup.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/search/popup.cpp b/src/search/popup.cpp index 94ec378bf..66dc4f7e4 100644 --- a/src/search/popup.cpp +++ b/src/search/popup.cpp @@ -341,6 +341,10 @@ void Popup::slotKFindButtonClicked() if (kFind) { auto *job = new KIO::ApplicationLauncherJob(kFind); job->setUrls({m_searchConfiguration->searchPath()}); + + // must hide the parent pop, so the focus switches correctly + hide(); + job->start(); return; } -- cgit v1.3