GNOME Bugzilla – Bug 300206
whole line gets reported every time <space> is pressed
Last modified: 2006-05-16 22:44:13 UTC
Distribution/Version: JDS Rel3 B32 Using gnopernicus 0.10.5 and gnome-terminal 2.6 - Start gnopernicus with speech enabled. - Open a terminal - Type "ls". ("l" "s" is reported) - Press <space> ("space" is reported) - Press <backspace> (nothing is reported) - Press <space> Notice that while the user is on this current line, pressing <space> will report the whole line, instead of just "space". The whole line will also be reported if the user types in a character after a space. I thought a bug was already logged against this, but I couldn't find it.
This is a failure of the "navigation guessing" heuristic that gnopernicus uses, and as such is nearly a duplicate of the various 'error reading a line in gedit' family of bugs.
The problem here is not the "navigation guessing" in gnopernicus. Events received from terminal are not correct. The events below are obtained starting first the terminal, then the test program, then moving back to terminal and pressing "l", "s", " ", BACKSPACE, " ". 0: 80783b8p focus: for Terminal() role terminal with details 0 0 STATE: ENABLED FOCUSABLE FOCUSED SENSITIVE SHOWING VISIBLE Events for "l": 1: 80783b8p object:text-caret-moved for Terminal() role terminal with details 22 0 2: 80783b8p object:text-changed:insert for Terminal() role terminal with details 21 1 Events for "s": 3: 80783b8p object:text-caret-moved for Terminal() role terminal with details 23 0 4: 80783b8p object:text-changed:insert for Terminal() role terminal with details 22 1 Events for " ": 5: 80783b8p object:text-caret-moved for Terminal() role terminal with details 24 0 6: 80783b8p object:text-changed:insert for Terminal() role terminal with details 24 1 Events for BACKSPACE: 7: 80783b8p object:text-caret-moved for Terminal() role terminal with details 23 0 8: 80783b8p object:text-changed:insert for Terminal() role terminal with details 25 55 Events for " ": 9: 80783b8p object:text-caret-moved for Terminal() role terminal with details 24 0 So, a text-insert event is obtained in case of pressing BACKSPACE. Also, pressing " " after doesn't generate a new text-insert event. Transferring bug to vte.
It looks like bug #150858.
*** This bug has been marked as a duplicate of 150858 ***