View previous topic :: View next topic |
Author |
Message |
cz0 Guru
Joined: 13 Jun 2005 Posts: 310 Location: /earth/russia/moscow
|
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9270
|
|
Back to top |
|
|
cz0 Guru
Joined: 13 Jun 2005 Posts: 310 Location: /earth/russia/moscow
|
Posted: Thu Sep 19, 2024 7:55 am Post subject: |
|
|
Oh shi.. it is there since 5.24 oh..
But looks like we have a winner:
Quote: |
Git commit fae71841ff018e34bbb02aa1098b53f63c1743d2 by Fushan Wen.
Committed on 17/09/2024 at 07:53.
Pushed by fusionfuture into branch 'Plasma/6.2'.
startkde: Fix wayland session restore saving
|
I wonder how long it will take 6.2 roll into Gentoo stable. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9270
|
Posted: Thu Sep 19, 2024 8:14 am Post subject: |
|
|
That fix is in Gentoo's kde-plasma/plasma-workspace-6.1.5-r1 revbump. |
|
Back to top |
|
|
cz0 Guru
Joined: 13 Jun 2005 Posts: 310 Location: /earth/russia/moscow
|
Posted: Thu Sep 19, 2024 6:12 pm Post subject: |
|
|
asturm wrote: | That fix is in Gentoo's kde-plasma/plasma-workspace-6.1.5-r1 revbump. |
Thank you. Will keep an eye in this marked stable. |
|
Back to top |
|
|
42n4 n00b
Joined: 10 Feb 2015 Posts: 23
|
Posted: Fri Sep 20, 2024 7:14 am Post subject: |
|
|
I installed kde-plasma/plasma-workspace-6.1.5-r1 and still no progress. Konsole restarts with one tab, even before shutdown had several ones in different directories. Any clues how to restore konsole tabs in wayland? _________________ OS: Gentoo 2.15 gcc13/14
Kernel: Linux 6.11.3-zen1
KDE Plasma 6.2.0
WM: NVIDIA 4060/AMD Wayland
http://bit.ly/gen2ls |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9270
|
Posted: Fri Sep 20, 2024 5:22 pm Post subject: |
|
|
If applications themselves do not have the ability to restore sessions, which konsole appears to lack indeed, there is nothing Plasma can currently do in a wayland session. It is simply a limitation right now.
Quote: | 2024-02-23 This Week in KDE - Real Fake Session Restore
Even though we don’t have real session restore on Wayland yet (it’s still waiting for the protocol to be finalized), now we have the next best thing: fake session restore that simply re-opens apps you had open at the last logout and relies on them to have internally saved their own state appropriately. |
|
|
Back to top |
|
|
42n4 n00b
Joined: 10 Feb 2015 Posts: 23
|
Posted: Sat Sep 21, 2024 11:02 am Post subject: |
|
|
asturm wrote: | If applications themselves do not have the ability to restore sessions, which konsole appears to lack indeed, there is nothing Plasma can currently do in a wayland session. It is simply a limitation right now.
Quote: | 2024-02-23 This Week in KDE - Real Fake Session Restore
Even though we don’t have real session restore on Wayland yet (it’s still waiting for the protocol to be finalized), now we have the next best thing: fake session restore that simply re-opens apps you had open at the last logout and relies on them to have internally saved their own state appropriately. |
|
But konsole has restored tabs in X11 session... _________________ OS: Gentoo 2.15 gcc13/14
Kernel: Linux 6.11.3-zen1
KDE Plasma 6.2.0
WM: NVIDIA 4060/AMD Wayland
http://bit.ly/gen2ls |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9270
|
Posted: Sat Sep 21, 2024 11:06 am Post subject: |
|
|
Yes, because that is an X11 feature, konsole has nothing to do with it. |
|
Back to top |
|
|
cz0 Guru
Joined: 13 Jun 2005 Posts: 310 Location: /earth/russia/moscow
|
Posted: Sat Sep 21, 2024 3:46 pm Post subject: |
|
|
Recently I saw another miracle: I started session using X11, opened several tabs in Konsole and then started Wayland. And guess what? All my tabs including theirs colors were restored in Wayland session! But after I started Wayland session again - Konsole appeared with an empty window. All this is buggy as hell. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9270
|
Posted: Sat Sep 21, 2024 8:36 pm Post subject: |
|
|
No, it is not buggy. It is just as I explained. X11 can save your session, Wayland has no protocol for that yet. The Plasma session management paths are shared partially between X11 and Wayland, so it appears Plasma Wayland can restore your X11 session, but not save one (at least not beyond it's "fake" session support), because that is fundamentally an X11 function. |
|
Back to top |
|
|
42n4 n00b
Joined: 10 Feb 2015 Posts: 23
|
Posted: Thu Sep 26, 2024 8:40 am Post subject: |
|
|
asturm wrote: | No, it is not buggy. It is just as I explained. X11 can save your session, Wayland has no protocol for that yet. The Plasma session management paths are shared partially between X11 and Wayland, so it appears Plasma Wayland can restore your X11 session, but not save one (at least not beyond it's "fake" session support), because that is fundamentally an X11 function. |
Do they have any plans for adding this protocol to wayland? It is just a normal feature for a typical user.
By the way I have found a temporary solution:
https://unix.stackexchange.com/questions/593778/kde-konsole-how-to-save-and-restore-current-session/593779?answertab=modifieddesc#tab-top
a script konsole_snapshot.py which can save tabs with directories and load them with new konsole window. You can create many konsole instances with saved tabs.
Very funny and useful solution. _________________ OS: Gentoo 2.15 gcc13/14
Kernel: Linux 6.11.3-zen1
KDE Plasma 6.2.0
WM: NVIDIA 4060/AMD Wayland
http://bit.ly/gen2ls |
|
Back to top |
|
|
|