Skip to content

Fix single runner mode

Alexander Lohnau requested to merge work/fix_single_runner_mode into master

We have to pass the m_runner parameter to the runner manager, otherwise it defaults to an empty string.

The m_runner is already correctly set when we activate the single runner mode using dbus. See https://invent.kde.org/plasma/plasma-workspace/-/blob/master/krunner/view.cpp#L304

BUG: 374518

Test Plan: With the following command only bookmarks will be displayed.
qdbus org.kde.krunner /App org.kde.krunner.App.displaySingleRunner bookmarks

After that launching KRunner with the normal shortcut will go to the normal search mode. Same for a dbus activation, for example using:
qdbus org.kde.krunner /App org.kde.krunner.App.display

@ngraham @davidedmundson @broulik

Edited by Alexander Lohnau

Merge request reports

Loading