use one string to convert into
running konsole and doing multiple
dmesg -T
outputs this moves from
calls to allocation functions:
1.875.517 (148.838/s)
temporary allocations:
1.089.598 (58,1%, 86.469/s)
to
calls to allocation functions:
967.566 (102.096/s)
temporary allocations:
216.914 (22,42%, 22.888/s)
even for small runs
After editing the toolbars, all actions disappear from the Plugins menu.
Steps to reproduce:
1. Change the toolbars settings and click apply
(Settings->Configure Toolbars...)
2. Check the contents of the Plugins menu
Expected Result:
The contents of the Plugins menu have not changed
Observed result:
The Plugins menu is empty
Assign the new session Id equal to the maximum existing Id + 1.
The session Id may be displayed in the tab title. If we open 2 tabs and
then close the second one, then the next opened tab will get number 3
instead of number 2, which can be confusing for the user.
BUG: 440878
The flags for a line that is the first in prompt/input/output block
should only be for the first line.
- When splitting a long line to two lines, don't copy those flags.
- When merging two lines, use those flags from the first one.
This fixes bugs reported here: https://gitlab.gnome.org/GNOME/vte/-/issues/2681#note_1903991
This helps with the understanding that we are indeed
handling character codepoints, and not numbers.
This was needed to ensure we don't use deprecated function
calls from Qt, but, all in all, it's a good change
This aims to duplicate the feature "scaled_zoom" of Terminator. This way
of expanding the current terminal is only useful for split views that
have both horizontal and vertical splits, i.e. where the individual
terminal view is smaller than the window in both directions.
The default shortcut is Ctrl+Shift+Z. It is usually bound to Redo, but
since there's no Undo or Redo in terminals, this doesn't actually clash
here.
The magic constant 0.97 comes from Terminator, although in Terminator
the scale factor is calculated using the new number of columns/lines
after resizing, while this commit bases the font size on the sizes in
pixels. In the commit message that introduced the magic value in
Terminator, it is explained as "just more natural", and it seems to work
here too, unlike the vertical magical constant of 1.05. This is all
mostly guesswork, though, as font sizes aren't an exact science - not
even the aspect ratio is guaranteerd to remain the same between font
sizes, just like the aspect ratio before and after maximizing could be
different in the terminal.
With this change, the tests which are implemented check that ProcessInfo can read attributes of a process properly.
The checked attributes are the current working directory of the process, the validity of the process and the name and arguments of the process.
Instead of calling ProcessInfo::readArguments and
ProcessInfo::clearArguments in ProcessInfo::update,
encapsulate logic of refreshing ProcessInfo::_arguments
into ProcessInfo::refreshArguments and call
the method whenever ssh is detected as process.
When ssh is run via 'exec ssh [ssh arguments]', ProcessInfo::_arguments
is not updated since ProcessInfo::readArguments is only called once when
the process is started. Thus, SSHProcessInfo::SSHProcessInfo will have
soft errors since it relies heavily on reading ProcessInfo::_arguments
which are outdated. A solution is to call ProcessInfo::clearArguments
followed by ProcessInfo::readArguments whenever ProcessInfo::update
is called if there is a change in process name.
Otherwise, block selection may not correctly insert spaces/newlines
between lines, since it may obtain only the leftmost character of a CJK
character pair, and put the space in the next character, which will then
be ignored by PlainTextDecoder as if it was the right dummy character of
a CJK character pair.
This was a visual regression. Code using the selection already takes
care of dealing with CJK wide characters (mostly), and the old rendering
in TerminalPainter also did. The new rendering is split in several
layers, which need to know about the selection to use the proper
background and foreground colors, but don't necessarily need to know
about characters, and this caused the regression.
To prevent trouble, we now take care of CJK wide characters before
rendering, when obtaining the characters from the model (Screen), where
characters are marked as selected if they fall into the selection
coordinates.
BUG: 474055
Currently, there is an issue where 'exec [program]' results in tab
titles not being updated and not showing the process name as [program].
This is probably due to how 'exec' does not result in any change in
pid and simply replaces the current process image with a different one.
Due to a lack of pid changes, Session::updateSessionProcessInfo will not
call ProcessInfo::newInstance, thus not updating the ProcessInfo::_name.
This new change periodically checks and updates the _name of ProcessInfo
through ProcessInfo::readProcessName, which is called by
ProcessInfo::update.
BUG: 391128