Created attachment 154013 [details] TextBoxRotation.pptx demonstrates the error Open attached document. It contains an arrow with text at the left and a screenshot from PowerPoint365 on the right. The text is rotated with 20 degree by the attribute "rot" of the bodyPr element. The blue dashed rectangle illustrates the unrotated text area, the green rectangle the rotated text area. Error: The text is sheared.
The rotation angle is put into TextPreRotateAngle. That results in a matrix-multiplication order scale-matrix * rotation-matrix in ViewContactOfSdrObjCustomShape::createViewIndependentPrimitive2DSequence(). The decompose algorithm in B2DHomMatrix::decompose uses the column-vectors to detect shear. With this multiplication order the column-vectors are not orthogonal, and thus results in a shear angle. If the rotation angle is put into TextRotateAngle, then the matrix-multiplication order is rotation-matrix * scale-matrix. Then the column-vectors are orthogonal and shear angle is zero.
*** Bug 127439 has been marked as a duplicate of this bug. ***
Created attachment 154695 [details] AnalyseError.odt contains the mathematical reason of the error
Created attachment 160657 [details] Comparison MSO 2010 and LibreOffice 7.0 master
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
The error is fixed in Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: f1830bff71847a9c17715cff52383956719847fe CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: de-DE (en_US); UI: en-US Calc: CL threaded
Issue fixed by https://cgit.freedesktop.org/libreoffice/core/commit/?id=7e23cbdbb6ec0247a29ed8a8f744c01e10963ea0 Closing as DUPLICATED of bug 149551 *** This bug has been marked as a duplicate of bug 149551 ***