Bug 304786

Summary: --new-tab option does not work with the restored konsole
Product: [Applications] konsole Reporter: razrfalcon
Component: single-processAssignee: Konsole Developer <konsole-devel>
Status: CONFIRMED ---    
Severity: normal CC: argus.ua
Priority: NOR Keywords: reproducible
Version: 2.9   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=477496
Latest Commit: Version Fixed In:

Description razrfalcon 2012-08-08 11:34:58 UTC
See "Steps to Reproduce"

Reproducible: Always

Steps to Reproduce:
1. Open Konsole
2. Reboot (with "Restore previous session" selected)
3. Launch "konsole --new-tab" by hotkey or krunner (Alt+F2)
4. We get new Konsole window, but not a new tab
Actual Results:  
Detect existing Konsole after reboot.
Comment 1 argus.ua 2012-08-08 11:56:05 UTC
Affected Kubuntu 12.04 also.
Comment 2 Jekyll Wu 2012-08-08 13:06:13 UTC
That for reporting. I can confirm that issue.

The problem is the restored konsole process has dbus address like "org.kde.konsole-<pid>", while the "--new-tab" option only works with the konsole process owning dbus address "org.kde.konsole" in current implementation.
Comment 3 Jekyll Wu 2012-08-14 13:42:59 UTC
[Developer note]

The related commit is http://commits.kde.org/konsole/6b811ec2b6e4fbf459af9765c9ead506c9a0cd3c, which makes konsole avoid the "single process" model when some Qt/KDE options are given. See bug 179010 and bug 297801 for the reason behind that change.

Maybe I should create a component dedicate for all those issues related with this "single process" model.