Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Konsole does not save/restore tabs/session with Wayland
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
cz0
Guru
Guru


Joined: 13 Jun 2005
Posts: 302
Location: /earth/russia/moscow

PostPosted: Wed Sep 18, 2024 7:46 pm    Post subject: Konsole does not save/restore tabs/session with Wayland Reply with quote

Hi folks!
Besides this https://forums.gentoo.org/viewtopic-t-1170885.html tray icon problem I face another annoying issue with Konsole.
It came out that Konsole is not saving/restoring tabs on restart. I got used to a predefined set and specific colored tabs to handle my 8-12 simultaneous to different production and data centers, but after switching to Wayland Konsole now starts with just one window.

I found an old stack exchange thread here: https://unix.stackexchange.com/questions/593778/kde-konsole-how-to-save-and-restore-current-session/593779

But I wonder if there is any other better way to solve that?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9178

PostPosted: Thu Sep 19, 2024 6:41 am    Post subject: Reply with quote

That limitation was covered by a news item link:
https://community.kde.org/Plasma/Wayland_Known_Significant_Issues#Waiting_on_new_Wayland_protocol
https://bugs.kde.org/show_bug.cgi?id=436318
Back to top
View user's profile Send private message
cz0
Guru
Guru


Joined: 13 Jun 2005
Posts: 302
Location: /earth/russia/moscow

PostPosted: Thu Sep 19, 2024 7:55 am    Post subject: Reply with quote

asturm wrote:
That limitation was covered by a news item link:
https://community.kde.org/Plasma/Wayland_Known_Significant_Issues#Waiting_on_new_Wayland_protocol
https://bugs.kde.org/show_bug.cgi?id=436318

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9178

PostPosted: Thu Sep 19, 2024 8:14 am    Post subject: Reply with quote

That fix is in Gentoo's kde-plasma/plasma-workspace-6.1.5-r1 revbump.
Back to top
View user's profile Send private message
cz0
Guru
Guru


Joined: 13 Jun 2005
Posts: 302
Location: /earth/russia/moscow

PostPosted: Thu Sep 19, 2024 6:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
42n4
n00b
n00b


Joined: 10 Feb 2015
Posts: 16

PostPosted: Fri Sep 20, 2024 7:14 am    Post subject: Reply with quote

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/15
Kernel: Linux 6.10.10-zen1
KDE Plasma 6.1.5
WM: NVIDIA 4060/AMD Wayland
http://bit.ly/gen2ls
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9178

PostPosted: Fri Sep 20, 2024 5:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
42n4
n00b
n00b


Joined: 10 Feb 2015
Posts: 16

PostPosted: Sat Sep 21, 2024 11:02 am    Post subject: Reply with quote

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/15
Kernel: Linux 6.10.10-zen1
KDE Plasma 6.1.5
WM: NVIDIA 4060/AMD Wayland
http://bit.ly/gen2ls
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9178

PostPosted: Sat Sep 21, 2024 11:06 am    Post subject: Reply with quote

Yes, because that is an X11 feature, konsole has nothing to do with it.
Back to top
View user's profile Send private message
cz0
Guru
Guru


Joined: 13 Jun 2005
Posts: 302
Location: /earth/russia/moscow

PostPosted: Sat Sep 21, 2024 3:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum