Bug 486429

Summary: After upgrade from Fedora 39 to Fedora 40 Konsole windows on the system start don't re-open with the tabs as they were left in the end of the session.
Product: [Applications] konsole Reporter: Anatoly <anatoly.osiko>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: grave CC: bugs.kde.org, subscriber
Priority: NOR    
Version: 24.02.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Anatoly 2024-05-02 05:43:12 UTC
Over all the decades I've been using Konsole app I took for granted this very useful productivity feature: the Konsole sessions have been saved and the windows with all their tabs got re-opened exactly in the same state as they at the system shutdown.

However, after upgrade from Fedora 39 to Fedora 40 Konsole windows on the system start reopen in the pristine state with one default tab ~ (home folder).

I tried find a reason or solution - no luck. 

Also, the arrow Up/Down arrow keys used to allow to navigate up and down the history of the commands executed in a tab - no more.

SUMMARY


STEPS TO REPRODUCE
1. Open one or more Konsole windows
2. Open two or more tabs in each, in each tab cd to various folders (the name of each will match to the default %d pattern, i.e. the name of the current folder
3. Reboot

OBSERVED RESULT
The windows started with a single tab, set to the %HOME folder - the previous sessions are not preserved
EXPECTED RESULT
All Konsole windows opens with all tabs, in exactly the same state. If the Konsole window was assigned to a particular virtual desktop (I have set of four), then it's location is retained too. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Linux  6.8.7-300.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 17 19:21:08 UTC 2024 x86_64 GNU/Linux 
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7-7600U CPU @ 2.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Manufacturer: HP
Product Name: HP ZBook 15u G4


Also, the arrow Up/Down arrow keys used to allow to navigate up and down the history of the commands executed in a tab - no more.
Comment 1 Anatoly 2024-08-09 12:12:06 UTC
Scroll is back after one of the upgrades.
Comment 2 Eric S 2024-11-09 16:58:47 UTC
I am seeing the same thing with openSUSE Tumbleweed, after my last upgrade. But Konsole 24.02.2 was not part of that upgrade, it had been upgraded earlier without breaking this functionality. 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 3 Eric S 2024-11-09 17:02:58 UTC
Probably same bug as https://bugs.kde.org/show_bug.cgi?id=492662