Bug 350036

Summary: kactivitymanagerd start-daemon command fails.
Product: [Unmaintained] kactivitymanagerd Reporter: José Ribeiro <ribeiro.jose.a.n>
Component: generalAssignee: Ivan Čukić <ivan.cukic>
Status: RESOLVED FIXED    
Severity: major CC: bshah, plasma-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description José Ribeiro 2015-07-08 22:10:10 UTC
When I click on System settings => Power Management => Activity Settings I see everything greyed out and I get this message: 

"Power Management configuration module could not be loaded. The activity service is not running. It is necessary to have the activity manager to configure activity-specific power management behavior."

kactivitymanagerd is not running

$ ps ax | grep kactivitymanagerd
3195 pts/1    S+     0:00 grep kactivitymanagerd

Trying to start it:

$ kactivitymanagerd start-daemon
org.kde.kactivities.activities: Starting the KDE Activity Manager daemon QDateTime("2015-07-06 13:12:40.310 WEST Qt::LocalTime")
QWidget: Cannot create a QWidget without QApplication
Aborted (core dumped)

I'm using kde 5.

Reproducible: Always

Steps to Reproduce:
1. When I click on System settings => Power Management => Activity Settings I see everything greyed out and I get an error message.
2. I try to start kactivitymanagerd but it fails



Expected Results:  
I should not see the window greyed out and i should be able to use the lock screen feature.
Comment 1 José Ribeiro 2015-07-08 22:10:57 UTC
The version of the package is:

$ pacman -Q |grep kactivi
kactivities-frameworks 5.11.0-1
libkactivities4 4.13.3-1
Comment 2 José Ribeiro 2015-07-08 22:35:03 UTC
If I remove the directory ~/.config that solves the problem but is only temporary because if I reboot the system the problem arises again.
Comment 3 José Ribeiro 2015-07-09 16:55:55 UTC
I found out If I replace compiz for kwin I am able to use power management, e.g, lock screen feature. Maybe kde5 broke friendship with compiz because in kde4 they coexisted nicely.
Comment 4 Bhushan Shah 2015-07-26 07:16:13 UTC
Can you perhaps try to update to version 5.12 and see if it is fixed? I am using git master and not hitting this.
Comment 5 Ivan Čukić 2015-11-14 18:16:27 UTC
This should be fixed in the latest kactivities. Wait for the next release of Plasma and re-test please.

We do not (at least I do not) test with Compiz, so things might break. It is obviously not intentional, but breakages can happen in (for us) strange setups.