Apache OpenOffice (AOO) Bugzilla – Issue 34527
Incorrect informations (details) sent by 'object:text-changed:delete' at-spi event
Last modified: 2004-09-27 15:51:00 UTC
When user deletes one(some) char(s)an at-spi 'object:text-changed:delete' event is fired. The two details of this event should provide informations about the current offset (after the char was deleted) and the number of deleted chars. This is the behavior in GTK apps and Swing JTextComponent text (e.g. Stylepad). Currently, in SO these details looks like: detail1=offset after the chars were deleted detail2=offset before delete the chars (no of deleted chars is needed) This bug causes gnopernicus bug http://bugzilla.gnome.org/show_bug.cgi?id=151579
The notion of startIndex / endIndex corresponds exactly to the new interfaces introduced in Java 1.5 (see http://java.sun.com/j2se/1.5.0/docs/api/index.html), so I believe this should be fixed in the JABG.
please reopen, as we cannot yet introduce a 1.5 dependency in the JABG; therefore the pre-1.5 APIs still need to work properly. It seems they do not, based on Dana's bug report.
I am not saying that JABG should introduce Java 1.5 structures; we already have a a private protocol as workaround for the missing AccessibleTextSequence in Java 1.4 in place, it just doesn't work correctly: please see bridge/org/GNOME/JavaBridge.java line 612 ff.. So this can easily be fixed inside JABG.
.