Bug 405798 - Konsole becomes unusable after a search is made, even after cancellation
Summary: Konsole becomes unusable after a search is made, even after cancellation
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: history (show other bugs)
Version: 18.12.2
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-24 05:16 UTC by A. Wilcox (awilfox)
Modified: 2021-03-15 04:33 UTC (History)
0 users

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 A. Wilcox (awilfox) 2019-03-24 05:16:45 UTC
SUMMARY
Let us assume we have a large scrollback buffer in a Konsole tab, from compiling a lot of packages.  (I am a distro package maintainer.)

Let us also assume I need to search the scrollback for a phrase.  So I use Konsole's search functionality.  I type in a phrase ("libjni" in this case).  It scrolls to the result after a considerable amount of time, highlighting it in red.  The entire Konsole process is very laggy and unresponsive (even in other tabs) during this time; even switching tabs takes multiple seconds.

Even after closing the search view, Konsole continues to be laggy for at least 10 minutes until it finally finishes.  All the while, the terminal tab shows "activity" (possibly highlighting other matches? not sure) even though there is no activity happening in that terminal tab.


STEPS TO REPRODUCE
1. Build software in a Konsole tab.  Lots of scrollback; my example had 173 MB of history.
2. Attempt a search in the tab.
3. Close / cancel the search.


OBSERVED RESULT
Still extremely laggy for minutes.


EXPECTED RESULT
No more lag after the search is closed or cancelled, even if the rest of history has not been searched yet.


SOFTWARE/OS VERSIONS
Linux gwyn 4.14.88-mc13-easy-power8 #1 SMP Fri Feb 22 21:12:46 UTC 2019 ppc64
KDE Plasma Version: 5.12.7
KDE Frameworks Version: 5.54.0
Qt Version: 5.9.7


ADDITIONAL INFORMATION
Comment 1 Kurt Hindenburg 2021-02-13 17:37:08 UTC
18.12 is rather old now - reopen if you can still reproduce w/ a recent version
Comment 2 Bug Janitor Service 2021-02-28 04:33:14 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
mark the bug 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 3 Bug Janitor Service 2021-03-15 04:33:42 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!