Bug 162129 - Undoing a pivot-table column filtering results in partial update only
Summary: Undoing a pivot-table column filtering results in partial update only
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.2.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Pivot-Table Undo-Redo
  Show dependency treegraph
 
Reported: 2024-07-21 09:23 UTC by Eyal Rozenberg
Modified: 2024-08-11 20:59 UTC (History)
4 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 Eyal Rozenberg 2024-07-21 09:23:17 UTC
Reproduction instructions:


1. Create a document with data in one sheet, and a pivot-table + pie pivot-chart in another sheet; or open attachment 195119 [details]
2. On the pivot-table sheet, use the drop-down filter on the Status column and de-select RESOLVED
3. Observe the change to the chart: RESOLVED is now missing (e.g. from the legend)
4. Undo the filtering action using Ctrl+Z or Edit > Undo on the menus

Expected results:
E1. The pivot table row for RESOLVED is now visible.
E2. When opening the Status column's drop-down menu. 
E3. The chart regains the RESOLVED legend entry and slice.
E4. "Status" drop-down-listbutton gets its indicator triangle discolored (e.g. from blue back to black)

Actual results:
E1 happens
E2 doesn't happen - RESOLVED is untoggled
E3 doesn't happen - chart is still missing RESOLVED
E4 doesn't happen


Regression?
Comment 1 Eyal Rozenberg 2024-07-21 09:24:02 UTC
Build id:

Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 4; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Calc: threaded
Comment 2 m_a_riosv 2024-07-22 00:43:01 UTC
Maybe because undo is different in the chart than in the spreadsheet.

Undo doesn't work for the status while editing the chart.

Version: 24.8.0.1.0+ (X86_64) / LibreOffice Community
Build ID: 9bba9dede3def626e3adab6696a911762e25b7ff
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded