Bug 128435 - Data crushed in another sheet when using 'search in all sheets'
Summary: Data crushed in another sheet when using 'search in all sheets'
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: dataLoss
Depends on:
Blocks: Find-Search
  Show dependency treegraph
 
Reported: 2019-10-28 16:24 UTC by M4SK
Modified: 2024-12-19 05:15 UTC (History)
2 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 M4SK 2019-10-28 16:24:27 UTC
Description:
In a Calc document containing multiple sheets of texts (used for software localisation), I might need to alter something, for example "red bird" instead of "blue bird". I do a search for "blue bird" and check the "all the sheets" option.
When I see "blue bird", without closing the search window, I click on the desired cell, for example "cell D27" of "sheet 2", and write "red" instead of "blue".
I keep going like this, by clicking the "search next" button to find the other occurrences to fix.

What happens here, is that VERY OFTEN (but not 100% of the time...), I realize later that the content of the cells I modified this way crushed the content of another cell with the same coordinates IN ANOTHER SHEET (for example, the content of cell D27 of sheet 2 crushed the content of cell D27 of sheet 4... but this can happen in any sheet, before or after sheet 2) !

This can result in severe data loss !

If I use the search in all sheet function and close the search window every time BEFORE clicking on the cell I need to modify, the problem does not happen. But it quickly becomes quite tiresome, especially with very big files...

Also, I *think* I also got the same problem when using "replace all + in all sheets", but crushed cell are even harder to find in this case, so I stopped using it, or manually did a "replace all" in each sheet one by one, to avoid problems...

Steps to Reproduce:
1. Search for some text in a multi-sheets document with the "in all sheets" option.
2. Alter this text without closing the search window.
3. Check afterwards the contents of the cells with the same coordinates as those modified in all the other sheets.

Actual Results:
You find in random other sheets that some cells got overwritten by the content of the cells you modified.

Expected Results:
Only the cells modified in the current sheet where the search returned a result should be altered. Not the cells in the other sheets !


Reproducible: Sometimes


User Profile Reset: No



Additional Info:
Sadly, I cannot provide any of my workfiles to demonstrate this, as I am bound by a confidentiality agreement... :(
But this problem happened multiple times with different files other the last months.


Version: 6.2.8.2
Build ID: 1:6.2.8~rc2-0ubuntu0.18.04.1
Threads CPU : 4; OS : Linux 5.3; UI Render : par défaut; VCL: gtk3; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded
Comment 1 raal 2019-10-29 13:16:58 UTC
I can confirm with Version: 6.4.0.0.alpha1+ (x64)
Build ID: ad0a97ca200328d336a3cd58942f71a824b1f23a
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win; 
and Version: 4.2.0.0.alpha1+
Build ID: fc8f44e82de4ebdd50ac5fbb9207cd1a59a927e3


It happens when you do not finish editing of cell (don't press Enter key)
Comment 2 M4SK 2019-11-05 11:29:16 UTC
Indeed !

The "enter" key is a... key factor (lol !) of the problem !

Good catch !
Comment 3 QA Administrators 2021-11-05 04:25:28 UTC Comment hidden (obsolete)
Comment 4 M4SK 2024-12-19 02:33:31 UTC
Sadly, this bug is still here, many builds later...

It just laid waste to a big project I'm working on in a huge file with more than 40 sheets... :(

Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.1
Calc: threaded