bug: save all files when some are read-only

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
mrc01
Posts: 2
Joined: Wed May 02, 2007 4:38 pm
Contact:

bug: save all files when some are read-only

Post by mrc01 »

This bug has been in Textpad since as long as I can remember - more than 5 years and also in 5.0.2 so it's about time I reported it.

Suppose you edit multiple files from different directories, then use "save all files" to save them all at once. Normally, this works fine.

But if the files are marked read-only on the disk, then Textpad prompts you with a dialog to overwrite or rename. The default directory for this dialog comes from wherever the first file happens to be. It becomes the default directory for all of the other files, even though they belong in different directories.

So if you respond "overwrite" without noticing this, Textpad saves the rest of the files in the wrong place. And since it updates the new directory in its own copy of each file, you have to go find that first directory and fish each file out and move it back to wherever it belongs, close all the files in Textpad and reopen them from their original locations.

To prevent this, you just have to not use the "save all" feature when some files are read only. Save each file individually, which can be cumbersome.

This may sound like a corner case, but it happens all time with source control systems like CVS.
Post Reply