This problem seems to happen when the new version of the file to be saved is shorter than the older. I tried creating a space filled file, named file.odt, and then creating a new spreadsheet an saving with the same name. If file.odt is stored locally, everything goes fine, but if it is stored on a samba share, the result is a file containing a blank spreadsheet with trailing spaces until the length of the dummy space filled old file. That is, saving over an existing file on a samba share overwrites the older, but doesn't arrange the length of the file.
This problem seems to happen when the new version of the file to be saved is shorter than the older. I tried creating a space filled file, named file.odt, and then creating a new spreadsheet an saving with the same name. If file.odt is stored locally, everything goes fine, but if it is stored on a samba share, the result is a file containing a blank spreadsheet with trailing spaces until the length of the dummy space filled old file. That is, saving over an existing file on a samba share overwrites the older, but doesn't arrange the length of the file.
Regards
Albert