Bug 422834 - Logout process no longer works correctly
Summary: Logout process no longer works correctly
Status: RESOLVED DUPLICATE of bug 422870
Alias: None
Product: plasmashell
Classification: Plasma
Component: Lock/logout (show other bugs)
Version: 5.19.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-11 17:09 UTC by BingMyBong
Modified: 2020-06-13 09:24 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BingMyBong 2020-06-11 17:09:34 UTC
SUMMARY
Before installing Plasma 5.19 (tumbleweed:20200609), logout applet on my machine would execute the logging out process immediately without confirmation and also run the logout script i had configured in systemsettings5 as part of this sequence. 

Now it blanks out the desktop and displays a screen with choices of "Sleep Hibernate Restart Shutdown Log Out" with "Shutdown" on a 30 second timer countdown as the default selection. 
I used systemsettings5 “Workspace/Startup and Shutdown/Desktop Session/Offer Shutdown options” to remove the “Restart” and Shutdown” options so now it only displays "Sleep Hibernate Log Out" but it still has "Shutdown" on a 30 second timer countdown as the default selection.

If you select “Logout”, it ignores the configured logout script and goes straight back to the login screen.

STEPS TO REPRODUCE
1. Login and do you stuff
2. Click logout via applet
3. 

OBSERVED RESULT
Desktop blanked out, new screen displayed with options "Sleep Hibernate Restart Shutdown Log Out" with "Shutdown" on a 30 second timer countdown as the default selection. 

EXPECTED RESULT
Logout process without confirmation and running logout scripts and returning to login screen.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.19
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
ADDITIONAL INFORMATION
Comment 1 BingMyBong 2020-06-11 17:25:26 UTC
CORRECTION:
It does run my logout script but it does not display the progress as it did before, it uses "qdbus" to display  - this no longer works with 5.19
Comment 2 Paul 2020-06-12 07:49:16 UTC
Also seeing the same behaviour, likewise after the update to Plasma 5.19.0

From "System Settings -> Startup and Shutdown -> Desktop Sessions" I have:
"Confirm Logout" deselected
"Offer Shutdown Options" selected

Selecting "Restart" or "Shutdown" either from "Menu -> Power/Session" or from the desktop right click context menu "Leave" does not result in a restart or shutdown, but a return to the SDDM login screen.

Operating System: openSUSE Tumbleweed 20200609
KDE Plasma Version: 5.19.0
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
Kernel Version: 5.6.14-1-default
OS Type: 64-bit
Processors: 2 × AMD Athlon(tm) 64 X2 Dual Core Processor 5600+
Memory: 3.8 GiB of RAM
Graphics Processor: NV84
Comment 3 BingMyBong 2020-06-12 10:26:28 UTC
(In reply to BingMyBong from comment #0)
> SUMMARY
> Before installing Plasma 5.19 (tumbleweed:20200609), logout applet on my
> machine would execute the logging out process immediately without
> confirmation and also run the logout script i had configured in
> systemsettings5 as part of this sequence. 
> 
> Now it blanks out the desktop and displays a screen with choices of "Sleep
> Hibernate Restart Shutdown Log Out" with "Shutdown" on a 30 second timer
> countdown as the default selection. 
> I used systemsettings5 “Workspace/Startup and Shutdown/Desktop Session/Offer
> Shutdown options” to remove the “Restart” and Shutdown” options so now it
> only displays "Sleep Hibernate Log Out" but it still has "Shutdown" on a 30
> second timer countdown as the default selection.
> 
> If you select “Logout”, it ignores the configured logout script and goes
> straight back to the login screen.
> 
> STEPS TO REPRODUCE
> 1. Login and do you stuff
> 2. Click logout via applet
> 3. 
> 
> OBSERVED RESULT
> Desktop blanked out, new screen displayed with options "Sleep Hibernate
> Restart Shutdown Log Out" with "Shutdown" on a 30 second timer countdown as
> the default selection. 
> 
> EXPECTED RESULT
> Logout process without confirmation and running logout scripts and returning
> to login screen.
> 
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma: 
> (available in About System)
> KDE Plasma Version: 5.19
> KDE Frameworks Version: 5.70.0
> Qt Version: 5.15.0
> ADDITIONAL INFORMATION

It doesn't always blank out the desktop before giving the "Sleep Hibernate Restart Shutdown Log Out" menu choices so it looks weird overlaying the desktop - the blanking out maybe a different problem not related to logout issue - i'm forever getting crap on the screen from previous sessions when logging in/out instead of a blank screen until the desktop or login screen appears.
Comment 4 Wolfgang Bauer 2020-06-12 19:21:38 UTC
(In reply to Paul from comment #2)
> From "System Settings -> Startup and Shutdown -> Desktop Sessions" I have:
> "Confirm Logout" deselected
> "Offer Shutdown Options" selected
> 
> Selecting "Restart" or "Shutdown" either from "Menu -> Power/Session" or
> from the desktop right click context menu "Leave" does not result in a
> restart or shutdown, but a return to the SDDM login screen.
There are other bug reports about this:
https://bugs.kde.org/show_bug.cgi?id=422853
https://bugs.kde.org/show_bug.cgi?id=422870
Comment 5 BingMyBong 2020-06-12 20:09:02 UTC
(In reply to Wolfgang Bauer from comment #4)
> (In reply to Paul from comment #2)
> > From "System Settings -> Startup and Shutdown -> Desktop Sessions" I have:
> > "Confirm Logout" deselected
> > "Offer Shutdown Options" selected
> > 
> > Selecting "Restart" or "Shutdown" either from "Menu -> Power/Session" or
> > from the desktop right click context menu "Leave" does not result in a
> > restart or shutdown, but a return to the SDDM login screen.
> There are other bug reports about this:
> https://bugs.kde.org/show_bug.cgi?id=422853
> https://bugs.kde.org/show_bug.cgi?id=422870

Seems like the logout process is in a bad way as those bugs are different but related
Comment 6 Nate Graham 2020-06-13 00:25:06 UTC
This one is essentially the same as Bug 422870.

*** This bug has been marked as a duplicate of bug 422870 ***
Comment 7 BingMyBong 2020-06-13 09:20:29 UTC
(In reply to Nate Graham from comment #6)
> This one is essentially the same as Bug 422870.
> 
> *** This bug has been marked as a duplicate of bug 422870 ***
Comment 8 BingMyBong 2020-06-13 09:24:42 UTC
(In reply to BingMyBong from comment #7)
> (In reply to Nate Graham from comment #6)
> > This one is essentially the same as Bug 422870.
> > 
> > *** This bug has been marked as a duplicate of bug 422870 ***

Not sure how this is a duplicate of 422870 as i can logout, it gives me a menu to choose from and it actually logs out when i click the logout on this menu.
Maybe its all related to ending a session in a bad way though and one fix will cure all the different variations