[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 285054] Make it possible to define startup-activity
From:       Chani <chanika () gmail ! com>
Date:       2011-10-27 2:55:25
Message-ID: E1RJG7p-0000Xu-8g () bugs ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=285054





--- Comment #1 from Chani <chanika gmail com>  2011-10-27 02:55:24 ---
I always intended to do this someday. :)

Whoever implements this: please do careful testing to make sure the session
management doesn't break. so long as every activity that was running on logout
is still running on login, and all you change is which one is *current*, you
should be fine. otherwise, you invoke the wrath of XSMP... ;)

The tricky bit: if the activity to activate on login is stopped, you'll have to
open it, and XSMP can't open it until the login-session is fully restored. The
best approach would be to make it current right away (for cleanliness) but
delay the XSMP-loading part until it's safe. How to know when it's safe is a
different question... you'll have to look at (and probably tweak) how the
activitymanager daemon talks to ksmserver, because I can't remember how robust
I made that code, or if ksmserver has a dbus signal when it's finished login.

I'll leave this assigned to plasma, although I think it covers a few code
modules (some KCM module & activitymanagerd at least)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic