[Libreoffice-bugs] [Bug 144242] New: FILESAVE XLSX Line objects incorrectly saved after creation

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Sep 1 12:42:14 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=144242

            Bug ID: 144242
           Summary: FILESAVE XLSX Line objects incorrectly saved after
                    creation
           Product: LibreOffice
           Version: 7.1.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, filter:xlsx, regression
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice at nisz.hu
                CC: nemeth at numbertext.org, varga.balazs3 at nisz.hu
            Blocks: 136327

Created attachment 174692
  --> https://bugs.documentfoundation.org/attachment.cgi?id=174692&action=edit
Example file from Calc for further modification

This is a followup to bug 142914
When line objects are created and set to a rotation value between 225 degrees
and 315 and saved to XLSX they are incorrectly mirrored.
If the same line objects are saved to ODS, reloaded and then saved as XLSX then
the rotation is fine.

Steps to reproduce:
1.      Open the attached file, it contains some line objects
2.      Make copies of the objects and set a rotation value for them between
225 degrees and 315 degrees. On the screenshot I set 224, 225, 226 for blue
lines, 269, 270, 271 for green lines and 314, 315, 316 for orange lines.
3.      Save as ODS, then XLSX, reload to see the problem
4.      Open the ODS version, save as XLSX, to see it work correctly.

Actual results:
224 and 225 degrees becomes 224 and 225 (good)
226 degrees becomes 224
269 degrees becomes 181
270 degrees becomes 0
271 degrees becomes 359
314 degrees becomes 316
315 and 316 degrees becomes 315 and 316 (good)

Expected results:
Rotation values retained unchanged.

LibreOffice details:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: d5ade739771ddf06cc7ee6d4af15672bfcf09ed6
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL

Also in
Version: 7.1.0.3 (x64) / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded

Not yet in
Version: 7.0.0.3 (x64)
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU szálak: 4; OS: Windows 10.0 Build 18363; Felületmegjelenítés:
alapértelmezett; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded

Additional Information:
Bibisected using bibisect-win64-7.1 to:
URL:https://cgit.freedesktop.org/libreoffice/core/commit/?id=5e8875780d665b7ae0fee1a053b5ce78ec513f69 
author: Szabolcs Toth szabolcs450 at gmail.com
committer: László Németh <nemeth at numbertext.org>

tdf#135828 XLSX shape export: fix distortion of rotated shapes


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=136327
[Bug 136327] [META] XLSX shape related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210901/f1dad11f/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list