Bug 357641

Summary: multiple konsole sessions/tabs are no longer restored on login
Product: [Applications] konsole Reporter: Vadym Krevs <vkrevs>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: major CC: schendel, wbauer1
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vadym Krevs 2016-01-07 09:22:08 UTC
openSUSE Leap 42.1 + latest KDE Frameworks/Applications from openSUSE OBS

Under KDE 4.14 in openSUSE 13.2 one could open several konsole instances (possibly on different virtual desktops), create several tabs in each, rename some/all tabs, then log off from KDE, log back on, and then all  konsole windows with the exact number of tabs/renamed tab titles would get restored on correct virtual desktops.

This no longer works in plasma5 (neither the stock one shipped with openSUSE Leap 42.1 not the latest from OBS). In fact, no konsole instances are re-spawned after login, and so all tab configuration has to be redone from scratch.

$ rpm -qa | egrep "plasma5|framework|konsole" | sort
frameworkintegration-plugin-5.17.0-85.2.x86_64
konsole-15.12.0-1.2.x86_64
konsole4-part-4.14.3-21.1.x86_64
konsole-part-15.12.0-1.2.x86_64
plasma5-addons-5.5.2-74.2.x86_64
plasma5-addons-kimpanel-5.5.2-74.2.x86_64
plasma5-addons-lang-5.5.2-74.2.noarch
plasma5-desktop-5.5.2-128.1.x86_64
plasma5-desktop-branding-openSUSE-13.3-105.2.x86_64
plasma5-desktop-lang-5.5.2-128.1.noarch
plasma5-pa-5.5.2-23.2.x86_64
plasma5-pa-lang-5.5.2-23.2.noarch                                                                                                      
plasma5-pk-updates-0.2-6.2.x86_64                                                                                                      
plasma5-session-5.5.2-54.1.noarch                                                                                                      
plasma5-workspace-5.5.2-158.1.x86_64                                                                                                   
plasma5-workspace-branding-openSUSE-13.3-105.2.x86_64                                                                                  
plasma5-workspace-lang-5.5.2-158.1.noarch                                                                                              
plasma5-workspace-libs-5.5.2-158.1.x86_64                                                                                              
plasma5-workspace-wallpapers-5.5.2-50.1.noarch                                                                                         
plasma-framework-5.17.0-92.2.x86_64                                                                                                    
plasma-framework-components-5.17.0-92.2.x86_64                                                                                         
plasma-framework-lang-5.17.0-92.2.noarch                                                                                               
plasma-framework-private-5.17.0-92.2.x86_64        

Reproducible: Always

Steps to Reproduce:
1. Login into Plasma desktop. Launch two konsole instances. 
2. Create 3 tabs in each konsole instance and rename each created tab.
3. Log off and log on again.

Actual Results:  
There are no konsole instances running after step 3.

Expected Results:  
Two konsole instances are running after step 3, with the exact same configuration (number of tabs, tab titles, location on respective virtual desktop) as before logoff.

Interestingly, non-KDE applications like Pidgin and Thunderbird and Google-chrome do get restarted after step 3 if they were running before log off.
Comment 1 Karl Schendel 2016-02-25 16:06:03 UTC
When I ran into this I thought it was just an aspect of 341143 (multiple virtual desktop fiasco), but it happens even with just one desktop.  Sometimes I get konsole windows on restart but not the sizes and tabs I had when logging off.  Since I start KDE with 8 terminal tabs across 6 windows of very specifically chosen sizes, this is a real time waster.  Fix please!
Comment 2 Wolfgang Bauer 2016-03-06 12:16:55 UTC
Actually this should be fixed in openSUSE Leap 42.1 since the latest update last Tuesday.
See https://bugzilla.opensuse.org/show_bug.cgi?id=955280 and https://bugs.kde.org/show_bug.cgi?id=354724

And it was no bug in Konsole anyway, but a general problem with Qt5 applications.

If your distribution doesn't backport the patches, you'll have to wait for KDE Frameworks 5.20.0 and Qt 5.6.0 though.

*** This bug has been marked as a duplicate of bug 354724 ***