Bug 497776 - Wishlist: first complete starting plasma, then do session restore
Summary: Wishlist: first complete starting plasma, then do session restore
Status: RESOLVED DUPLICATE of bug 473860
Alias: None
Product: plasmashell
Classification: Plasma
Component: Startup process (show other bugs)
Version: 6.2.4
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-22 10:44 UTC by Sergio
Modified: 2025-01-03 20:25 UTC (History)
2 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 Sergio 2024-12-22 10:44:47 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY

One of my systems is an aging haswell laptop, so it is not too speedy. Yet it is still totally OK for use with KDE. However, there is one thing that could definitely be better. I like to set my system so that on login the applications that were open at logout are restored, and I very much appreciated seeing this functionality recently ported to Wayland sessions. However, there is an annoyance with it. Applications appear to be restored /before/ plasma is fully launched. When the session restore comprises applications that are slow to start on my machine (notably thunderbird), the system remains for a long time with a black screen and no bottom panel which gives the impression that something is broken. This impression is only worsened when the applications start to appear, but still with no bottom panel.

IMHO, the order of things should be the opposite. First the plasma shell should be fully launched, so that its visual elements can get in place in the shortest possible time. Then, when the main elements of the desktop are in place, the application restore should happen 

STEPS TO REPRODUCE
1. Login to KDE
2. Activate "Session Restore, on login launch apps that were open on system logout"
3. Open some applications, including some "heavy" ones such as thunderbird
4. Logout
5. Login again

OBSERVED RESULT

On login, the screen remains black for a relatively long time (a significant time for a machine with a spinning HD!). Then the applications start to appear, but still with no plasma desktop elements. Only later on, the desktop elements and background appear and the applications become manageable.

EXPECTED RESULT

On login, the plasma shell should start as rapidly as possible, then the application restore should begin.

SOFTWARE/OS VERSIONS

Operating System: Manjaro Linux 
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1
Kernel Version: 6.6.65-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-4750HQ CPU @ 2.00GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Pro Graphics P5200
Manufacturer: Notebook
Product Name: W740SU

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-01-03 20:25:12 UTC
*** This bug has been marked as a duplicate of bug 473860 ***