Bug 72101 - UNDO incomplete when contents of a cell with formula is deleted
Summary: UNDO incomplete when contents of a cell with formula is deleted
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Undo-Redo Writer-Tables-Formulas
  Show dependency treegraph
 
Reported: 2013-11-28 06:37 UTC by Mike Kaganski
Modified: 2021-12-30 06:10 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2013-11-28 06:37:10 UTC
Removing contents of a cell with formula and then undoing results in wrong value (and no formula) in the cell.

Steps to reproduce:
1. Create a text document.
2. Insert a new table.
3. In the first cell, enter the formula "=1".
4. Select the whole cell and delete it. (As described in bug 72100, there will be zero.)
5. Undo.

Expected: the cell should contain the formula "=1".

Actual result: it won't undo anything the first time, after second undo the value of the cell is now "10", no formula!

Tested with 4.1.3.2 and AOO4.0 under Win7x64, and 4.1.3.2 under Ubuntu 13.10 x64.
Comment 1 sasha.libreoffice 2013-11-28 09:56:24 UTC
Thanks for bug report
reproduced in 4.1.3 on Fedora (RFR) 64 bit

in item 4 of description deleting may be done also by Backspace. Undo will be also incorrect (number will appear instead of formula).
Comment 2 QA Administrators 2015-04-19 03:20:02 UTC Comment hidden (obsolete)
Comment 3 Mike Kaganski 2015-04-19 05:17:59 UTC
Still reproducible with Version: 4.4.3.1
Build ID: b2f347f2ac68821efc00b6f1793cda90af748118
Locale: ru_RU
under Win7x64
Comment 4 QA Administrators 2016-09-20 09:24:30 UTC Comment hidden (obsolete)
Comment 5 Mike Kaganski 2016-09-20 15:32:21 UTC
Still reproducible with Version: 5.2.2.1 (x64)
Build ID: 3c2231d4aa4c68281f28ad35a100c092cff84f5d
Comment 6 QA Administrators 2018-04-22 02:32:32 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2021-01-16 04:17:58 UTC Comment hidden (obsolete)
Comment 8 stragu 2021-12-30 06:10:43 UTC
Still reproducible with:

Version: 7.0.6.2
Build ID: 00(Build:2)
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Ubuntu package version: 1:7.0.6-0ubuntu0.18.04.1_lo1
Calc: threaded

and:

Version: 7.1.8.1 / LibreOffice Community
Build ID: e1f30c802c3269a1d052614453f260e49458c82c
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

and:

Version: 7.2.4.1 / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

and:

Version: 7.3.0.1 / LibreOffice Community
Build ID: 840fe2f57ae5ad80d62bfa6e25550cb10ddabd1d
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

and:

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 7fe2ce55ab86cc7a32850fdf504e368c535949c3
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded