Bug 418140

Summary: konsole feature: Pin bottom line when resizing, not top line
Product: [Applications] konsole Reporter: joeytwiddle
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: justin.zobel, ninjalj
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 21.04
Sentry Crash Report:

Description joeytwiddle 2020-02-24 14:34:59 UTC
SUMMARY

When resizing a Konsole window, I think the bottom line should stay in place, rather than the top line staying in place.
plasma-framework 5.66.0-1

9 times out of 10, when I increase the size of a terminal, it is because I want to see more of the history, not more blank lines at the bottom of the window!

STEPS TO REPRODUCE
1. Start with a small konsole window (e.g. 80x25)
2. Fill it with data, (e.g. find / | head -n 2000)
3. Note that you can only see 25 lines of history, and imagine that you want to see more.
4. So maximize the window (or simply resize it to be larger, e.g. 80x50)

OBSERVED RESULT

We now see the 25 lines of history, and 25 blank lines below that.

EXPECTED RESULT

I would like to see 50 lines of history, filling the window, with no blank lines at the bottom.

In other words, when resizing the window, I would like the bottom line to stay at the bottom of the window, rather than the current behaviour, where the top line sticks to the top of the window.

As I recall that is the behaviour of most of the other terminals I have used (xterm, rxvt, iTerm2 on Mac).

SOFTWARE/OS VERSIONS
Linux: Manjaro 19.0.0 (February 2020) 
KDE Plasma Version: plasma-desktop 5.17.5-2
Konsole Version: konsole 19.12.2-1
KDE Frameworks Version: plasma-framework 5.66.0-1
Qt Version: qt4 4.8.7-29.1 (installed, but I guess not using this one)
Qt Version: qt5-base 5.14.1-1 (probably using this one)
Comment 1 Kurt Hindenburg 2021-02-09 04:20:07 UTC
21.04 will have a "reflow" profile option which should do what you want.