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
It's apparently not possible to set WA_TranslucentBackground after
show(). The MainWindow constructor calls applyKonsoleSettings() which
calls KMainWindow::setAutoSaveSettings() which in turn calls
setVisible(true), which makes any calls to setTransparency() from the
Application::newMainWindow() irrelevant, even if updateUseTransparency()
is called from it.
REVIEW: 128669
BUG: 366368
Take into account menubar visibility when sizing a new window.
Note that this is only used when 'Use current window size on next
startup' is unchecked.
Thanks to Roman Gilg subdiff gmail com for patch
BUG: 359662
REVIEW: 27803
Change the stand alone ManageProfiles dialog into a tab inside the
Configure Konsole window.
Side effect is that Konsole KParts can't open manage profiles.
Currently, when unlimited scrollback is used, the files are stored in
/tmp. As noted in the bug report, this can cause issues on some
distros. The default is still /tmp but the user can selected to use
a location in their $HOME folder (QStandardPaths::CacheLocation).
This is somewhat a WIP. Allowing for the changes to take effect
immediately appears to be a gigantic mess to get to work.
CCBUG: 173283
This removes the profile setting to 'Save window size upon exit'. Now
it is in the Konsole settings; each profile can now set desired column
and row size.
Konsole Settings->Configure Konsole->General->Use current window size
on next startup:
Enabled - ignores all profile size settings - uses previous window size
Disabled - profile size settings are used - set via Edit Current
Profile 1st tab
Only new windows will use "new" col/row/size settings.
BUG: 152385
REVIEW: 115628
FIXED-IN: 2.13
(cherry picked from commit 931d64df81)
Currently, the default stylesheet for the tab bar just sets the min
and max width. Now the user can load a .css file. It is up to the
user to generate the css file to their liking. Handbook documentation
and examples will follow.
This can be used to set minimum width of the tabs, distinguish active
tab, etc...
BUG: 330252
BUG: 330558
BUG: 330556
FEATURE:
REVIEW: 115554
FIXED-IN: 2.13
(cherry picked from commit da9331e0e9)
This may be overkill but for now add option to remove app name from
title. The option is in the app-wide General Configure settings and
doesn't add unreasonable space to the dialog.
REVIEW: 115354
FEATURE: 307355
FIXED-IN: 2.13
(cherry picked from commit db6d9de83e)
Instead of just counting the number of open sessions check what
processes are actually running in them when displaying the confirmation
dialog when closing a window.
(cherry picked from commit e0e7136b0c)
TerminalDisplayAccessible is disabled for Qt5 currently since I don't
have any experience with accessible stuff and it is more complicated
than just changing a few includes
REVIEW: 111937
To build for KF5 pass the option -DQT5_BUILD=ON to CMake
TerminalDisplayAccessible is disabled for Qt5 currently since I don't
have any experience with accessible stuff and it is more complicated
than just changing a few includes
REVIEW: 111937
Neither of the two standard shortcuts used here are *guaranteed* to be
present (kdelibs filters both with some KAuthorized magic, and
help_contents also depends on the documentation subsystem), so avoid
crashing just because they're not around.
First noticed on my Gentoo-provided Konsole which is compiled without
the handbook USE flag.
(cherry picked from commit 8950584966)