Description: Deleting an existing mean value line or a trend lin in a chart crashes LibreOffice calc immediately. Creating a new or editing an existing trend or mean value line works fine. Steps to Reproduce: 1. Delete an existing mean value line or trend line in a chart. 2. Program crashes immediately. Actual Results: Delete an existing mean value line or trend line in a chart. Expected Results: Program crashes. Reproducible: Always User Profile Reset: No Additional Info: Program should have not crashed?
Created attachment 202361 [details] Test chart to crash calc by deleting trend or mean value line.
Found the bug by using LibreOffice Version 25.8.0.4 for Windows.
It seems that you cannot delete any line in a chart without crashing LibreOffice calc. Trend line, mean value line, normal chart line.. calc always crashes immediately.
You can even see it in a very simple chart I created myself. Not reproduced with Version: 25.2.5.2 (X86_64) / LibreOffice Community Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022 CPU threads: 2; OS: Linux 6.1; UI render: default; VCL: gtk3 Locale: ja-JP (ja_JP.UTF-8); UI: ja-JP Calc: threaded Reproducible with Version: 25.8.0.4 (X86_64) Build ID: 48f00303701489684e67c38c28aff00cd5929e67 CPU threads: 2; OS: Linux 6.1; UI render: default; VCL: gtk3 Locale: ja-JP (ja_JP.UTF-8); UI: ja-JP Calc: threaded Not reproduced with [2025_08_17] Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 08b0b260f52483090d94a6d5bd0b053bb1b51c9e CPU threads: 2; OS: Linux 6.1; UI render: default; VCL: gtk3 Locale: ja-JP (ja_JP.UTF-8); UI: ja-JP Calc: threaded
NO crash with Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: ea064cc802c874062c7526781502611e341d8401 CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded
Reproducible with: Version: 25.8.1.0.0+ (X86_64) / LibreOffice Community Build ID: 00b2dd5faeb43ff50c84139a31892956a6a142d7 CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded But not reproducible with: Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 7f4868348c14b305fcd75744e1e3544d0d3a5d61 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 NEITHER Version: 25.2.5.2 (X86_64) / LibreOffice Community Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022 CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
Not reproducible in Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: f3522ba36c867f4eb69fabcf293419f1d69caffa CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: x11 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded
Regression introduced by: commit 1160d5b29a9cdae5ec6126663e888b8e5c76aba4 [log] author Attila Szűcs <attila.szucs@collabora.com> Thu Apr 24 11:13:08 2025 +0200 committer Miklos Vajna <vmiklos@collabora.com> Thu May 08 08:31:36 2025 +0200 tree be8c0a937ee4d53cf24956034efc29d696cb7845 parent 7bb189c3c2c3fb414484e81b9c6bd2f446784cb3 [diff] Chart Font sidebar panel Bisected with: linux64-25.8
In master, the issue got fixed with commit 56bfdcdd0b1dc03eff2e63f216ae80215611f9cf [log] author Mike Kaganski <mike.kaganski@collabora.com> Sun Jul 06 20:43:43 2025 +0500 committer Mike Kaganski <mike.kaganski@collabora.com> Sun Jul 06 19:00:43 2025 +0200 tree cc613e2639f6649a93e067440d1a9fcc94cbd2d7 parent 543b6dc7668c8b5958b9adc010ab91855cc47a2a [diff] Avoid re-asking the property value, when it has already been obtained Backported to libreoffice-25-8 in https://gerrit.libreoffice.org/c/core/+/189859
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-25-8": https://git.libreoffice.org/core/commit/51233dfa4adae23b720bf150b0a62b6459f4baf8 tdf#167988: Avoid re-asking the property value, when it has already... It will be available in 25.8.1. 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.
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/8070a17886bbe174fd31563b79fc15e359995451 tdf#167988: sc: Add UITest 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.
Xisco Fauli committed a patch related to this issue. It has been pushed to "libreoffice-25-8": https://git.libreoffice.org/core/commit/a067cfd788121ad4042cf09acf62505caf38b66c tdf#167988: sc: Add UITest It will be available in 25.8.1. 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.
*** Bug 168097 has been marked as a duplicate of this bug. ***