Bug 168320 - [26.2] Chart line colors are not reflected in sidebar properties
Summary: [26.2] Chart line colors are not reflected in sidebar properties
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:26.2.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Chart-Sidebar
  Show dependency treegraph
 
Reported: 2025-09-08 10:03 UTC by nobu
Modified: 2025-09-15 08:27 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (57.09 KB, image/png)
2025-09-08 10:06 UTC, nobu
Details
Screenshot (54.43 KB, image/png)
2025-09-08 10:07 UTC, nobu
Details
sample file (13.50 KB, application/vnd.oasis.opendocument.spreadsheet)
2025-09-08 10:07 UTC, nobu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nobu 2025-09-08 10:03:34 UTC
Description:
Chart line colors are not reflected in sidebar properties.

Steps to Reproduce:
1. Open new color.
2. Insert simple data and creat a Chart.
3. Open Properties Panel in Sidebar.
4. Click chart line.

Actual Results:
5. Color of "Fill Color" in Area tab is incorrect.

Expected Results:
5. Color is correct.


Reproducible: Always


User Profile Reset: No

Additional Info:

You can change the color there.

The color of the trend line in Line tab is not shown as well.

Not reproduced with
Version: 25.8.1.1 (X86_64)
Build ID: 54047653041915e595ad4e45cccea684809c77b5
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (ja_JP); UI: en-US
Calc: CL threaded

Not reproduced with
[2025-06-27]
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 04bd455e36b054001e08a0a3256d508a009ffef3
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (ja_JP); UI: en-US
Calc: CL threaded

Reproducible with
[2025-07-23]
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7f4868348c14b305fcd75744e1e3544d0d3a5d61
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (ja_JP); UI: en-US
Calc: CL threaded

Reproducible with
[2025_08_27]
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 09a48f45d9a3e72ab761e6808701362c9c0b2e51
CPU threads: 2; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: en-US
Calc: threaded
Comment 1 nobu 2025-09-08 10:06:39 UTC
Created attachment 202739 [details]
Screenshot

Chart line
Comment 2 nobu 2025-09-08 10:07:15 UTC
Created attachment 202740 [details]
Screenshot

Trend line
Comment 3 nobu 2025-09-08 10:07:47 UTC
Created attachment 202741 [details]
sample file
Comment 4 nobu 2025-09-08 10:11:41 UTC
Correction

1. Open new Calc.
Comment 5 m_a_riosv 2025-09-08 21:56:23 UTC
Reproducible
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6d020f728b573c8c33929f8c494f9b748f576fe5
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 6 m_a_riosv 2025-09-09 01:08:59 UTC
The line color appears as Area color.
Maybe I'm wrong but 'Area' should not be shown when selecting, selecting the chart line.

Latest version that works on the ones I have installed.
Versión: 5.4.7.2
Id. de compilación: c838ef25c16710f8838b1faec480ebba495259d0
Subprocs. CPU: 16; SO: Windows 6.2; Repres. IU: predet.; 
Configuración regional: es-ES (es_ES); Calc: CL
Comment 7 Saburo 2025-09-13 13:24:17 UTC
Colors set to automatic are displayed in a different color
bibisect with linux-64-26.2
commit 29dbaea278eee2372df96bd27375264d1bd54198
author	Mike Kaganski <mike.kaganski@collabora.com>	Fri Jul 04 11:01:19 2025 +0500

Use comphelper::dispatchCommand in LokChartHelper::Dispatch

adding CC: Mike Kaganski
Comment 8 Mike Kaganski 2025-09-15 06:53:27 UTC
https://gerrit.libreoffice.org/c/core/+/190941
Comment 9 Commit Notification 2025-09-15 08:27:11 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/32021330c70480723e54b0689da0b07f45bf8798

tdf#168320: these commands are only relevant for LOK

It will be available in 26.2.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.