Commit 6d16583e authored by Eike Hein's avatar Eike Hein

Useful error output when shell loading is aborted due to kactivitymanagerd not being activatable

Summary:
Ran into this gotcha the other day, and it was impossible to resolve
without code debugging.

Reviewers: #plasma, bshah

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18493
parent ec7f62b7
......@@ -639,9 +639,14 @@ QString ShellCorona::shell() const
void ShellCorona::load()
{
if (m_shell.isEmpty() ||
(m_activityController->serviceStatus() != KActivities::Controller::Running &&
!qApp->property("org.kde.KActivities.core.disableAutostart").toBool())) {
if (m_shell.isEmpty()) {
return;
}
if (m_activityController->serviceStatus() != KActivities::Controller::Running &&
!qApp->property("org.kde.KActivities.core.disableAutostart").toBool()) {
qWarning("Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.");
qWarning("If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.");
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment