Bug 161008

Summary: EDITING: Spurious Deletions
Product: LibreOffice Reporter: p.wibberley
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEEDINFO ---    
Severity: normal CC: dgp-mail, stephane.guillou
Priority: medium    
Version: 24.2.2.2 release   
Hardware: All   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Screenshot showing words that had been added shown as deletions.

Description p.wibberley 2024-05-09 13:33:25 UTC
Created attachment 194055 [details]
Screenshot showing words that had been added shown as deletions.

I am finding Writer 24.2.2.2 crashing a few times a day, while I am editing a document.  Of most concern is that, when I re-open the document  - it doesn't always give me the choice of Document Recovery - I find that a lot of edits I added shortly before the crash being shown as deletions. (See screenshot.)  Consequently, I have to review the whole document to find and reject these deletions.  That there may a large number of unintended deletions is, needless to say, worrying.  

Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Ubuntu package version: 4:24.2.2~rc2-0ubuntu0.22.04.1~lo1
Calc: threaded
Comment 1 p.wibberley 2024-05-09 13:35:31 UTC
NB I don't have the permissions, but I think this needs to be flagged as Major, or even Critical.  

Thanks and regards
Comment 2 p.wibberley 2024-05-10 12:27:27 UTC
This may be specific to DOCX files that have been edited in Microsoft Word.
Comment 3 Dieter 2024-05-26 19:41:00 UTC
p.wibberly, thank you for reporting the bug. Does it happen with every docx-file or only with a specific one. Is it possible to attach it here? Do you get a link to a crash report (You can enable sending a report with Tools -> Options -> LibreOffiece -> General)? Please paste it here.
=> NEEDINFO
Comment 4 p.wibberley 2024-05-27 10:30:16 UTC
Dieter, 

Thank you for your comment.  The file is a piece of work for a client, and is a little confidential.  Let me see if I can reproduce the problem with a non-confidential document. I'll also see if I generate the report, as per your suggestion.    

Thanks and regards

Peter
Comment 5 QA Administrators 2024-05-28 03:14:02 UTC
[Automated Action] NeedInfo-To-Unconfirmed
Comment 6 Stéphane Guillou (stragu) 2024-05-28 06:35:37 UTC
Thanks for the report.
- please install version 24.2.3 (or above), as some crashes have been fixed
- if you manage to create a sample file, please attach it here

I tested the following:
0. Set autoRecovery time setting to 1 minute
1. Create a new Writer document, insert some sample text, turn on track changes (show and record), save
2. Add some text in various places
3. Wait for 1+ minute
4. Kill soffice process
5. Relaunch LO
6. Recover file when prompted

I could not reproduce the bug. Additions are shown as additions. I tested both ODT and DOCX.

Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded