Bug 304786 - --new-tab option does not work with the restored konsole
Summary: --new-tab option does not work with the restored konsole
Status: CONFIRMED
Alias: None
Product: konsole
Classification: Applications
Component: single-process (show other bugs)
Version: 2.9
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-08 11:34 UTC by razrfalcon
Modified: 2023-11-25 19:25 UTC (History)
1 user (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 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.