floss.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
For people who care about, support, and build Free, Libre, and Open Source Software (FLOSS).

Administered by:

Server stats:

685
active users

KDE

Plasma developer David Edmundson demonstrates how a desktop using Wayland, Qt6 and KWin can recover from a catastrophic crash as if nothing had happened.

blog.davidedmundson.co.uk/blog

You will lose no data, the video you were watching will not skip a frame, and the contents of your clipboard will remain intact.

tube.kockatoo.org/w/5C7uct72cx

@kde@lemmy.kde.social

blog.davidedmundson.co.ukQtWayland 6.6 Brings Robustness Through Compositor Handoffs – David Edmundson's Web Log

The same principles can be applied to jumping from one desktop environment to another, for example, from to ...

tube.kockatoo.org/w/gT1rKp7QWu

... 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.

tube.kockatoo.org/w/3Sb8KKCmdQ

@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.

@Bright5park @kde

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…)

@kde I’m 100 per cent sold on #Gnome but I really love to see this! And I hope KDE and Gnome will work even closer together in the future.

@user8e8f87c @kde The ability to quickly switch to GNOME for testing every now and then also makes me very excited, everyone wins from this.

@ridge @kde Yes and this might also inspire #GTK to have the same feature. In the future this might let us suspend our apps to disc like I think Android does.

@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.

@kde

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.

@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.

@kde Could be helpful for the steam deck. Switching between desktop and gaming mode

@kde

I think there may be more fundamental issues to be dealing with. I found Gnomes tracker3 service to be stuck in a loop permanently eating cpu when installing kde on Ubuntu LTS 22.04. I had to chmod 000 gnomes tracker3 binaries as systemd was impotent. An average user would have degraded KDE expereience due to Gnomes fault! This happened on one system but not another with the obvious symptom being that the laptops fans were always on.

@kde really wish there was a guide on how to implement this

The same principles can be applied to jumping from one desktop environment to another, for example, from #Plasma to #Gnome…

tube.kockatoo.org/w/gT1rKp7QWu7S4GYsKtw87x

… 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.

tube.kockatoo.org/w/3Sb8KKCmdQcPgoQsyK24YE

@kde I'm very interested on how #gtk will handle this, especially for very long running applications such as IDE's or Emacs.
Currently GTK commits suicide for you if it looses the connection to the Wayland display server by calling _exit().

That’s so cool, love to see advancements like this

Compositor handoff to switch between desktops looks legendary! I super hope something like that becomes stable and officially supported somewhere, it would be so fun to use

@kde@floss.social @kde@lemmy.kde.social the future is now! I like how many cool technologies emerge from wayland

we keep saying: KWin Wayland is genuinely great these days

@kde@floss.social @kde@lemmy.kde.social Enlightenment had this features for years. Not only on wayland but in xorg too.

Hoorah for Enlightenment then? 🤷

Hopefully there will be more support for this than just Qt6, especially for stuff like Firefox

Holy fucking shit this is incredible

I can’t wait until this makes it to gnome

@kde@floss.social @kde@lemmy.kde.social Very cool. Here’s hoping to see this in @gnome one day too.

PS. I’m sure you’re aware of it but, just in case, the window positions/dimensions appear to be lost on the restart. (An issue I have on GNOME too whenever it returns from suspend.)

Gloom OPPS I meant Gnome is a dirt word.

This is so cool, I can’t wait for KDE plasma 6

@kde@floss.social @kde@lemmy.kde.social this robustness feature is one of the most of exciting things to happen in a long time (especially for any of us who have experienced issues with graphics drivers).

David also mentions on his blog post how it's sped up KDE development - anyone who has done any sort of livecoding will be familiar with that feeling.

blog.davidedmundson.co.uk/blog

What about Gtk ?

There is #Gtk 4 patch:
invent.kde.org/plasma/kwin/-/w

It depends on a #Mesa patch -
invent.kde.org/plasma/kwin/-/w

blog.davidedmundson.co.ukQtWayland 6.6 Brings Robustness Through Compositor Handoffs – David Edmundson's Web Log