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
Created attachment 155603 [details] Example file from Word
Created attachment 155604 [details] The original file saved by Writer
Created attachment 155605 [details] Screenshot of the original document side by side in Word and Writer
Created attachment 155606 [details] Screenshot of the original and exported document side by side in Word
Reproduced in Version: 6.4.0.0.alpha1+ Build ID: b19c5d4286f66193173534980d18992682905e26 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded
Also reproduced in Version: 4.3.0.0.alpha1+ Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e in Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a) the gradient is not even exported to docx.
Created attachment 159232 [details] fixed unit test document with different length uniformly coloured segments
Created attachment 159233 [details] problem with the work-in-progress patch
Looks just like bug #114211 - but this one is better documented :).
*** Bug 114211 has been marked as a duplicate of this bug. ***
Dear NISZ LibreOffice Team, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Still happens in Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: fc6806c4be8585ce0d35a6b581bf8b3dbf858500 CPU threads: 14; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-US (hu_HU); UI: en-US Calc: threaded
I checked it and indeed there is a bug. My version I checked with: Version: 7.6.0.0.alpha1+ (x86) / LibreOffice Community Build ID: 1c98c88a1208f47327ac2f3beaf593521ce9b394 CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win Locale: pl-PL (pl_PL); UI: en-US Calc: CL threaded
I see correct directions in Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 70fd835b4cf75e386ee115c705241a4059fb68a8 CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded Likely fixed by some MCGR patches.
Let's close per the previous comment