Description: Draw does not store and reload drawings like they are shown if a object make use of slant. After apply an slant by e.g. clicking twice on a vertically flipped object all looks ok. After saving and reload or close and open again the objects position is not the same before saving. Steps to Reproduce: 1.open a new draw document 2.draw an object, e.g. a rectangle); better two next to each other to show the effect 3.flip one of the rectangles vertically 4.apply a slant on the flipped one by clicking twice or use position and size (f4) and change slant angle on Slant & Corner Radius 4.save the document 5.close and open the document again or just use reload Actual Results: the position of the object formatted with a slant is not the same as before saving the document Expected Results: the formatted object should have the same position as before saving the document Reproducible: Always User Profile Reset: Yes Additional Info: the use of vertical flip and the slant is the minimal example found after many variations, so the two steps of vertically flipping and the slant are obligatory in this order: first flip vertically then apply the slant tried with different versions of libreoffice draw: 6.1.5.2; 6.3.6.2, 6.4.6.2 and 7.0.0.3 tried with normal user profile as well as in safe mode and disabled hardware acceleration
Created attachment 164743 [details] sample file with comparison between flipped and not flipped objcet
Bibisected the position change with Linux 42max repo to https://git.libreoffice.org/core/commit/efce445d0eb5709b86499e8f79f933d918cb3dd6 Resolves: #i55394# solve mirror problem for CustomShapes Adding Cc: to Regina Henschel
I see, that result for first mirror and then slant is broken. It is already wrong when creating the object. Using a not symmetric shape, e.g. the flash, makes it immediately visible. There seems to be an additional 180° rotation. But I have currently no time for a closer look, perhaps in two weeks.
Regina Henschel committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/3b4198d4654e4cf569f9b82d87a2498dbbecb9ac tdf#136176 Correct update fObjectRotation in NbcShear 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.
Thanks, Regina, I verify the fix. Feel free to change status Arch Linux 64-bit Version: 7.1.0.0.alpha0+ Build ID: d98ac4d2c584313c1e51630c6fbab8f8a092012c 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 24 September 2020
(In reply to Buovjaga from comment #5) > Thanks, Regina, I verify the fix. Feel free to change status > > Arch Linux 64-bit > Version: 7.1.0.0.alpha0+ > Build ID: d98ac4d2c584313c1e51630c6fbab8f8a092012c > 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 24 September 2020 Setting to VERIFIED
Regina Henschel committed a patch related to this issue. It has been pushed to "libreoffice-7-0": https://git.libreoffice.org/core/commit/5e722a79387959195202903469af2138722eddc8 tdf#136176 Correct update fObjectRotation in NbcShear It will be available in 7.0.3. 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.