Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Crash when pasting slides in Impress with active accessibility | ||
---|---|---|---|
Product: | Impress | Reporter: | groucho266 |
Component: | code | Assignee: | stefan.baltzer |
Status: | CLOSED FIXED | QA Contact: | issues@graphics <issues> |
Severity: | Trivial | ||
Priority: | P2 | CC: | eric.savary, issues |
Version: | OOo 1.0.0 | ||
Target Milestone: | OOo 3.2 | ||
Hardware: | All | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | |||
Issue Blocks: | 99999 |
Description
groucho266
2009-10-16 12:27:24 UTC
Note that accessibility support has to be active. The crash is caused by an unexpected exception: 1. The XAccessibleContext::getAccessibleChild method is declared to raise (among others) the IndexOutOfBoundsException. 2. The implementing methods for the Impress edit view (in classes AccessibleDocumentViewBase and AccessibleDrawDocumentView) dropped this exception. 3. When a slide is copied and pasted then, for a reason that is not important here, this very exception is thrown in AccessibleDrawDocumentView. Because the exception is not part of the throw part of the declaration it is treated as unexpected exception and therefore leads to an abortion of the whole process. The root cause of all this is of course item 2: dropping the IndexOutOfBoundsException from the declaration. Fixed by adding IndexOutOfBoundsException to the list of supported exceptions of getAccessibleChild(). @es: Please verify. Reassigned Verified in CWS impressaccessiblity6. Reassigned to me. OK in OOO320_m7. Closed. |