Version: 2.7.999 (using KDE 4.7.1) OS: Linux This only happens when the new window(or application) is started from tty. Reproducible: Always Steps to Reproduce: 1, start a new konsole from a terminal in konsole. 2, run `konsole --new-tab` from the new konsole. Actual Results: The new tab is created within the old konsole. Expected Results: The new tab is created in the new konsole.
The steps in the origial report is not clear enough. Here is the clearer steps to reproduce the report problem : 1). open konsole from menu or krunner. Just call it kosole #1. 2). in some shell within konsole #1, invoke 'konsole' to get konsole #2. 3). in some shell wintin konsole #2, invoke 'konsole --new-tab' 4). a new tab is created in konsole #1 That feels unnatural. However, it might be the expected behavior since konsole uses KUniqueApplication.
Well, now I'm more confident this is the (technically) expected result, although it really feels strange to users. --new-tab option will try to reuse an existing konsole process and open new tab in that process. A konsole process is reusable when it is really a KUniqureApplication, which means it uses org.kde.konsole as its dbus address. A konsole process started through krunner is reusable, while a konsole process started from terminal is not. As I have posted in comment #8 of bug 288200, I think there is no good solution to this strange behavior except providing better explanation in the handbook.
Git commit 046ff647f361f1aee69bcc19f4c92b045d81d278 by Jekyll Wu. Committed on 13/01/2012 at 19:39. Pushed by jekyllwu into branch 'master'. Add explanation for possible strange behaviors of the --new-tab option In short words, do not take that option as a serious promise :) M +8 -0 doc/manual/index.docbook http://commits.kde.org/konsole/046ff647f361f1aee69bcc19f4c92b045d81d278
WONTFIX is the word most close to CANTFIX :)