After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 616886 - text-changed::delete events send wrong text over at-spi
text-changed::delete events send wrong text over at-spi
Status: RESOLVED DUPLICATE of bug 611254
Product: java-gnome
Classification: Bindings
Component: ATK
mainline
Other All
: Normal normal
: ---
Assigned To: java-gnome bindings maintainers
java-gnome bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2010-04-26 20:26 UTC by Mike Gorse
Modified: 2010-05-11 08:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mike Gorse 2010-04-26 20:26:41 UTC
When at-spi sends a text-changed signal, it calls atk_text_get_text to retrieve the text that is being inserted or deleted.  Orca uses this information to, for instance, read the character being backspaced over if backspace is pressed.  So, ideally, a text-changed::delete should be fired just before the text is actually removed, so that atk_text_get_text will still return the text that is about to be deleted.

Repro:
1. Run Orca.
2. Run Notepad.jar.
3. In the Text window, press a key, then press backspace.

Actual result:
When backspace is pressed, Orca will say nothing if the last character in the document is removed; otherwise it will speak the character that is now under the cursor.

Expected result:
Orca would speak the character that was just deleted.

You can also test by monitoring text-changed events in Accerciser and looking at the detail.
Comment 1 Mike Gorse 2010-05-10 20:23:55 UTC
Ke, could you take a look at this when you get a chance?
Comment 2 Ke Wang 2010-05-11 08:31:01 UTC

*** This bug has been marked as a duplicate of bug 611254 ***