Quote:
Originally Posted by dlibke
When I opened Sigil Preferences->General Settings, the Set Folder where temporary file should be saved had a value. I need to know what that file path is. When I clicked on the browse button, in stead of opening the folder in the text box, the dialog opened the current editor file's folder, which immediately replaced the preference text box content. As a software architect, that behavior was totally unexpected.
|
As a software architect: patches are welcome.
The 'Browse' button is not intended to be used to "browse" the contents of the current scratch folder. In fact, manual access to Sigil's scratch directory is not recommended at all (hence the non-path default value). The "Browse" button is used to browse for a new location where you want Sigil to
create its scratch directories. The "Auto" button puts it back to the Sigil default. The only reason to use the Browse/Auto buttons if there are permission problems with the default location (or you're trying to work around a MacOS issue where epubs left open in Sigil for days can have their temp files harvested by the OS).
In all honesty... there probably shouldn't have
been a real file-path in the text box to begin with. The default value is "<SIGIL_DEFAULT_TEMP_HOME>." It should only be changed from that default to address some very specific issues (mentioned above). Manually editing files in Sigil's scratch directory with other software while Sigil has them open is a surefire fire way to mess things up badly (including lost content). That's why we stopped showing the actual path in the text box in the first place. I can't stress enough how those files should be left entirely alone.
Quote:
Originally Posted by dlibke
Now I need that default value to see if a temporary copy of her edits is there. I do not want to close the Preferences window for fear that the folder will be deleted thus permanently losing the missing edits.
|
Closing the Prefs Window won't delete any temp folders. Closing Sigil is what triggers the scratch folder cleanup routine.