[Konsole-devel] [konsole] [Bug 346768] After login only one tab is present, when several tabs where opened before logout.

Stefan Becker chemobejk at gmail.com
Wed May 6 15:43:04 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=346768

--- Comment #9 from Stefan Becker <chemobejk at gmail.com> ---
Added some hack code to src/MainWindow.cpp:

 void MainWindow::saveGlobalProperties(KConfig* config)
 {
-    SessionManager::instance()->saveSessions(config);
+  //    SessionManager::instance()->saveSessions(config);
+  KConfig *new_config = config->copyTo("session/konsole_test");
+  SessionManager::instance()->saveSessions(new_config);
+  delete new_config;
 }

After "Save Session" a new file ~/.config/session/konsole_test is created with
the correct content.

Conclusion: from konsole PoV Session Management is most likely implemented
correctly. I'll have to look at other places for the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list