Bug 351500

Summary: org.kde.kuiserver dbus service provided by both kuiserver (kde-runtime) and kuiserver5 (from plasma-workspace)
Product: [Plasma] plasmashell Reporter: Rex Dieter <rdieter>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: anakin.cs, bhush94, fademind, hrvoje.senjan, mail, plasma-bugs
Priority: NOR    
Version: 5.3.2   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1249157
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rex Dieter 2015-08-19 21:28:47 UTC
plasma-workspace's kuiserver5 was made to be parallel-installable with kde-runtime's kuiserver, except they both try to claim/use
org.kde.kuiserver
on dbus.

We only noticed this in fedora, because initial testing of kdbus (kernel dbus) exposed this (and kdbus disallows it)

Reproducible: Always
Comment 1 Bhushan Shah 2015-08-20 14:08:22 UTC
Yep, it hit me and other user too while testing plasma-workspace-units

https://github.com/eliasp/plasma-workspace-units/issues/19

Not sure what would be preferred way of fixing this..
Comment 2 Rex Dieter 2015-08-20 14:39:03 UTC
See also,
https://git.reviewboard.kde.org/r/117876/
Comment 3 Rex Dieter 2015-08-20 14:47:29 UTC
My guess: if the kde4 kuiserver cannot be replaced by kuiserver5 (which I assume is true), then kuiserver5 needs to change to use a different dbus address, probably (something like):
org.kde.kuiserver5
Comment 4 Rex Dieter 2015-10-07 22:09:31 UTC
I have a proof-of-concept patch that adapts things to use org.kde.kuiserver5 instead.  I'll do a bit more testing and submit to reviewboard soonish.
Comment 5 Rex Dieter 2015-10-12 16:54:29 UTC
See:
https://git.reviewboard.kde.org/r/125610/
Comment 6 Hrvoje Senjan 2015-10-12 18:15:42 UTC
May i suggest another solution: create a CMake option for kde-runtime not to build kuiserver. (Whether this should be ON or OFF by default, i'd rather not say =)
Comment 7 Rex Dieter 2015-10-13 17:51:36 UTC
Git commit be3ee5b9a36e1b7f3c6eab466e33762ae101b3c6 by Rex Dieter.
Committed on 13/10/2015 at 17:51.
Pushed by rdieter into branch 'Applications/15.08'.

make kglobalaccel,khelpcenter,kuiserver bits optional (default ON)

Allow some items to be disabled that could undesirable on plasma5

M  +3    -3    CMakeLists.txt

http://commits.kde.org/kde-runtime/be3ee5b9a36e1b7f3c6eab466e33762ae101b3c6