Issue 83857 - API: sch.ChXDiagram::com::sun::star::drawing::XShape::setSize()
Summary: API: sch.ChXDiagram::com::sun::star::drawing::XShape::setSize()
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: lars.langhans
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-22 11:45 UTC by chne
Modified: 2013-02-24 21:07 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description chne 2007-11-22 11:45:58 UTC
The UNO-API-Test fails while testing get/setSize.
 To reproduce this behavior just start your office with parameter

"-accept=socket,host=0,port=8100;urp;" 

and call inside a solar shell:

checkapi -o sch.ChXDiagram::com::sun::star::drawing::XShape
Comment 1 bjoern.milcke 2007-12-04 16:52:26 UTC
getSize() is ok. setSize also works, but there might be a limitation in
enlarging the chart.

->CN: Examining the test, I have the impression that the Size struct is
interpreted in the wrong order. Size is Width first, and then Height. In the
_XShape test you set the new size to:
newWidth = oldHeight + 10, new Height = oldWidth + 10. That's probably not intended.

If setting the diagram to oldSize + (10,10) does not work, try oldSize -
(10,10). This should work.
Comment 2 chne 2007-12-05 20:51:45 UTC
cn: ok, changing the order does the trick. But: Why the test do not fail on
other implementations? 
Comment 3 chne 2007-12-05 20:55:31 UTC
cn: logging for set/getPosition should be enhanced btw
Comment 4 chne 2008-01-16 08:38:31 UTC
new target DevTools
Comment 5 chne 2009-04-20 12:05:51 UTC
change owner
Comment 6 chne 2009-04-28 12:00:20 UTC
reassign
Comment 7 IngridvdM 2010-05-28 18:15:18 UTC
change owner
Comment 8 IngridvdM 2010-05-28 18:19:49 UTC
Testing again within CWS chart47 on dev300m76 I cannot reproduce the problem
anymore.
->remove this issue from the known issue list.
Comment 9 IngridvdM 2010-06-03 12:01:28 UTC
@lla, please verify in CWS chart47 that issue i83857 is removed from the known
issue list chart2/qa/unoapi/knwonissues.xlc thus interface
sch.ChXDiagram::com::sun::star::drawing::XShape
is tested again and that the api test runs without error in module chart2.
Thanks!
Comment 10 lars.langhans 2010-06-04 14:03:48 UTC
verified, found well done information in log.
Comment 11 lars.langhans 2010-11-15 10:19:41 UTC
close