Created attachment 164465 [details] Example file from Excel with shape next to upper border, rotated to horizontal direction Attached Excel-made documents contain rotated shapes placed next to the sheets upper/left edges. When opened in Calc the shapes are misplaced from the top / left of the sheet, as if their position were calculated without considering the result of the rotation first. Steps to reproduce: 1. Open attached documents Actual results: Shapes are vertically/horizontally shifted. Expected results: Shapes retain their position. LibreOffice details: Version: 7.1.0.0.alpha0+ (x64) Build ID: <buildversion> CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL Additional Information: This started after the fix to bug #83593 – before that the rotation did not work, but there was no position shift either.
Created attachment 164466 [details] Screenshot of the horizontally rotated shape side by side in Excel and Calc
Created attachment 164467 [details] Example file from Excel with shape next to left edge, rotated to vertical direction
Created attachment 164468 [details] Screenshot of the vertically rotated side by side in Excel and Calc
Regényi Balázs committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/3e85b22769a4b02744a7006d7dc772973c0093f5 tdf#135918 XLSX DrawingML shape import: fix needless displacement It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified in Version: 7.1.0.0.alpha0+ Build ID: e2f4e65a7b8024c00b049eebf0d87637efda7f24 CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: en-US (ro_RO.UTF-8); UI: en-US Calc: threaded