[Libreoffice-bugs] [Bug 128648] New: FILESAVE DOCX Linear gradient direction mirrored on saving

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 7 12:13:04 UTC 2019


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

            Bug ID: 128648
           Summary: FILESAVE DOCX Linear gradient direction mirrored on
                    saving
           Product: LibreOffice
           Version: 6.4.0.0.alpha1+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice at nisz.hu

Description:
Word has 8 default direction presets for linear gradient direction: 0, 45, 90,
135, 180, 225, 270 and 315 degrees. These are interpreted in clockwise
direction from 0 to 360.
LO engine uses the rotation values in counterclockwise direction and imports
these values from DOCX with corrections to get the same look as in Word: 
0 -> 270 ; 45 -> 225 ; 90 -> 180 ; 135 -> 135 ; 180 -> 270 ; 225 -> 45; 270 ->
0; 315 -> 315. 

Export to DOCX however is flawed, as the modified values are saved without
undoing the corrections, so the gradients appear mirrored in Word.

Steps to Reproduce:
1.      Open attached example document in Writer
2.      Observe that the gradients look the same as in Word
3.      Save the file and reopen in Word


Actual Results:
The gradient directions are mirrored.

Expected Results:
The gradient directions should be the same as in the original file.


Reproducible: Always


User Profile Reset: No



Additional Info:
LibreOffice details:
Version: 6.4.0.0.alpha1+ (x86)
Build ID: f0340d58cc0f2808ce8003099ff2a0495360f267
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL

-- 
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/20191107/e1a18ef0/attachment.html>


More information about the Libreoffice-bugs mailing list