Jump to content

Plasma/Next/SessionManagement

From KDE Community Wiki

Session Management contains the authentication, start, running and log out of the current session. It includes starting the workspace and needed components, and managing their lifetime. Examples are login manager integration, splash, screen locking, user switching and logging out.


Functional Elements

Fast user switch

Goal

Related Epics

  • Look and Feel Package: ...
  • Desktop elegance: ...
  • Session management process: ...

Integration Story

Porting status

Roadmap

Maintainer

ksmserver

Goal

Bring back ksmserver from KDE4. It should do XSMP-compatible session management. Ideally, no major interventions should be necessary, except for making sure it works with plain QApplications.

Related Epics

  • Look and Feel Package: QML bits for the shutdown UI
  • Desktop elegance: as long as it works smoothly we're ok
  • Session management process: restarts a saved session late in the startup sequence

Integration Story

Started by the startkde script, as ksmserver --restore. Starts kwin (or another chosen wm) as early as possible. Kwin does some of the session saving/restoring - from what I gather this is because of the shortcomings of XSMP. Some windows are saved in XSMP session files, some as commands to run by kwin in kwin's session file. Messy but works, if we poke at it gently it should keep working as it has for the past 13 years.

Porting status

Builds and links, doesn't work yet. Help needed for the QML bits.

Roadmap

Bring back existing functionality ASAP, then investigate QApplication behavior and make it pretty. Finally, port KCM.

Maintainer

Teo Mrnjavac <[email protected]>

Splash Screen (KSplash)

Goal

The splash should hide visual noise during loading of the workspace from the user and shorten the experienced time until the desktop is up. This process should be visually seamless without jumping background images, smoothly blending from the login manager disappearing until the workspace is loaded and usable.

Epics

  • Look and Feel Package: QML bits are shared here
  • Desktop elegance: Splash is an important part of first impression
  • Session management process: splash as part of the login process

Integration Story

The splash screen is brought up by the login manager. It loads QML files from the Look and Feel package to provide visual coherence. Once the desktop is loaded, the splashscreen disappears.

Porting status

KSplashQML is ported to Qt5 and fully functional with its default theme. A basic port of the classic KSplashX to QML is on reviewboard.

Overall KSplashQML needs to be integrated with the login manager, and its QML bits need moving into the L&F package.

Roadmap

  • Merge patch (ongoing right now)
  • until 15 November:
    • move QML bits into L&F package
    • investigate and draft plan with SDDM developers
  • until end November
    • implement changes in SDDM
  • Review and iterate

Maintainer

  • Martin Klapetek (mck182)

Lock screen

Goal

Related Epics

  • Look and Feel Package: ...
  • Desktop elegance: ...
  • Session management process: ...

Integration Story

Porting status

Roadmap

Maintainer

Login / Display Manager

Goal

Related Epics

  • Look and Feel Package: ...
  • Desktop elegance: ...
  • Session management process: ...

Integration Story

Porting status

Roadmap

Maintainer

Log out UI

Goal

Related Epics

  • Look and Feel Package: ...
  • Desktop elegance: ...
  • Session management process: ...

Integration Story

Porting status

Roadmap

Maintainer

startkde

Goal

Related Epics

  • Look and Feel Package: ...
  • Desktop elegance: ...
  • Session management process: ...

Integration Story

Porting status

Roadmap

Maintainer