Apache OpenOffice (AOO) Bugzilla – Issue 68213
warning spew with a11y enabled ...
Last modified: 2007-06-25 15:03:43 UTC
So - the report goes like this: > I am running Open Office 2.0.2-18. Calc crash when I try to delete the last > character in a selected cell. For example, if I type '5?' into a cell and move > to a different cell, when I return to that cell to delete the '?' Open Office > crashes. Open Office does not crash every time I do this. Luckily I don't get that - [ seems it's fixed ], however I get a nice flow of debug messages :-) ** (soffice.bin:7356): WARNING **: ERROR: Event source does not implement XAccessibleContext ** (soffice.bin:7356): CRITICAL **: virtual void AtkListener::notifyEvent(const com::sun::star::accessibility::AccessibleEventObject&): assertion `xParent.is( )' failed ** (soffice.bin:7356): WARNING **: Test me: table model change event ** (soffice.bin:7356): WARNING **: Exception in getCharacterCount ** (soffice.bin:7356): WARNING **: Exception in getLocation[OnScreen]() ** (soffice.bin:7356): WARNING **: Exception in getSize() ** (soffice.bin:7356): WARNING **: Exception in getCharacterCount ** (soffice.bin:7356): WARNING **: ERROR: Event source does not implement XAccessibleContext ** (soffice.bin:7356): CRITICAL **: virtual void AtkListener::notifyEvent(const com::sun::star::accessibility::AccessibleEventObject&): assertion `xParent.is( )' failed ** (soffice.bin:7356): WARNING **: ERROR: Event source does not implement XAccessibleContext ** (soffice.bin:7356): CRITICAL **: virtual void AtkListener::notifyEvent(const com::sun::star::accessibility::AccessibleEventObject&): assertion `xParent.is( )' failed ** (soffice.bin:7356): WARNING **: Test me: table model change event ** (soffice.bin:7356): WARNING **: ERROR: Event source does not implement XAccessibleContext ** (soffice.bin:7356): CRITICAL **: virtual void AtkListener::notifyEvent(const com::sun::star::accessibility::AccessibleEventObject&): assertion `xParent.is( )' failed ** (soffice.bin:7356): WARNING **: ERROR: Event source does not implement XAccessibleContext ** (soffice.bin:7356): CRITICAL **: virtual void AtkListener::notifyEvent(const com::sun::star::accessibility::AccessibleEventObject&): assertion `xParent.is( )' failed ** (soffice.bin:7356): WARNING **: Test me: table model change event [ this is from m179 ]
Looks like calc sends some invalid events, need to investigate.
Actually I have found a number of places where XAccessible instead of XAccessibleContext has been used as Event.Source, but also quite a number of AccessibleEventObject(s) without any Source member set. I'll attach a patch that solves this issue for me. @dr: please review.
Created attachment 40074 [details] Event.Source patch for sc
Set target to 2.2, because one missing "Source" was for CHILD events, where the correct source is essential for the atkbridge to work correctly.
patch added to SRC680/dr51 (OOo 2.2)
back to QA
found fixed on cws dr51
closed