Apache OpenOffice (AOO) Bugzilla – Issue 13677
"caret-moved" event and details for "text-changed" event are missing
Last modified: 2003-06-13 15:48:24 UTC
OVERVIEW DESCRIPTION : Using gnome-2.2 stack from 10th of April, java-access-bridge from today's CVS HEAD, java 2 sdk 1.4.1_01 and StarOffice from 27 February, I found out that, for some text objects, "caret-moved" events are NOT fired even if caret's position is changing due to insertion or deletion. Also the details of the "text-changed" event, insert and delete, are missing. STEPS TO REPRODUCE : - launch StarOffice - launch the test program attached to this bug (simple-at - see ADDITIONAL INFORMATION(3) for more information about it) - open Insert/Object/Chart dialog - go to the entry labeled "Area" (the only text entry on this dialog) - type a text (eg "hello") ACTUAL RESULTS: - "text-changed" events are emitted for 5 times (for the "hello" word), but no "caret-moved" event is fired. - details for "text-change" event (delete / insert) are missing. EXPECTED RESULTS: - one "caret-moved" event for every change of caret position. - details like delete/insert of "text-change" to be provided. ADDITIONAL INFORMATION: (1) This bug is valid in case of any spin button from StarOffice Format/paragraph/idents & spacing dialog, too. (2) This bug is not present in Java Toolkit applications (like SwingSet2), neither in GTK Toolkit applications. (3) The results described in this bug were obtained using a test program from AT-SPI, "simple-at" modified. In order to use it : - get at-spi from CVS (cvs -z3 co at-spi) - copy the test program attached to this bug into at-spi/test directory - autogen.sh - make - launch it from the at-spi/test folder (4) Screenshots with simple-at (modified test program) inspecting events from StarOffice and SwingSet2 are attached to this bug.
Created attachment 5776 [details] Test program
Created attachment 5777 [details] simple-at inspecting StarOffice - lack of "caret-moved" events and "text-changed" details
Created attachment 5778 [details] simple-at inspecting SwingSet - presence of "caret-moved" events and "text-changed" details
Hi Adi, the text changed details got added in the child workspace uua02, even though the java bridge seems not to fill the change string yet. Edit fields still don't send caret-moved events while typing in uaa02. Thomas, would you please have a look at this ?
Changed subcomponent.
TBE: fixed in CWS SRX644/uno4 Edit fields now send caret changed events if the caret position is changing (e.g. typing, insertion, deletion). The content of the new and old values of the text changed event are handled in #i14099#.
TBE->OBR: please verify on CWS uno4
Verified.
.
Successful integration tested in SRX645 m5s1. Due to our current bug handling policy, I have to close this task before the milestone can be released. Feel free to reopen this issue if the fix does not meet your requirements.