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:
Depends on:
Blocks: Find-Search
  Show dependency treegraph
 
Reported: 2019-10-28 16:24 UTC by M4SK
Modified: 2023-05-25 04:54 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
Dear themightyloki,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug