Bug 485974 - Session Restore Hangs
Summary: Session Restore Hangs
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Session Management (other bugs)
Version First Reported In: 6.0.3
Platform: Other Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-22 18:03 UTC by mikar_gibbros
Modified: 2025-02-03 03:47 UTC (History)
3 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 mikar_gibbros 2024-04-22 18:03:59 UTC
SUMMARY

STEPS TO REPRODUCE
1. Enabling "System Settings/Session/Desktop Session/Session Restore/On login, launch apps that were open:" to "On last logout".
2. Open flatpak Notepadqq 2.0.0~beta (flathub-beta) with multiple tabs, some unsaved.
3. Open flatpak LibreWolf 124.0.1-1 (flathub) with multiple tabs in multiple windows.
4. Reboot to login screen.
5. Login.

OBSERVED RESULT
6. Device Hangs. Many more windows of Notepadqq and LibreWolf will open then before. For T Notepadqq last session tabs, Notepadqq is opening T windows, each containing the T previous tabs. For T tabs from W LibreWolf last session windows, LibreWolf is opening the W previous windows plus many more windows that just contain an empty new tab (It may be opening T windows but hangs before I can find out).

EXPECTED RESULT
*unreported bug exists*
Repeat Steps 1. to 6.
7. Hold down power button for 5 seconds til device loses power.
8. Boot device to login screen.
9. Displayed in the login screen, is either an always present option or present after an incomplete/questionable last boot option to boot into "Rescue Mode" that ignores the Session Restore Settings while in Rescue Mode (or if needed reboot with "systemd.unit=rescue").
10. Disable Session Restore, fixing system without using another device to search for hours for a solution, like entering rescue mode, but none of which actually work to enter Rescue Mode. (Adding "systemd.unit=rescue" to the end of the "linux" line in GRUB didn't work. Using Ctrl+Alt+F2 to run a terminal then using "systemctl rescue" didn't work).
11. Create new account with kde and file a bug report.
12. Wait (for Session Restore fix, then wait for upstream to patch, then wait for my distro plus DE to patch).
*reported bug fixed*
13. Enable Session Restore.
14. Reboot and device doesn't hang.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: bazzite-asus-nvidia:40 (Fedora Atomic 40)
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Comment 1 mikar_gibbros 2024-04-22 18:07:11 UTC
*Edit* 10. Using Ctrl-Alt-F2 in the Login Screen.
Comment 2 mikar_gibbros 2024-04-22 18:12:11 UTC
*edit* 14: Reboot. Session Restore correctly reopens apps with multiple tabbed windows and doesn't hang.
Comment 3 mikar_gibbros 2024-04-22 18:26:30 UTC
*edit, sorry* SUMMARY: Session Restore Hangs when incorrectly reopening apps with multiple tabbed windows.
Comment 4 John Kizer 2025-01-04 14:44:10 UTC
Hi - thank you for the bug report! Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with the current version of Plasma, version 6.2?

Thanks,
Comment 5 Bug Janitor Service 2025-01-19 03:47:37 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2025-02-03 03:47:04 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.