Created attachment 139738 [details] Anchor to page, from left and from top relative to page, version without svg:x and svg:y If Word rotates an image, then it writes it to an odt file in a way, that svg:x and svg:y is missing. The translation before rotation and the translation after rotation are different then. LibreOffice gets the position of the rotated images wrong in these cases. Word uses the rotation angle with wrong sign, but that does not influence the position. If you open the files with "_no_XY" and "_withXY" in Word, you can see that the position of the rotated image (width=2cm height=6cm) is the same. If you open the files in LibreOffice, you see, that the position of the rotated image in the "_no_XY" files is wrong. If svg:x or svg:y is not given, then it defaults to zero. For a file produced be Word see attachment https://bugs.documentfoundation.org/attachment.cgi?id=139695 from bug 115529. In the files attached here, I have changed position and transformation manually.
Created attachment 139739 [details] Anchor to page, from left and from top relative to page text area, version without svg:x and svg:y
Created attachment 139740 [details] Anchor to page, from left and from top relative to page text area, svg:x and svg:y as saved as default
Created attachment 139741 [details] Anchor to page, from left and from top relative to page, svg:x and svg:y as saved as default
Created attachment 139759 [details] Formula with draw:transform attribute
Created attachment 139760 [details] image with draw:transform attribute The problem exists independent from rotating. The draw:transform="translate(-2cm -1cm)" attribute in the last two examples is not evaluated. The objects have svg:x="5cm" and svg:y="3cm". Because of the translation the top-left corner should be at position (3cm|2cm).
Proposed patch is in https://gerrit.libreoffice.org/#/c/50176/
Moving to ASSIGNED
On Hackfest Hamburg, April 2018, we have decided to solve the problem in a way, which is more promising for the general goal to bring Writer frames and shapes together. The idea is, to bring the complete transformation matrix to the model and set needed properties using the matrix as authority information. Therefore I have abandoned https://gerrit.libreoffice.org/#/c/50176/ for now and reset assignee of the bug back to default. If you want to work an this bug, contact Armin (Armin.Le.Grand@me.com) in addition.
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://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
The problem still exists in Version: 7.2.0.0.alpha0+ (x64) Build ID: 4e63ec27b69fa01ff610c894c9fbf05c377a6179 CPU threads: 8; OS: Windows 10.0 Build 19041; UI render: default; VCL: win Locale: de-DE (en_US); UI: en-US Calc: CL It is a problem with the special frame object handling in Writer. If you make the frame to a Draw object by removing the parent-style attribute, the position is correct. The position is also correct in the thumbnail.
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 draw:transform attribute is still ignored in Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 9b46020c262045aed0beace4708565235c2523cc 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