Created attachment 162493 [details] Images rotate or Filp Description: I'm using LibreOffice 7.0.0.1.beta1 in the China locale and finding a very strange bug. I'll try to be as clear as possible in the description. New LibreOffice Writer text document, then and insert two pictures and rotate one of them, finally Save as Docx and open with LibreOffice 6.4.4.2, Only the overlapped parts of the image are displayed, and the rotated image is identified as drawing objects in the navigator. Steps to Reproduce: 1.New LibreOffice Writer text document. 2.Insert two pictures in jpg format. 3.Right-click the upper picture -> Rotate or Filp 4.Save as OfficeOpenXML (*.docx) or Word2007-365 (*.docx) format. 5.Open the document with LibreOffice 6.4.4.2 again. 6.Only the overlapped parts of the image are displayed, and the rotated image is identified as drawing objects in the navigator. Actual Results: Only the overlapped parts of the image are displayed, and the rotated image is identified as drawing objects in the navigator. Expected Results: Display the normal image size. The rotated image is still images in the navigator. Reproducible: Always Additional Info: Version: 6.4.4.2(x64) Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff Environment:CPU threads: 12; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win; Locale: zh-CN (zh_CN); UI-Language: en-US Calc: threaded
I confirm it with Version: 7.1.0.0.alpha0+ (x64) Build ID: 33a720ab802491f15b247e09755cd36205b6f435 CPU-Threads: 4; BS: Windows 10.0 Build 19041; UI-Render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: de-DE Calc: threaded
Created attachment 167793 [details] Very simple reproducer document
Created attachment 167794 [details] The original document and its docx version in LO 6.4.0
Created attachment 167795 [details] The original document and its docx version in LO 7.0.3 Looks like not only the overlapping parts are visible now. The rotated image is wrong size and position, that's bug #123569
In 7.0 the rotated image is visible after: https://cgit.freedesktop.org/libreoffice/core/commit/?id=fc0bff85f3338cb4fe8f4d42421cb69801cb3abb author Luboš Luňák <l.lunak@collabora.com> 2020-05-13 13:08:00 +0200 committer Luboš Luňák <l.lunak@collabora.com> 2020-05-14 11:57:30 +0200 cache results of Skia's drawTransformedBitmap() (tdf#132438) But only with Skia backend on Windows. If Skia is disabled the display of images was fixed by: https://cgit.freedesktop.org/libreoffice/core/commit/?id=fa47f9781fff89698a68353f9f37ea3ac6bda43c author Caolán McNamara <caolanm@redhat.com> 2020-07-16 11:10:53 +0100 committer Caolán McNamara <caolanm@redhat.com> 2020-07-16 15:14:23 +0200 tdf#134841 image totally clipped out *** This bug has been marked as a duplicate of bug 134841 ***