Bug 160374

Summary: Libreoffice files is removed after PDF export and save on network folder
Product: LibreOffice Reporter: thorsten.brandau
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal CC: thorsten.brandau
Priority: medium    
Version: 7.6.5.2 release   
Hardware: All   
OS: All   
Whiteboard: QA:needsComment
Crash report or crash signature: Regression By:

Description thorsten.brandau 2024-03-26 11:01:44 UTC
Description:
When I export an ODx file as PDF (e.g. via the tool bar button), then close the Libreoffice document and on the question "shall the document be saved", save the libreoffice document file, the Libreoffice document is removed from a network drive.
The behaviour started around Libreoffice 7.x

Steps to Reproduce:
1. Create Libreoffice file on a network drive (CIFS)
2. Save as libreoffice file
3. Export as PDF, e.g. via tool bar button
4. close the file
5. Answer "yes" to the pop up "Modified - Save file?"
6. Libreoffice file is removed

This happens with and without locking. When locking is activated in libreoffice, frequently the Libreoffice file cannot be saved anymore and has to be saved under a different file, after closing the document, the "old" one is removed from the server.

Actual Results:
ODx file is removed from network drive.

Expected Results:
ODx file is not removed


Reproducible: Sometimes


User Profile Reset: Yes

Additional Info:
This happens frequently (ca. 10-20%) on network drives.