Bug 387833 - konsole scrollback functionality often vanishes
Summary: konsole scrollback functionality often vanishes
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 16.12.3
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-12-12 16:14 UTC by Adam Felson
Modified: 2021-06-15 17:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Felson 2017-12-12 16:14:41 UTC
konsole will often get into a mode where scrollback functionality vanishes and using the scrollwheel activates command history recall.  The only way to fix it is to close the session and start a new one.
Comment 1 Kurt Hindenburg 2018-01-14 17:33:37 UTC
Do you have the ability to try a later Konsole version?  Also have you changed the scrollback option?

The 2GB issue was fixed in 17.08 - are you hitting that limit?
Comment 2 Kurt Hindenburg 2018-02-14 03:41:50 UTC
reopen if you still have issues after upgrading to 17.08  or verifying you hit the 2GB limit
Comment 3 Andrew Crouthamel 2018-09-28 03:21:19 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Adam Felson 2018-09-28 19:43:23 UTC
I've found that the command 'tput reset' cures it.
No idea what the cause is.  It seems random.
Comment 5 Andrew Crouthamel 2018-09-29 02:02:19 UTC
Thanks for the update!
Comment 6 Lindsay Roberts 2018-10-10 19:25:55 UTC
I can reproduce on git master with the following steps:

1) Open new tab
2) $ ssh <some_machine>
3) In the ssh session: $ vim
4) On the machine running konsole, kill the ssh session

Seems to work with other programs that have their own scroll mechanisms also, e.g. tmux
Comment 7 ninjalj 2021-06-15 17:01:58 UTC
Konsole, like XTerm, supports two different buffers, the Normal Screen Buffer, which supports scrollback, and the Alternate Screen Buffer, which is typically used by full-screen applications and doesn't support scrollback.  XTerm's documentation about this feature is available at https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-The-Alternate-Screen-Buffer

The following command goes back to the Normal Screen Buffer, and does some other cleanup to exit full-screen applications:

tput rmcup