[vte/vte-0-42] a11y: Emit missing space character insertion
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-0-42] a11y: Emit missing space character insertion
- Date: Wed, 7 Oct 2015 20:35:59 +0000 (UTC)
commit b9597d6fe5accf929db5cd71daf524ba540edcf3
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date: Thu Oct 1 01:33:00 2015 +0200
a11y: Emit missing space character insertion
When backspacing over space, content comparison would not find any
difference, so vte always emits a space character deletion by hand,
so that screen readers speak it, see bug 150858. That however makes
the announced text incoherent, thus confusing brltty.
This commit adds emitting a space character insertion, to get back to
coherent content.
https://bugzilla.gnome.org/show_bug.cgi?id=150858
https://bugzilla.gnome.org/show_bug.cgi?id=754964
(cherry picked from commit 17c23b253eb96227d036768ebbf101930aadec73)
src/vteaccess.cc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/vteaccess.cc b/src/vteaccess.cc
index e33b3fd..c5c6414 100644
--- a/src/vteaccess.cc
+++ b/src/vteaccess.cc
@@ -441,6 +441,8 @@ vte_terminal_accessible_text_modified(VteTerminal *terminal, gpointer data)
old, caret_offset, 1);
priv->snapshot_text = saved_text;
priv->snapshot_characters = saved_characters;
+ emit_text_changed_insert(G_OBJECT(accessible),
+ old, caret_offset, 1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]