Issue 124703 - callout are misplaced.
Summary: callout are misplaced.
Alias: None
Product: Impress
Classification: Application
Component: ui (show other issues)
Version: 4.1.0-beta
Hardware: All All
: P3 Normal (vote)
Target Milestone: 4.2.0
Assignee: Armin Le Grand
QA Contact:
Depends on:
Reported: 2014-04-17 14:04 UTC by John Evans
Modified: 2017-05-20 10:35 UTC (History)
2 users (show)

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

screenshot showing misplaces callouts (107.59 KB, image/png)
2014-04-17 14:04 UTC, John Evans
no flags Details
sample file with 3 callouts (43.48 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2014-04-23 16:07 UTC, John Evans
no flags Details
PowerPoint 2010 vs. Impress 4.1 (166.83 KB, image/png)
2014-04-24 08:23 UTC, Edwin Sharp
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description John Evans 2014-04-17 14:04:16 UTC
Created attachment 83221 [details]
screenshot showing misplaces callouts

Opening pptx file and callout don't point to the correct place.
Comment 1 Edwin Sharp 2014-04-17 14:11:54 UTC
Please attach a slide.
How was the file created?
Comment 2 John Evans 2014-04-23 16:07:49 UTC
Created attachment 83263 [details]
sample file with 3 callouts

I've created this presentation in Powerpoint for Mac 2011 with 3 callouts which point to the numbers on the page.  When I open it in OO 4.1 beta, the callouts appear in the correct position. However they should point to the number in the outline, but they point off the page to the left.
Comment 3 Edwin Sharp 2014-04-24 08:21:12 UTC
Confirmed with
AOO420m1(Build:9800)  -  Rev. 1586681
PowerPoint 2010
Win 7
Comment 4 Edwin Sharp 2014-04-24 08:23:54 UTC
Created attachment 83267 [details]
PowerPoint 2010 vs. Impress 4.1
Comment 5 Armin Le Grand 2014-04-24 10:52:35 UTC
It works when converting to ppt and loading that -> error in ooxml importer. Taking a look...
Comment 6 Armin Le Grand 2014-04-25 08:31:20 UTC
I am not sure in what units that coordinates for the position of the control point are; they *should* be relative to the CustomShape definition to work with formula stuff. When using like that it's close but not exactly what is expected.

@Edwin: Do you know if this ever worked before in any older AOO verson?
Comment 7 Edwin Sharp 2014-04-25 09:19:35 UTC
I don't know, sorry.
Comment 8 Armin Le Grand 2014-04-25 12:55:25 UTC
The ms control point coordinates are relative to the object center in the range [-50000 .. 50000] while our customshapes use a range from [0 .. 21600], so an adaption of the value is needed. Added that, doing some more checks...
Comment 9 SVN Robot 2014-04-25 12:59:17 UTC
"alg" committed SVN revision 1590014 into trunk:
i124703 adapt coordinate range from ms relative control points to aoo relativ...
Comment 10 Armin Le Grand 2014-04-25 12:59:56 UTC
Okay, done.