It blocks KRunner while the application is loading and in some cases (like Kate's session selection dialog) might never return.
CCBUG: 361917
davidedmundson |
Plasma |
It blocks KRunner while the application is loading and in some cases (like Kate's session selection dialog) might never return.
CCBUG: 361917
Works. KRunner now always closes right away when launching the appliation rather than sometimes staying longer when the app takes a while or even never closing in case of Kate.
Lint Skipped |
Unit Tests Skipped |
This now matches what Icon is doing, but Kicker is using:
new KRun(QUrl::fromLocalFile(service->entryPath()), 0, true, ...);
This puts the kservice parsing into being done by klauncher/kinit which seems more "right".
Does using ->exec() skip the KAuthorised check?
It'll also be even faster as it'll return straight away, this still blocks a tiiiny amount until we roundtrip to kinit.