If Ctrl+S was used to save changes, there is no additional prompt to save changes if exit is requested. File size is zero after exit of Libre Office. File size is immediately zero after Ctrl+S if there are changes in the data, but returns to the correct size if the menu is used for saving afterwards.
Bugs can be solved only if reproducible, with the attached document and steps needed to recreate the problem. https://wiki.documentfoundation.org/QA/BugReport
1. Operating System Ubuntu 16.04 LTS, 64 Bit, vmware virtual machine on windows 7. To reproduce the bug: a) Open an existing spreadsheet in calc via double click in file explorer (nautilus) b) do some changes to the data c) push Ctrl+S d) look at the file size in file explorer In approx. 1 of 5 tries the file size is zero, thus you loose all your data if you now exit Libre Office. If you push Ctrl+S again or use the menu tab for "save", then almost always the file size will expand to the "normal" size.
Hi all, I am not able to reproduce this with following setup, Version: 5.1.6.1.0+ Build ID: 5.1.6.1-2.fc24 CPU Threads: 8; OS Version: Linux 4.7; UI Render: default; Locale: en-IN (en_IN.utf8); Calc: group Thank you, Yogesh Desai
I cannot reproduce this issue either in Ubuntu 16.04 with LibreOffice 5.2.3.2.
Please test with 5.2.x. Set to NEEDINFO. Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.
I tested with version 5.2.3.2.: the problem occurred not so often as with 5.1.4.2, but was reproducible once after around 20 tries. The problem lately also occurred once in writer (with 5.1.4.2), but I use writer not as much as calc. May be it has something to do with the file system, because the file size changes to normal size from zero if I press F5 when I see the size zero in the file viewer window.
(In reply to rundr.walther from comment #6) > I tested with version 5.2.3.2.: the problem occurred not so often as with > 5.1.4.2, but was reproducible once after around 20 tries. The problem lately > also occurred once in writer (with 5.1.4.2), but I use writer not as much as > calc. > > May be it has something to do with the file system, because the file size > changes to normal size from zero if I press F5 when I see the size zero in > the file viewer window. * Is there any data loss? (you affirm that in the bug title but not in the bug summary). * Is the problem only seeing the size of the file as zero in the file viewer window? * Does LibreOffice detect changes or new data after the last Ctrl+S? * Can anyone else try it using vmware virtual machine on Windows? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested information is provided.
I am now pretty sure that it is a file system problem. I lost data when I exited libre office and did not touch the file directly after the exit. When I later tried to backup the file, the file size was zero and of course all data was lost. Now I always check in a file system window before exiting - after I pressed ctrl+S in libre office - what fiĺe size it shows. If that is zero (in that case the complete line is grey but readable) I either press ctrl+S in libre office again or press F5 in the filesystem window and then the file size in the FS-window (and the color of the line) changes and all is ok. Perhaps it has something to do with change of a temporary file but I am only guessing. I had a problem which looked a little bit like this one about 20 years ago on another UNIX system with my own filesystem.
I guess the problem is in the virtual machine not in LibreOffice. Do you have some some configuration flag vmware that may have action on the file system? If the problem is in the file system, it is not in LibreOffice, so we could close this bug report as NotOurBug. Set status to NEEDINFO, please set it back to UNCONFIRMED once requested informations are provided. Best regards. JBF
The problem is definitely in the file system. Even if libre office is exited, there is the possibility to regain the data in the FS if nothing else is done with other files and the information in the file system windows shows that after exiting libre office the file size is still shown as zero. So obviously the data is still in a temporary file. So it is not a problem of libre office.