If a new Konsole instance is launched via DBus (e. g. single process
mode), it re-used the QCommandLineParser each time, so each new instance
would inherit all parsed options.
Most noticeably is if you have konsole running, press Shift+F4 in
Dolphin to launch a Konsole instance in the current folder (which leads
Konsole to use a temporary profile), and then try to open a new konsole
instance outside of that, it would open in the folder from Dolphin.
REVIEW: 129217
Update the tab title to current program running.
Martin, this "if" was committed in
79ca76a946. For now, I removed the "if"
CCBUG: 368785
(cherry picked from commit 3747ecfde0)
These 2 were hard coded - this allow them to be set in the profile.
There is currently no UI for these; add these to profile:
[General]
TerminalMargin=1
TerminalCenter=false
Thanks to Josef Kufner jk frozen doe net for patch
It appears the center flag doesn't work and perhaps hasn't for a long
time.
BUG: 346450
If the user presses e. g. arrow up, we should actually scroll down. What
I intended to fix was only the case where the user only pressed a
modifier.
And hardcoding a list of keys and behaviors is bad and bug prone, so I
think this is the best solution.
REVIEW: 128827
The only processes that are "safe" or require us to send an EOF to
terminate cleanly are shells, so verify that people didn't run with -e
tmux or similar.
REVIEW: 128791
BUG: 367746
(cherry picked from commit ce4ab92249)
The old method of checking it has unnecessary overhead (doing a full
process info update), and wasn't very reliable.
Instead just get the original shell PID from QProcess (via KProcess),
and the foreground process from the PTY.
CCBUG: 367746
REVIEW: 128789
(cherry picked from commit 79ca76a946)
Session management would start 2 konsole windows upon login.
Thanks John Stanley (jpsinthemix gmail com) for patch
BUG: 367447
(cherry picked from commit 5b11fd593b)
Instead of manually deleting the output suspended label let the QObject
cleanup handle it.
Now it is first deleted manually by us, leading to a potential crash,
and afterwards the QObject cleanup runs, but luckily it doesn' try to
destroy it again.
REVIEW: 128667
BUG: 366706
(cherry picked from commit b2b852cfd7)
The only processes that are "safe" or require us to send an EOF to
terminate cleanly are shells, so verify that people didn't run with -e
tmux or similar.
REVIEW: 128791
BUG: 367746
The old method of checking it has unnecessary overhead (doing a full
process info update), and wasn't very reliable.
Instead just get the original shell PID from QProcess (via KProcess),
and the foreground process from the PTY.
CCBUG: 367746
REVIEW: 128789
This changes the process info code to only update the information that
can change about a process when updating information about a process.
CCBUG: 325442
REVIEW: 128777
Instead of manually deleting the output suspended label let the QObject
cleanup handle it.
Now it is first deleted manually by us, leading to a potential crash,
and afterwards the QObject cleanup runs, but luckily it doesn' try to
destroy it again.
REVIEW: 128667
BUG: 366706