Investigate DBus usage in KService
Open, Needs TriagePublic

Description

DBus and KDBusAddons are used in only two places.

  • KDBusServiceStarter: already deprecated
  • KToolInvokation: Used to do some KInit/KLauncher stuff. If KInit dies this should die as well

Related Objects

alex added a subscriber: alex.Apr 20 2021, 10:35 AM

Could we move this to "Waiting on KF6 Branching"? We have agreed on removing KToolInvocation and as you have said KDBusServiceStarter is already deprecated.

dfaure added a subscriber: dfaure.Apr 20 2021, 12:04 PM

Hmm hmm. If I implement KTerminalLauncherJob using a DBus interface, and move it to KService for KF6 according to the current plan, then we'll still have a dependency to DBus in KService. Same for the pending support for DBus-launching applications in ApplicationLauncherJob.

https://gitlab.freedesktop.org/xdg/xdg-specs/-/issues/54
https://invent.kde.org/frameworks/kio/-/merge_requests/406

Better keep a DBus dependency in KService than having to use KIO to launch commands and applications, I guess?

alex added a comment.Apr 20 2021, 12:29 PM

Better keep a DBus dependency in KService than having to use KIO to launch commands and applications, I guess?

But that could maybe be opt-out on non-unix platforms, as discussed in T12083

And if the investigation shows that the current stuff can go away, but we need DBus for the things you mentioned the task seems kinda successful to me :)

dfaure moved this task from Backlog to Done on the KF6 board.Apr 21 2021, 6:12 AM

Sure that would be Unix only.

Yep, this is the end of the investigation I guess.