[Konsole-devel] [Bug 288200] [PATCH] "konsole --nofork" crashes when started not from terminal

Jekyll Wu adaptee at gmail.com
Fri Jan 13 13:58:09 UTC 2012


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





--- Comment #9 from Jekyll Wu <adaptee gmail com>  2012-01-13 13:58:09 ---
(In reply to comment #8)

I just tried the code with or without that commit. The results are the same as
you have described. 

However, I'm not sure that can be called as bug. The intention of --new-tab
option is try to reuse existing konsole process (if POSSIBLE) and create new
tab in that process. If such konsole process does not exist, new konsole
process will be used.

Although how KUniqueApplication works is still like black magic to me,  I guess
any KUniqueApplication started with the NonUniqueInstance flag will lose the
possibility of being reused. And konsole started from xterm is a good example.

Personally, I think the side effect of konsole being a KUniqueApplication is
really confusing. I would say konsole abuses KuniqueApplication for performance
and some nice features(including this --new-tab option). But a terminal
emulator is not supposed to be unique process. And I think the primary goal of 
 KUniqueApplication is ensuing uniqueness, instead of being reused to save
resources.

Anyhow, the situation is unlikely to change in the near future. I will try to
add some explanation into the handbook for those strange bahaviors due to
KUniqueApplication.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.



More information about the konsole-devel mailing list