Bug 141455

Summary: A graph is not updated when a value changes
Product: LibreOffice Reporter: snowboard975 <snowboard975>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: miguelangelrv, xiscofauli
Priority: medium    
Version: 7.0.5.2 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: An example ods file that can reproduce the symptom

Description snowboard975 2021-04-02 10:27:38 UTC
Created attachment 170913 [details]
An example ods file that can reproduce the symptom

Steps to reproduce the bug:
  1. Open the attachment, "not_updating_graph.ods"
  2. Click cell A2
  3. Input 10
Expected result:
  The graph on the right should show the new value, 10
Actual result:
  The graph is not updated and continue showing the old value, 1
Comment 1 snowboard975 2021-04-02 10:37:07 UTC
The left graphs are empty but needs to be left to reproduce the symptom. This file is a result of simplification to show relevant data only.
Comment 2 [REDACTED] 2021-04-02 10:53:28 UTC
Additional information: The view updates if file is saved and reopened or releoad.
Comment 3 m_a_riosv 2021-04-03 23:01:04 UTC
After deleting all other charts, saving and reload then seems it works fine. Also creating from scratch seems it works fine.

In any case seems like a dup of tdf#86321
Comment 4 snowboard975 2021-04-05 12:06:18 UTC
(In reply to m.a.riosv from comment #3)
> After deleting all other charts, saving and reload then seems it works fine.
> Also creating from scratch seems it works fine.
> 
> In any case seems like a dup of tdf#86321

After deleting all other charts, the problem is gone because at least 19 other charts are necessary to observe this bug.
It can also be observed from the scratch as follows:
1. Input A in cell A1. Input 1 in cell A2.
2. Locate the cursor on cell A2 and click on the chart icon and click finish button to make a chart showing the value 1. 
3. Drag and move the chart to cell J1.
4. Locate the cursor on cell A4.
5. Click on the chart icon and click finish icon to make an empty chart.
6. Copy and paste the empty chart to make total 19 empty charts.
7. Save and close the document and open it again.
8. Input 10 on cell A2.
Comment 5 snowboard975 2021-04-05 12:37:54 UTC
(In reply to m.a.riosv from comment #3)
> After deleting all other charts, saving and reload then seems it works fine.
> Also creating from scratch seems it works fine.
> 
> In any case seems like a dup of tdf#86321

It seems that it is indeed a duplicate of tdf#86321.
Comment 6 Xisco FaulĂ­ 2021-04-07 07:05:26 UTC

*** This bug has been marked as a duplicate of bug 86321 ***