Review Request 124980: Add org.kde.plasma.private.sessions with a SessionModel

Kai Uwe Broulik kde at privat.broulik.de
Wed Sep 9 20:28:40 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124980/
-----------------------------------------------------------

(Updated Sept. 9, 2015, 8:28 nachm.)


Review request for Plasma and Martin Gräßlin.


Changes
-------

- Address some issues
- Make "reload()" public so you can reload the model on demand (eg right before opening a plasmoid)

I think KDisplayManager needs a complete rewrite if we want to make it async - it still has a ton of legacy stuff (ConsoleKit, KDM, "dunno" (sic) enum values) and more fun.


Repository: plasma-workspace


Description
-------

This way it can be used in the lock screen, user switcher, and a user switcher plasmoid I'm planning.

Compared to the one in the lock screen it can also get the user's full name and avatar, and some other information.

Perhaps we could also try to have it wait for the screen to actually lock before switching sessions?


Diffs (updated)
-----

  components/CMakeLists.txt 21fc61c 
  components/sessionsprivate/CMakeLists.txt PRE-CREATION 
  components/sessionsprivate/qmldir PRE-CREATION 
  components/sessionsprivate/sessionsmodel.h PRE-CREATION 
  components/sessionsprivate/sessionsmodel.cpp PRE-CREATION 
  components/sessionsprivate/sessionsprivateplugin.h PRE-CREATION 
  components/sessionsprivate/sessionsprivateplugin.cpp PRE-CREATION 

Diff: https://git.reviewboard.kde.org/r/124980/diff/


Testing
-------

Lists my sessions, allows to switch between them and start new ones. Locking when creating a new session is missing.


Thanks,

Kai Uwe Broulik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150909/b35a76de/attachment.html>


More information about the Plasma-devel mailing list