backspacing over space produces bogus events
@sthibaul
Submitted by Samuel Thibault Link to original bug (#754964)
Description
Created attachment 311233 fix
Hello,
We are having issues with the brltty screen reading of gnome-terminal, and it seems the bug is in VTE.
To reproduce, run cat without parameters, then type space, then backspace, space, backspace, space, backspace, etc.
The AT-SPI signals emitted by VTE will be insert " ", caret move to second character, then delete " " and caret move to first character, then caret move to second character (with no insert), then delete " " and caret move to first character, etc.
The result is that brltty rightfully removes the leading text character by character, up to the end of the string. It then produces very odd results when reading the rest of the screen.
VTE should either insert the spaces again, or just not delete them.
The attached patch disables what is apparently emitting the delete events. With that applied, the emitted signals are insert " ", caret move to second character, then caret move to first character, then caret move to second character, then caret move to first character, etc. and the result in brltty becomes correct.
Attachment 311233, "fix":
fix
Version: git master
Resolution: RESOLVED FIXED