Bug 131937 - Removing "Freeze Rows and Columns" and adding or removing "Split Window" does not flag the file as changed
Summary: Removing "Freeze Rows and Columns" and adding or removing "Split Window" does...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: ModifiedStatus
  Show dependency treegraph
Reported: 2020-04-06 17:31 UTC by tom
Modified: 2021-01-07 17:46 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Note You need to log in before you can comment on or make changes to this bug.
Description tom 2020-04-06 17:31:26 UTC
When a file had no changes and thus it is not flagged as changed (The Save Icon is not indicating a necessary save) and then a existing "Freeze Rows and Columns" option is removed, the file is NOT being flagged as changed. The Save Icon is not changing status, nor is a Save dialogue triggered when the file is closed, the change is just being lost when closing the file.

Steps to Reproduce:
1. Open new spreadsheet
2. Go to B2 and select "Views > Freeze Rows and Columns"
3. Save file
4. Select "Views > Freeze Rows and Columns" again, so to remove it. The Save Icon does not change!
5. Close file. The save dialogue is not coming up
6. Open the file
7. Realize that the "Freeze Rows and Columns" in B2 is back again

Actual Results:
The step to remove "Views > Freeze Rows and Columns" is not saved and lost

Expected Results:
"Views > Freeze Rows and Columns" removal to flag the file as changed

Reproducible: Always

User Profile Reset: No

Additional Info:
1. This bug is not new and exists at least a couple of years by now, in various versions of Calc.

2. In the case that you enforce a save, although the Save Icon is not indicating changes that need to be saved, the change is saved to the file!
Comment 1 Telesto 2020-04-06 18:06:53 UTC
Repro with
Version: (x64)
Build ID: 4501a0ba623ad61c5a4e0b807da2e96f0e4ce82c
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

and with
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL

and with
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b
Comment 2 tom 2020-04-06 18:23:47 UTC
I just noticed that a similar problem exists with adding and removing "View > Split Window". Neither adding, no removing will flag the file changed.

Since I assume that this is very related to the "Freeze Rows and Columns" bug, I did not file a new bug, but added it here.