Bug 147027 - Cannot display pattern, gradient or hatch fill in bar or area chart
Summary: Cannot display pattern, gradient or hatch fill in bar or area chart
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.4.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2022-01-27 22:42 UTC by Leyan
Modified: 2022-02-14 20:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leyan 2022-01-27 22:42:43 UTC
Description:
Bar/column/area charts cannot represent anything else than a basic color fill. Gradient, pattern, hatches are not visible in the chart element itself, only in the legend.

This can be seen on chart2/qa/extras/chart2dump/data/simple_chart.ods 

A bibisect points to the following commit by Noel Grandin: https://gerrit.libreoffice.org/c/core/+/127997

Steps to Reproduce:
1. Open chart2/qa/extras/chart2dump/data/simple_chart.ods or create a simple bar chart and choose a pattern or hatch fill

Actual Results:
Only a color fill is displayed.

Expected Results:
Pattern or hatch fill


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 0b0934056b47485527442b6366d7fd3274a4601f
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: CL
Comment 1 raal 2022-01-29 12:34:07 UTC
I can confirm with Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 2f4f4cbeb8e50081d607b86b0475b93971c40ab8
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo
Comment 2 Commit Notification 2022-02-03 09:55:21 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/417feeff2c547f2675e3bfcea639faf7fd140e7f

tdf#147027 Cannot display pattern, gradient or hatch fill in bar or area chart

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2022-02-14 20:09:43 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/d0c4b646aa5b90794eb41a8a82db78fa0b8e66da

tdf#147027: vcl_pdfexport: Add unittest

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.