To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100060
                 Issue #|100060
                 Summary|sw.SwAccessibleTextFrameView fails
               Component|Word processor
                 Version|DEV300m42
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|od
             Reported by|mst





------- Additional comments from [email protected] Mon Mar  9 15:51:11 +0000 
2009 -------
the unoapi test sw.SwAccessibleTextFrameView fails (strangely, only on solaris)
with lots of DisposedExceptions.

first document is zoomed to 15%, then to 100%

when zooming to 100%, the accessibility objects created by the test are 
disposed.

SwView::_SetZoom:
this calculates the old and new VisArea, which are ~90000x70000 and 
~13000x13000.
then it first updates the accessibility objects (via SetZoomType) and second the
layout (via ~SwActKontext)

SwRootFrm::CheckViewLayout: called by ~SwActKontext
here the Rects of all layout frames are updated (moved in X direction by -38000)
specifically, the first page had an X offset of 40000 before, 1000 after

SwAccessibleContext::ChildrenScrolled: called by SetZoomType
here the Rect of the frames is compared both with the old VisArea and with the
new VisArea to determine if the frame is scrolled in or out
the objects are disposed here because the Rects are not updated to the new
position yet, and the old X offset (40k) is outside new VisArea (13k) (invalid
comparison)

but simply updating the Rects before calling ChildrenScrolled does not seem a
good idea either, because in that case the Rects comparison with the old VisArea
would be invalid!

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to