Created attachment 165831 [details] File for reproducing the bug Open attached document. It has two shapes, the green one is normal and the red one is flipped vertically. Currently they are anchored to page, so that you get them correctly. To reproduce the error, change for both shapes the anchor to "At cell". Save the file to new name, close and reopen it. Notice, that the red shape has got a wrong position. The error is in ScDrawLayer::RecalcPos where the additional 180deg of vertical flipped custom shapes is not considered, when calculating the initial position on opening.
Repro Arch Linux 64-bit Version: 7.1.0.0.alpha0+ Build ID: 97bc09c1fef52c45cf299868045d250838d8e89b CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5 Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 28 September 2020
Should be fixed with https://cgit.freedesktop.org/libreoffice/core/commit/?id=1f0b3c7a40edfa81bbc7a58d123a6a2dfd83e4ca (The patch covers several bug reports, therefore no automatic notification.)
Verified Arch Linux 64-bit Version: 7.1.0.0.alpha1+ Build ID: 2764c334c3b9cf428e4e7ab0c28ce6a34036fa77 CPU threads: 8; OS: Linux 5.9; UI render: default; VCL: kf5 Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 2 November 2020