richsmith / sexytopo

The SexyTopo cave surveying app for Android
GNU General Public License v3.0
30 stars 13 forks source link

File Rename #57

Open CaverBruce opened 5 years ago

CaverBruce commented 5 years ago

I would like a > File > Rename menu option please. File > Save As... followed by > File > Delete is a work around, but it is very cumbersome when there is a whole set of files to rename. I guess consideration should be given to the Application behaviour with respect to linked files when a linked file is renamed, 'saved as' or deleted.

CaverBruce commented 5 years ago

Hmm, v1.1.5 seems to have broken something (or it was broken earlier). I used 'save as' to make a copy of an existing survey, and it seems it actually performed a rename. ie the original file is no longer visible from the ST interface, and so i appear to have have lost its contents. using a file manager I can see that the there is a folder and json files for the original survey though.

richsmith commented 5 years ago

There was some weirdness in the "save as" code, now fixed. Should work as intended in the new update.

CaverBruce commented 3 years ago

After not looking at ST for many months..., yesterday (v1.6.0) I did a 'save as' and it behaved like a rename. This morning I tried to replicate it about four times with different surveys, and each time it behaved as is should, creating a new file with a new name and preserving the old file. Samsung Note 3 Possibly associated with files in the old format and automatic conversion to new format?? Don't know what the pre-save-as formats were.