Bug 76682 - Other: Gradients in LO are limited only to two colors
Summary: Other: Gradients in LO are limited only to two colors
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: filter:pptx
: 115204 123223 137733 142900 (view as bug list)
Depends on:
Blocks: 48392 DOCX-Limitations Object-Fill OOXML-Object-Fill PPTX 132849
  Show dependency treegraph
 
Reported: 2014-03-27 12:06 UTC by Michal Svec
Modified: 2024-02-01 16:01 UTC (History)
14 users (show)

See Also:
Crash report or crash signature:


Attachments
Reproducer document (30.44 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2014-03-27 20:27 UTC, Miklos Vajna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Svec 2014-03-27 12:06:12 UTC
Gradients in LO are limited only to two colors, that causes some
OOXML (pptx) files using finer gradients to be imported incorrectly.

Operating System: openSUSE
Version: 4.2.1.1 release
Comment 1 sophie 2014-03-27 12:44:43 UTC
Hi, could you provide the pptx in question so we can reproduce the problem. Thanks - Sophie
Comment 2 Michael Meeks 2014-03-27 16:32:30 UTC
Confirmed by Muthu =)
Comment 3 Miklos Vajna 2014-03-27 20:27:28 UTC
Created attachment 96484 [details]
Reproducer document

This shape has a gradient of 3 colors: red, green then blue. In Impress, it's blue, red, then blue.
Comment 4 How can I remove my account? 2014-07-09 12:50:56 UTC
Mark as duplicate of bug# 69654? (And change the title of that to describe the root cause, i.e. limitation in number of "gradient stops" (to use the OOXML terminology).)
Comment 5 QA Administrators 2015-07-18 17:44:51 UTC Comment hidden (obsolete, spam)
Comment 6 Michal Svec 2015-07-22 08:27:51 UTC
(In reply to Miklos Vajna from comment #3)
> 
> This shape has a gradient of 3 colors: red, green then blue. In Impress,
> it's blue, red, then blue.

I can confirm with LibreOffice 5.0.0.3, just slightly different:
- MSO is indeed red-gree-blue
- LO only has two-color gradient: red-green
Comment 7 Buovjaga 2019-09-26 14:07:49 UTC
(In reply to Michal Svec from comment #6)
> - LO only has two-color gradient: red-green

Still confirmed.

The earlier manifestation was already in 3.3.0

Version: 6.4.0.0.alpha0+ (x64)
Build ID: e1b51d4588b4b39592bb94dd5bb90de5e04d061e
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-09-23_09:16:11
Locale: fi-FI (fi_FI); UI-Language: en-US
Calc: threaded
Comment 8 Buovjaga 2020-12-24 20:47:17 UTC
*** Bug 115204 has been marked as a duplicate of this bug. ***
Comment 9 NISZ LibreOffice Team 2021-01-25 11:26:27 UTC
*** Bug 123223 has been marked as a duplicate of this bug. ***
Comment 10 NISZ LibreOffice Team 2021-01-25 11:34:23 UTC
*** Bug 137733 has been marked as a duplicate of this bug. ***
Comment 11 NISZ LibreOffice Team 2021-06-17 09:10:12 UTC
*** Bug 142900 has been marked as a duplicate of this bug. ***
Comment 12 jr.om 2021-06-23 16:32:26 UTC
Are there any plans to implement multi step gradients? Or is it already implemented in a newer version? (sorry for asking here, but I was pointed to this link when I tried to file a suggestion in Libre Office Draw)

Version: 7.1.3.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: pt-BR (pt_BR.UTF-8); UI: pt-BR
Ubuntu package version: 1:7.1.3-0ubuntu0.21.04.1
Calc: threaded
Comment 13 Buovjaga 2021-06-23 16:35:01 UTC
(In reply to jr.om from comment #12)
> Are there any plans to implement multi step gradients? Or is it already
> implemented in a newer version? (sorry for asking here, but I was pointed to
> this link when I tried to file a suggestion in Libre Office Draw)

Not yet implemented. Btw. needinfo is only for unconfirmed reports
Comment 14 Regina Henschel 2023-03-17 12:43:12 UTC
Working on providing multi-color gradients has started in version 7.6.
https://cgit.freedesktop.org/libreoffice/core/commit/?id=43de98fb59ef3cd1c6eabd3174d57634b7d501a9
Search for further commits with "MCGR" in subject.
Comment 15 Michael Meeks 2023-03-17 15:47:17 UTC
Sure - so Armin is doing some great work here, for us =)
Comment 16 Justin L 2024-02-01 16:01:34 UTC
comment 3: Presentation1.pptx: imports and exports OK.

dup bug 123223 comment 1: Fill problems.pptx: imports and exports pretty much ok
 * the circle has a different style of gradient - not a dot, but parallel lines.

dup bug 137733 comment 0: stripes.pptx: Gerald reported fixed in August.

dup bug 142900 comment 0: circlestripes.pptx: Gerald reported fixed in August.

closing as fixed, yeah?