Quote:
Originally Posted by kovidgoyal
There's no guarantee that that trying to save a file as book-1.epub would work, what is calibre to do if that fails? try book-2.epub, then book-3.epub and keep on trying forever?
|
That's certainly one option, yes. If I try to copy a file where it already exists, no operating system I've used this decade has had a problem with figuring out an alternate filename that isn't taken. Windows uses "book (Copy).epub", or "book (Copy) (
n).epub" as need be. Even a simple dialog box saying "hey, there was a problem" and prompting for a new filename (ie. shunting over to the Save As logic) would be helpful.
For that matter, simply
not deleting the temp file if the "copy over original" operation fails would be better than nothing. After all, we already know
that's a valid filename.
Quote:
Originally Posted by kovidgoyal
If something on your computer keeps on locking files, then you need to find and fix that something,
|
Unfortunately, according to my computer, "that something" is calibre itself. From memory, "calibre working process" is the specific name given.
Quote:
Originally Posted by kovidgoyal
or you need to get into the habit of not clicking yes, quit anyway.
|
So you're saying that you see nothing wrong with "close when finished saving" closing with no error message, abort option,
or recovery option in the event that the save is unsuccessful? Because that goes against pretty much every principle of user interaction that I'm familiar with.