Bug 88460 - EDITING: Problem inserting cell when tracing dependents (recalculate F9 needed)
Summary: EDITING: Problem inserting cell when tracing dependents (recalculate F9 needed)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.3.5.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Cell-Management
  Show dependency treegraph
 
Reported: 2015-01-15 13:40 UTC by rebelxt
Modified: 2019-08-12 22:20 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
spreadsheet required to demonstrate problem (861.83 KB, application/vnd.oasis.opendocument.spreadsheet)
2015-01-15 13:40 UTC, rebelxt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rebelxt 2015-01-15 13:40:29 UTC
Created attachment 112292 [details]
spreadsheet required to demonstrate problem

Running Version: 4.5.0.0.alpha0+ Build ID: 7201fa0dddd7dd0352f69fd2b2b64efcb361ccad in Linux Mint 13. This problem also exists with 4.3.5.2 in Linux Mint 17.

Open the attached spreadsheet (it contains macros). Trace dependents on cell T.A8; select cell S.C11; rt-clk, Insert...
Select Shift cells down, press Enter.
The Insert Cells dialog remains until F9 (Recalculate) is pressed. You can then press Ctrl-z to undo the insert; then repeat the insert, problem still exists.

This also happens when Ctrl++ is used to insert a cell. It only happens when Trace dependents is in effect. The problem can disappear when changes are made to the spreadsheet. The problem will not manifest on a simple spreadsheet. It may be related to having merged cells in the workbook, but I'm not sure about that.

I have seen this happen when inserting an entire row, but that will not happen with the attached spreadsheet.
Comment 1 raal 2015-01-15 14:05:45 UTC
(In reply to rebelxt from comment #0)

> Running Version: 4.5.0.0.alpha0+ Build ID:
> 7201fa0dddd7dd0352f69fd2b2b64efcb361ccad in Linux Mint 13. This problem also
> exists with 4.3.5.2 in Linux Mint 17.
> 
Lowering version
Comment 2 raal 2015-01-15 14:18:29 UTC
(In reply to rebelxt from comment #0)
> Created attachment 112292 [details]
> spreadsheet required to demonstrate problem

> Open the attached spreadsheet (it contains macros). Trace dependents on cell
> T.A8; select cell S.C11; rt-clk, Insert...
> Select Shift cells down, press Enter.
> The Insert Cells dialog remains until F9 (Recalculate) is pressed. You can
> then press Ctrl-z to undo the insert; then repeat the insert, problem still
> exists.
> 

I can confirm with LO 4.3.5,win7

> This also happens when Ctrl++ is used to insert a cell. It only happens when
> Trace dependents is in effect. 

When I off the Trace dependents the bug still occurs ... Your spreadsheet is quite complex, are you able to make simpler test case? For example delete unused parts of spreadsheet.
Comment 3 rebelxt 2015-01-15 15:08:26 UTC
On my system, the problem only happens when Trace dependents is in effect. Also, if I remove significant portions of the test case, the problem goes away. That is why all the garbled text on some of the sheets. If the formulae are removed or simplified, the problem disappears. (At least on my system.)
Comment 4 rebelxt 2015-02-07 15:08:16 UTC
(In reply to rebelxt from comment #0)
> The Insert Cells dialog remains until F9 (Recalculate) is pressed.

In version 4.4.0.3 running on Windows 8.1, the dialog disappears, but F9 is still required to actually see the change.
Comment 5 rebelxt 2016-01-11 14:16:17 UTC
This bug still exists in 5.0.3, only now it manifests even when there are no traces in effect. Unfortunately, this problem is not demonstrated in the test document. At this time I would have to submit the original spreadsheet with all my personal information, which I really don't want to do.

There is now an additional symptom which is probably related. When a cell is edited, it is blank until another cell is edited. To demonstrate, click on cell T.A26, type something between the quote marks (even just a space), press the enter key. Cell A26 is blank. Double-click cell A27; cell A26 is now displayed. The modified cell will also be displayed if you page-down/page-up or the AutoRecovery save occurs. Again, unfortunately, this only happens in the test document when the trace is in effect, but in the original document, it happens all the time.
Comment 6 rebelxt 2016-02-17 18:37:27 UTC
Bug(s) still in 5.2:

Version: 5.2.0.0.alpha0+
Build ID: bc20c6d0f397c0c1aef6ef7d6f750c2f81af8db6
CPU Threads: 4; OS Version: Linux 3.19; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-02-10_23:58:59
Locale: en-US (en_US.UTF-8)

Bug(s) not in 3.6:  Version 3.6.7.2 (Build ID: e183d5b)
Comment 7 QA Administrators 2017-03-06 15:35:51 UTC Comment hidden (obsolete)
Comment 8 rebelxt 2017-10-23 19:50:33 UTC
Bug still present in 5.4.2.2, Linux Mint Mate 18.2. It's changed a bit, in that the insert dialog goes away, but you still have to recalculate (F9), or make some other change to the document for the insertion to be shown. Same symptoms still exist in a recent daily build of 6.0.0.0.alpha0.
Comment 9 rebelxt 2018-02-10 14:54:07 UTC
Still present in Version: 6.1.0.0.alpha0+
Comment 10 QA Administrators 2019-02-11 03:40:12 UTC Comment hidden (obsolete)
Comment 11 rebelxt 2019-08-12 22:20:18 UTC
The problem still exists in:

Version: 6.2.5.2
Build ID: 1:6.2.5-0ubuntu0.16.04.1~lo1
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded