Plasma developer David Edmundson demonstrates how a desktop using Wayland, Qt6 and KWin can recover from a catastrophic crash as if nothing had happened.
http://blog.davidedmundson.co.uk/blog/qt6_wayland_robustness/
You will lose no data, the video you were watching will not skip a frame, and the contents of your clipboard will remain intact.
... And can provide a way to save *the state* of an application to disk, stopping the app in its tracks and removing it from memory, so that later you can restore it just where you left off.
@kde Yo, application snapshots? Switching DEs within seconds? What is this sorcery?
Really though, I can already think of a certain handheld gaming PC that would really benefit from saving and restoring the state of applications to and from disk, both in a gaming context and for more seamless switching between gaming and desktop modes.
Not only switching desktops in seconds, but you take all your open windows with you, all the graphical applications in the exact same state they were on the other desktop!
@Bro666 @kde That will be a really great power-saving measure for Linux phones in particular.
Application has been sitting there, doing nothing for a while? Instead of just closing it, just commit the state to disk, and put a marker somewhere to signify that the app should be restored on next launch.
...actually... if two systems are close enough in terms of installed packages, kernel and package versions and hardware, I wonder if you could transfer the state of an application between them.
@kde this opens up great possibilities, thrilled for the future (power saving possibilities, seamless movement between devices, switching DEs/WMs…)
@user8e8f87c @kde The ability to quickly switch to GNOME for testing every now and then also makes me very excited, everyone wins from this.
@kde checkpoint restore would be a godsend for debugging issues that are hard to reproduce!
Much more useful than "send me the logs" and praying that logging has sufficient details.
@kde I wonder how this will enable new ways to share apps. Pretty interesting concept. And fantastic for mobile devices.
This would be amazing for games that take forever to load. When you want to exit the game just save it’s state to the disk, and the next time you want to play it just resume and boom! Instead of waiting for 3 minutes, you can play it almost immediately.
cough GTA cough
@kde this feels like forbidden magic. Will probably take a lot of work to get this done and integrated into plasma, but it would be worth it.