Created attachment 130937 [details] PPTX file (PowerPoint 2007) with left/right arrow shape + text in that shape If I create in Impress a left- or right-pointing arrow shape and add text to it, it is nicely vertically and horizontally centered. If I import such a shape via PPTX file (see attachment, created with PowerPoint 2007), the right-pointing arrow shape looks fine - but the left-pointing arrow shape has the text too far up up and left.
Looking closer at the issue, the difference seems to be what is regarded as "Top". LO looks at the top-left corner of the "<=" bounding box, PP seems to take the upper coordinate of "===", ignoring that "<" extends further up. For "===>" arrows, both take the same "y" value.
Confirmed in Version: 5.4.0.0.alpha0+ Build ID: fc53cce64400430cdc21f79c959d75fb9a26d13d CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk2; Locale: ca-ES (ca_ES.UTF-8); Calc: group and Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Created attachment 130938 [details] comparison MSO Writer 2010 and LibreOffice 5.4
** Please read this message in its entirety before responding ** 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 http://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://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Still occurs in libreoffice-6.1.3.2-1.1.x86_64
The result is actually ok between 3.5 and 3.6 (oldest and last36onmaster in Linux 43all repo). Bibisected to range https://gerrit.libreoffice.org/plugins/gitiles/core/+log/ba8918aebd2b9f030e0fd684accc9bf21bd1eac3..c581d33dec47a4c411a034482876543f6357d1e8 The commit that stands out from the crowd to me is https://gerrit.libreoffice.org/plugins/gitiles/core/+/44b98b588c51c976c38b08844f7e09d236518e32%5E%21/ n742593: Adding checks before using textbox sizes.
The reason is, that the left arrow is not really a left arrow but a mirrored right arrow. Please try it again with a current daily. The problem should be fixed with my recent commit https://cgit.freedesktop.org/libreoffice/core/commit/?id=7830a9d42926a9c5265230d42fce4a4858b303c1
It is not totally fixed, see bug 127785. I see the problem of wrong text position too in pure "non-primitive" custom-shapes, where no import filter are involved. So the error in this bug might be no import filter error at all. First bug 127785 has to be fixed before further investigation in regard to import filter makes sense.
Created attachment 168875 [details] The example file in PP and current master This seems to look good since 6.4: https://git.libreoffice.org/core/+/7830a9d42926a9c5265230d42fce4a4858b303c1 author Regina Henschel <rb.henschel@t-online.de> Sat Sep 28 00:34:35 2019 +0200 committer Regina Henschel <rb.henschel@t-online.de> Sat Sep 28 20:00:51 2019 +0200 tdf#127785 correct calculation of text rectangle in flipped shape
Thanks Regina for fixing this one too!