|Summary:||gnome-terminal handles input slowly and slows down as lines become long|
|Product:||[Retired] Red Hat Raw Hide||Reporter:||Luca Barbieri <ldb>|
|Component:||vte||Assignee:||Ray Strode [halfline] <rstrode>|
|Status:||CLOSED NOTABUG||QA Contact:|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2004-11-09 16:08:06 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Cloudforms Team:||---||Target Upstream Version:|
Description Luca Barbieri 2003-01-28 12:01:18 UTC
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030117 Description of problem: gnome-terminal seems to handle cursor moving, insertion and pasting with worse than O(n) algorithms where n is the length of the current line. Furthermore such algorithms are slow even at the start of the line. Version-Release number of selected component (if applicable): gnome-terminal-2.2.0-1 How reproducible: Always Steps to Reproduce: 1. Paste a string several thousands characters long in gnome-terminal 2. Move with the left/right arrows within it Actual Results: Pasting is very slow, and becomes even slower as the operation progresses. The screen is redrawn after every character Moving is also very slow. If you press an arrow several times and then stop, gnome-terminal is so slow that it will continue to process the old keystrokes for some time. Expected Results: Both operations should happen instantaneously. The screen should only be redrawn when the whole string has been pasted.
Comment 1 Luca Barbieri 2003-01-28 21:49:00 UTC
s/worse than O(n)/non-constant time, probably O(n)/
Comment 2 Nalin Dahyabhai 2003-05-22 20:47:01 UTC
Is this at a shell prompt? If so, then it's probably specific to the shell rather than the terminal.
Comment 3 Ray Strode [halfline] 2004-11-09 16:08:06 UTC
Hi Luca, This does not appear to be a bug in gnome-terminal or vte. If I type "cat" at the prompt and paste a line of text that is several thousand characters long there is no noticeable delay in the text getting pasted. I'm going to close this bug, but if you are still experiencing this problem, feel free to open a bug against the shell that you use. Thanks.