To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=111032
                 Issue #|111032
                 Summary|sc/qa/unoapi sc.ScAccessibleCell::com::sun::star::acce
                        |ssibility::XAccessibleText getCharacterBounds() failur
                        |e
               Component|Spreadsheet
                 Version|DEV300m76
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|dr
             Reported by|sb





------- Additional comments from s...@openoffice.org Wed Apr 21 08:32:41 +0000 
2010 -------
Executing sc/qa/unoapi on DEV300_m76-based CWS sb120 (mainly making changes to
the testing framework) on one machine (Hamburg macmini-dev) always fails with
the below log, while that specific test does not fail for me on any other
machines (even other Macs; maybe it is a problem of installed fonts).  (On that
machine, I initially used a small 800x600 display, but the problem persisted for
a much larger display of 1680x1050.)

The problem appears to be that the Y=-1 of all the character bounding rectangles
is outside the bounds of the component (only starting at Y=0).  The relevant
code at editeng/source/accessibility/AccessibleStaticTextBase.cxx in
AccessibleStaticTextBase::getCharacterBounds obtains aParaBounds of
(X=0,Y=-1,W=74,H=12) with the problematic Y=-1.  (Whether the unoapi test code
is at all correct in checking that the character bounds are completely within
the component bounds is not known to me.)

 checking: [sc.ScAccessibleCell::com::sun::star::accessibility::XAccessibleText]
is iface: [com.sun.star.accessibility.XAccessibleText] testcode:
[ifc.accessibility._XAccessibleText]
 [...]
 LOG> Execute: getCharacterBounds()
 LOG> starting required method: getCharacterCount()
 LOG> getCharacterBounds(-1)
 LOG> Expected exception
 LOG> getCharacterBounds(16)
 LOG> Expected exception
 LOG> getCharacterBounds(0)
 LOG> Text at this place: X
 LOG> Character bounds outside component
 LOG> Character rect: 0, -1, 8, 12
 LOG> Component rect: 64, 0, 80, 11
 LOG> getCharacterBounds(1)
 LOG> Text at this place: A
 LOG> Character bounds outside component
 LOG> Character rect: 7, -1, 7, 12
 LOG> Component rect: 64, 0, 80, 11
 LOG> getCharacterBounds(2)
 LOG> Text at this place: c
 LOG> Character bounds outside component
 LOG> Character rect: 13, -1, 6, 12
 LOG> Component rect: 64, 0, 80, 11
 LOG> getCharacterBounds(3)
 LOG> Text at this place: c
 LOG> Character bounds outside component
 LOG> Character rect: 18, -1, 6, 12
 LOG> Component rect: 64, 0, 80, 11
 LOG> getCharacterBounds(4)
 LOG> Text at this place: e
 LOG> Character bounds outside component
 LOG> Character rect: 23, -1, 7, 12
 LOG> Component rect: 64, 0, 80, 11
 LOG> getCharacterBounds(5)
 LOG> Text at this place: s
 LOG> Character bounds outside component
 LOG> Character rect: 29, -1, 6, 12
 LOG> Component rect: 64, 0, 80, 11
 LOG> getCharacterBounds(6)
 LOG> Text at this place: s
 LOG> Character bounds outside component
 LOG> Character rect: 34, -1, 6, 12
 LOG> Component rect: 64, 0, 80, 11
 LOG> getCharacterBounds(7)
 LOG> Text at this place: i
 LOG> Character bounds outside component
 LOG> Character rect: 39, -1, 3, 12
 LOG> Component rect: 64, 0, 80, 11
 LOG> getCharacterBounds(8)
 LOG> Text at this place: b
 LOG> Character bounds outside component
 LOG> Character rect: 41, -1, 7, 12
 LOG> Component rect: 64, 0, 80, 11
 LOG> getCharacterBounds(9)
 LOG> Text at this place: l
 LOG> Character bounds outside component
 LOG> Character rect: 47, -1, 3, 12
 LOG> Component rect: 64, 0, 80, 11
 LOG> getCharacterBounds(10)
 LOG> Text at this place: e
 LOG> Character bounds outside component
 LOG> Character rect: 49, -1, 7, 12
 LOG> Component rect: 64, 0, 80, 11
 LOG> getCharacterBounds(11)
 LOG> Text at this place: T
 LOG> Character bounds outside component
 LOG> Character rect: 55, -1, 5, 12
 LOG> Component rect: 64, 0, 80, 11
 LOG> getCharacterBounds(12)
 LOG> Text at this place: e
 LOG> Character bounds outside component
 LOG> Character rect: 59, -1, 7, 12
 LOG> Component rect: 64, 0, 80, 11
 LOG> getCharacterBounds(13)
 LOG> Text at this place: x
 LOG> Character bounds outside component
 LOG> Character rect: 65, -1, 6, 12
 LOG> Component rect: 64, 0, 80, 11
 LOG> getCharacterBounds(14)
 LOG> Text at this place: t
 LOG> Character bounds outside component
 LOG> Character rect: 70, -1, 4, 12
 LOG> Component rect: 64, 0, 80, 11
 Method getCharacterBounds() finished with state FAILED
 LOG> getCharacterBounds(): PASSED.FAILED

---------------------------------------------------------------------
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: issues-unsubscr...@sc.openoffice.org
For additional commands, e-mail: issues-h...@sc.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to