That was not an actual problem before KDE 4.8, because the old code
guaranteed when Session::processId() was called, the session had
already started running so it wouldn't return 0.
Since KDE 4.8, that guarantee was not there any more since a hard-coded
200ms delay is introduced to avoid the session starting "too quickly".
In short, this is another side effect of the fix for infameous BKO #176902.
See https://bugzilla.novell.com/show_bug.cgi?id=745954 for one concrete
issue caused by this underlying problem
It is decided to not reimplement this feature in KDE4 konsole:
* It is non-trivial work to implement it correctly
* It annoyed some users when it was available in KDE3 konsole
* Not many users want this feature back
This is a follow up of commit cee0ce539b
CCBUG:172271
REVIEW:104156
Users can now change the tab title through "\e]30;Tab Title\a" .
This is a feature previously available in KDE3 konsole.
FEATURE: 179142
FIXED-IN: 4.9.0
REVIEW: 103862
I failed to see the intention of adding some environment variables in
class Session while adding some other environment variables in class
Pty. The current way makes Pty::start() contain too many parameters,
which looks ugly and is not easy to understand.
The only side effect of this commit is dbus method environment() will
return more. I don't think that would be harmful.
Its naming scheme is "/Windows/N", similar to "/Sessions/N" for
sessions. That is not the final decision and might change before next
major release.
The old "/Konsole" dbus object is still available at this moment, but
it might disappear or be used for something different in the future, so
it is better to use "/Windows/N" from now on.
For convenience, $KONSOLE_DBUS_WINDOW can be used to refer to the dbus
object corresponding to the Konsole window containing current session.
Note, that environment variable does not work well with detaching and
draging. Maybe it should not be added at all.
CCBUG:276912
CCBUG:281513
CCBUG:292309
REVIEW:103790
That fix is not good enough because it makes '%w' being updated only
after keystroke instead of immediately . The issue of updating title is
actually a little more complicated than I have understood.
Revert it because the regression should influence more users than the
fixed problem does. Need to spend more time to find a better fix.
CCBUG: 175755
CCBUG: 287536
This reverts commit 1c1981501b.
It is not intuitive and easy for users to find they need also
call dbus method setTabTitleFormat() to avoid that title being
replaced on session activity.
BUG: 262089
FIXED-IN: 4.8
The fix is quite simple. Just move the existing code for expanding
%# and %w into Session::getDynamicTitle(), where all other tab title
formatters are expanded. That also makes the code simple and natural.
BUG: 175755
FIXED-IN:4.8
The activity notification is now masked for a while after it is triggered.
That is basically what KDE3 konsole does. The mask interval is intended
to avoid the flooding of notification and is hardcoded as 15 seconds
at the moment. Maybe that interval should be user configurable.
FIXED-IN:4.8
CCBUG: 257752