Created attachment 147821 [details] Shape with arcTo, that is wrongly rendered Open attached document. Notice, the first slide seems to be empty. But the Navigator shows, that there is an element. The second slide has an image, how the shape is rendered in PowerPoint.
Created attachment 147822 [details] suspicious lines custoomshapeproperties.cxx lines 240 and 2241 look very suspicious to me. If I comment them out, the shape is rendered correctly. If the viewBox is forced to width=0 and height=0 here, the members nCoordWidthG and nCoordHeightG will become zero too by ApplyShapeAttributes() later on. And thus members nCoordWidth and nCoordHeight become zero too in EnhancedCustomShape2d::SetPathSize() in EnhancedCustomShape2d.cxx. But I'm not familiar with pptx import and cannot estimate, whether such change would break something in other areas.
Confirmed using LO 6.2.0.1 / Windows 7. The mentioned lines were added in the following commit. https://cgit.freedesktop.org/libreoffice/core/commit/?id=beba4603ee8e603fff2599bee7f157d90872cb99 author Muthu Subramanian <sumuthu@collabora.com> 2013-12-27 19:59:22 +0530 committer Muthu Subramanian <sumuthu@collabora.com> 2013-12-27 19:59:22 +0530 fdo#72998: Custom shapes have improper size.
Ah, then first a better solution for bug 72998 has to be found. The current "trick" to force viewBox to "0 0 0 0" is also reason for bug 76334.
Created attachment 164967 [details] The example shape copied to docx format Also happens if the shape is copied to Word, saved in docx format then opened in Writer. Not PPTX specific.
bug #112192 also seems to have a missing viewbox problem.
The problem in bug 112192 is different. There the angles of the arcTo command introduce only the two equations to convert the angles from 1/60000 deg in oox to degree in LO but the angles themselves are direct values in oox. Here the angles are references in oox. So the test in https://opengrok.libreoffice.org/xref/core/oox/source/drawingml/customshapeproperties.cxx?r=c70ee4a6#201 is still true even after applying the commit, which subtracts the angle conversion equations from the number of equations. The bug here requires a rework of how LibreOffice implements the oox feature "values are interpreted in coordinate-system of current shape width/height". ODF allows for custom shapes a missing svg:viewBox which would correspond to that feature. But LO has not implemented that. Instead we have a magic svg:viewBox="0 0 0 0", which prevents rendering if not coupled with SubViewSize.
Dear Regina Henschel, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Still not solved in Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 9517639bc3189e3ea4dc4d2f7004d4b33d754d47 CPU threads: 32; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-US Calc: threaded