Bug 492662 - tabs opened in konsole are not restored after relogin in Plasma
Summary: tabs opened in konsole are not restored after relogin in Plasma
Status: RESOLVED DUPLICATE of bug 461780
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: qt6, wayland-only
Depends on:
Blocks:
 
Reported: 2024-09-04 20:26 UTC by Piotr Mierzwinski
Modified: 2025-02-15 21:44 UTC (History)
6 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 Piotr Mierzwinski 2024-09-04 20:26:48 UTC
SUMMARY
I use KDE Neon unstable edition with Plasma 6.2 dev. I have turned on restore session of Plasma. Usually I open couple terminal sessions (bash and mc) in konsole (couple tabs). Unfortunately after next login to Plasma I lost all session and get only one opened tab.

STEPS TO REPRODUCE
1. Set restore session in KDE/Plasma
2. Start konsole and open couple tabs, for example with bash
3. Restart your PC

OBSERVED RESULT
Only one tab in started konsole (with bash).

EXPECTED RESULT
Should be restored all opened tabs started before unlogin of Plasma.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.1.80
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Comment 1 Piotr Mierzwinski 2024-10-23 22:18:35 UTC
In KDE/Plasma 5 restoring all tabs in konsole (X11 session) were restored. In KDE/Plasma 6 this stooped working.
It looks like some regression.
Comment 2 Łukasz 2024-10-28 01:14:42 UTC
I can confirm this happens from time to time but not always. I'm not sure if it's actually a Konsole-related bug, maybe it's a wider KDE session save problem.

Konsole Version: 24.08.2
Operating System: openSUSE Tumbleweed 20241025
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.5-1-default (64-bit)
Comment 3 Eric S 2024-11-09 17:02:08 UTC
I am seeing the same thing with openSUSE Tumbleweed, after my last upgrade. FWIW Konsole was already at 24.02.2 and this functionality was still working. The upgrade that broke this functionality upgraded plasma from 6.2.2 to 6.2.3. It also broke dolphin session save / restore in a similar way.
Comment 4 Eric S 2024-11-09 17:13:00 UTC
I should have emphasized, I'm using X11.
Comment 5 Piotr Mierzwinski 2024-11-30 00:21:20 UTC
(In reply to Eric S from comment #4)
> I should have emphasized, I'm using X11.
This report is about Wayland. I think you may open new one report related to X11.

I think restore session in konsole didn't work from the very beginning in Wayland.
When I used X11, then all was fine, but when I move to Wayland then restore session in konsole stopped work. I think I moved to Wayland when version 6.1 was released and of course restore session of Plasma was missing then (I mean this prosthesis what recently was added in stable version and is still even in version coming from git).
Comment 6 GianPiero Puccioni 2024-12-17 15:02:17 UTC
Same happened here, an update from Fedora 39 to 40 (and that means from X11 to wayland) broke the session restore.

In addition to that I noticed that running "konsole --help-all" lists 
--session <session>                  Restores the application from an earlier session.
but running 
konsole --session  ~/.config/session/konsole_<numbers>
doesn't work and start with the default (but does not give any error so it does recognizes the command).
Also the options (from the view menu) "save tab layout" "load tab layout" don't work either.
Thanks,
G
Comment 7 John Kizer 2025-02-15 21:44:11 UTC
*** This bug has been marked as a duplicate of bug 461780 ***