Issue 125355

Summary: Checking for too many Accessible children in parallel seems to bring the accessibility api in a dead lock
Product: App Dev Reporter: Jens Bornschein <jens.bornschein>
Component: apiAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3    
Version: 4.1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Latest Confirmation in: 4.1.0
Developer Difficulty: ---
Issue Depends on: 125392    
Issue Blocks:    

Description Jens Bornschein 2014-08-05 11:43:06 UTC
When I'm checking all accessible child elements (XAccessible) of an XAccessibleContext (var c = haystack.getAccessibleChild(i);) via the cli api from C# the api seems to fall into some kind of dead lock. The OpenOffice process stops and doesn't response for any user interaction. When I abort my requesting application OpenOffice runs normally from this point.

I'm checking every available XShape on an XDrawPage for its XAccessible counterpart in parallel, starting the search from the base XAccessible which I have received from the XDrawPagesObservers Model ComponentWindow. Testing all elements serial will take too much time. The time until it hangs on isn't every time the same. I don't found any rule when it starts hanging.

In my testes I have a draw doc width circa 30 objects, building (incl. b├ęzier curves for text) nearly 100 objects in the navigation tree.
Comment 1 Jens Bornschein 2014-08-08 13:36:21 UTC
the issue 125392 seems to be the reason