Issue 37643

Summary: runner: toolkit.AccessibleStatusBarItem::com::sun::star::accessibility::XAccessibleEventBroadcaster
Product: App Dev Reporter: chne
Component: apiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, thomas.benisch
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description chne 2004-11-22 15:36:41 UTC
the listener was not called anymore.
To reproduce this behavior just start your office with parameter

"-accept=socket,host=0,port=8100;urp;" 

and call inside a solar shell:

checkapi -o
toolkit.AccessibleStatusBarItem::com::sun::star::accessibility::XAccessibleEventBroadcaster
Comment 1 chne 2004-11-22 15:37:13 UTC
.
Comment 2 chne 2004-11-26 13:23:11 UTC
as decided by cp -> new target Offlice later
Comment 3 chne 2005-09-07 11:18:03 UTC
add keyword "accessibility"
Comment 4 mdxonefour 2005-09-29 10:57:50 UTC
re-targeted to OOo 3.0
Comment 5 thomas.benisch 2005-10-24 09:44:18 UTC
accepted
Comment 6 thomas.benisch 2006-08-22 10:55:38 UTC
As discussed with CN re-targeted to OOo 2.x.
Comment 7 thomas.benisch 2007-09-12 08:46:20 UTC
set target OOo 2.4
Comment 8 thomas.benisch 2007-11-14 11:52:33 UTC
CN: This issue seems to be a problem of your test code.
In AccessibleStatusBarItem.java you are listening at the
wrong status bar item for a text changed event.
The reason is simply that the index in
XAccessibleContext::getAccessibleChild(index) is zero-based.

When exchanging the following lines in AccessibleStatusBarItem.java
(lines 179f)

  oObj = statusbar.getAccessibleChild(6);
  secondItem = statusbar.getAccessibleChild(1);

with

  oObj = statusbar.getAccessibleChild(5);
  secondItem = statusbar.getAccessibleChild(0);

the test runs successful.
Comment 9 chne 2007-11-25 21:23:23 UTC
accepted
Comment 10 thomas.benisch 2007-11-30 13:22:35 UTC
added tbe to cc list
Comment 11 eric.savary 2008-09-26 16:47:11 UTC
Removing accessibility keyword
Comment 12 chne 2009-04-20 09:24:17 UTC
change owner