D23283: When asked to switch sessions, skip to session creation if there's nothing to switch to

Nathaniel Graham noreply at phabricator.kde.org
Tue Aug 20 03:08:09 BST 2019


ngraham created this revision.
ngraham added reviewers: Plasma, VDG.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
ngraham requested review of this revision.

REVISION SUMMARY
  Currently, the session switcher screen suffes from a few UX problems:
  
  - There's a fake "start new session" item that looks like a button but isn't clickable
  - Asking to switch users always goes to the screen where you can switch to existing sessions even if there are no existing sessions to switch to, which is an unnecessary extra step
  
  This patch aims to solve those problems in the following ways:
  
  - Don't show a fake "start new session" item; instead add a real button in the UI to do this
  - When asked to show the session management screen and there is only one session so the on;y thing you could do on that screen is create another session, instead just go to session creation directly
  
  BUG: 386361
  FIXED-IN: 5.17.0

TEST PLAN
  1. Have only one session > Kickoff/Kicker/dash/Krunner > Switch User -> you go directly to SDDM where you can start a new session
  2. Start a new session, then Switch user again -> you go to the session management screen where you can switch to the other session, or start a new one

REPOSITORY
  R120 Plasma Workspace

BRANCH
  revamp-session-switching-ux (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D23283

AFFECTED FILES
  components/sessionsprivate/sessionsmodel.cpp
  lookandfeel/contents/lockscreen/LockScreenUi.qml

To: ngraham, #plasma, #vdg
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190820/3a571fcd/attachment-0001.html>


More information about the Plasma-devel mailing list