https://bugs.documentfoundation.org/show_bug.cgi?id=172433

            Bug ID: 172433
           Summary: High memory usage when inserting pie chart with A:A
                    whole-column shorthand
           Product: LibreOffice
           Version: 26.2.3.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Chart
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Specifying the data range for a pie chart can use a surprisingly large amount
of memory; possibly a memory leak.

Suppose I want to create a pie chart that references the data in column A, such
that I can add additional entries at the bottom and have the chart update. I
expect to be able to refer to the column using the shorthand A:A, the way I can
when typing functions like =AVERAGE(A:A). When I make that chart and type in
the data range reference, LibreOffice becomes unresponsive and gradually starts
using more and more memory.

There is a workaround by typing a smaller data range like A1:A100, but I would
expect a less resource-intensive behavior to be the default.

Steps to Reproduce:
1. Open a new Calc document.
2. Type some test data to column A, like the numbers 1-5.
3. menu Insert -> Chart. Choose a pie chart. For the Data Range, type
$Sheet1.$A:$A . Click finish.

Actual Results:
Calc becomes unresponsive after clicking Finish and begins consuming an
increasing, unbounded amount of system memory until forced to quit.

Expected Results:
Calc creates a pie chart using only the defined data in column A.
Alternatively, the data range text box is highlighted red to indicate an error.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 26.2.3.2 (X86_64)
Build ID: 70e089b17412e4cb7773e41413306b17a2328c34
CPU threads: 14; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster;
VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

This behavior has also been confirmed in Linux; version 26.2.3.2 (X86_64)
installed from Ubuntu package version 4:26.2.3.2-0ubuntu0.26.04.1

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to