Bug 158142 - FILEOPEN PPT: Action button gluepoints missing
Summary: FILEOPEN PPT: Action button gluepoints missing
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shape-Points
  Show dependency treegraph
 
Reported: 2023-11-09 12:43 UTC by Regina Henschel
Modified: 2023-11-23 14:08 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Test document for action button gluepoints (14.00 KB, application/vnd.ms-powerpoint)
2023-11-09 12:43 UTC, Regina Henschel
Details
comparison screenshot: LO 24.2 alpha0+ vs online MS Office 365 (81.39 KB, image/png)
2023-11-23 14:05 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2023-11-09 12:43:25 UTC
Created attachment 190758 [details]
Test document for action button gluepoints

The action buttons in ppt (binary format) have a bevel form. The buttons have not only gluepoints at the outer edge but at the bevel edges too. LibreOffice has no gluepoints defined for these shapes and therefore the default ones are used. But that goes totally wrong.

Open attached file. It has on the first slide an action button with connector lines and on the second slide a screenshot, how it looks in PowerPoint 97. The file contains only the type "action button blank", but the glue point geometry is for all action buttons the same.

You cannot use a current PowerPoint for comparison, because it does not support the older bevel form of action buttons. If you move the action button in a current PowerPoint, you can see, that PowerPoint moves the connectors from the inner gluepoints to the outer ones.

You can use SoftMaker for a comparison. It imports the ppt file correctly. When you move the action button in SoftMaker, you can see that the connections follow the movement, so the lines are still connected.

The definition of the action buttons in binary format is in appendix A on page 130 in document "Office Drawing 97-2007 Binary Format Specification". The missing glue points have to be added in file https://opengrok.libreoffice.org/xref/core/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx.

BTW: The import of an action button from pptx is wrong too. But that has a different reason and is already covered by bug 157947.
Comment 1 Stéphane Guillou (stragu) 2023-11-23 14:05:32 UTC
Created attachment 190996 [details]
comparison screenshot: LO 24.2 alpha0+ vs online MS Office 365

Thanks Regina.

Reproduced in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7d357628d6e8ce3f9e3c3a567ada21f02bce8d42
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Same in OOo 3.3, so inherited.

OnlyOffice displays the correct connectors.
Comment 2 Stéphane Guillou (stragu) 2023-11-23 14:08:46 UTC
Just to clarify:

(In reply to Regina Henschel from comment #0)
> If you move the action
> button in a current PowerPoint, you can see, that PowerPoint moves the
> connectors from the inner gluepoints to the outer ones.
I can confirm that in online MS Office 365, yes.

(In reply to Stéphane Guillou (stragu) from comment #1)
> OnlyOffice displays the correct connectors
...but they are not glued to anything.