Issue 13677 - "caret-moved" event and details for "text-changed" event are missing
Summary: "caret-moved" event and details for "text-changed" event are missing
Status: CLOSED FIXED
Alias: None
Product: ui
Classification: Code
Component: code (show other issues)
Version: current
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 1.1 RC
Assignee: nospam4obr
QA Contact: issues@ui
URL:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2003-04-21 14:48 UTC by Unknown
Modified: 2003-06-13 15:48 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Test program (42.93 KB, text/plain)
2003-04-21 14:49 UTC, Unknown
no flags Details
simple-at inspecting StarOffice - lack of "caret-moved" events and "text-changed" details (206.74 KB, image/jpeg)
2003-04-21 14:51 UTC, Unknown
no flags Details
simple-at inspecting SwingSet - presence of "caret-moved" events and "text-changed" details (148.56 KB, image/jpeg)
2003-04-21 14:53 UTC, Unknown
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-04-21 14:48:07 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.
Comment 1 Unknown 2003-04-21 14:49:25 UTC
Created attachment 5776 [details]
Test program
Comment 2 Unknown 2003-04-21 14:51:38 UTC
Created attachment 5777 [details]
simple-at inspecting StarOffice - lack of "caret-moved" events and "text-changed" details
Comment 3 Unknown 2003-04-21 14:53:53 UTC
Created attachment 5778 [details]
simple-at inspecting SwingSet - presence of "caret-moved" events and "text-changed" details
Comment 4 nospam4obr 2003-04-24 15:08:18 UTC
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 ?

Comment 5 nospam4obr 2003-04-24 15:10:06 UTC
Changed subcomponent.
Comment 6 thomas.benisch 2003-05-06 17:11:34 UTC
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#.
Comment 7 thomas.benisch 2003-05-19 11:49:37 UTC
TBE->OBR: please verify on CWS uno4
Comment 8 nospam4obr 2003-05-20 11:43:45 UTC
Verified.
Comment 9 nospam4obr 2003-05-20 11:44:21 UTC
.
Comment 10 nospam4obr 2003-06-13 15:48:24 UTC
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.