Bug 501472 - When an app cancels logout until you handle its prompt, logging out again loses state for what was open at the original logout (which is what you wanted saved)
Summary: When an app cancels logout until you handle its prompt, logging out again los...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Session Management (other bugs)
Version First Reported In: master
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability, wayland-only
Depends on:
Blocks:
 
Reported: 2025-03-13 22:35 UTC by Piotr Mierzwinski
Modified: 2025-03-14 15:49 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2025-03-13 22:35:57 UTC
SUMMARY
I edited sheet in calc (LibreOffice). I forgot save it and called Shutdown from Kicker. Of course during closing of Plasma session appeared confirmation window coming from LibreOffice something like "Do you want to save document?". I clicked "Save", but in the meantime all other windows (KDE applications) have been closed. After that shuting down of Plasma has been stopped. I clicked Shutdown again, but now this was empty session, so in result at the next start nothing was restored.

STEPS TO REPRODUCE
1. Setup restore session in Plasma (on last logout)
2. start couple KDE application (I had konsole, Dolphin, Kate)
3. start Firefox with couple opened tabs
4. start LibreOffice, open new document (I had "calc") and write something (don't save document)
5. call Shutdown from Kickcer

OBSERVED RESULT
appears confirmation windows from LibreOffice and after clicking Save, shuting down the session is stopped

EXPECTED RESULT
appears confirmation windows from LibreOffice and after clicking Save, shuting down the session should not stop

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-03-14 15:49:08 UTC
Can confirm.