PreviousNextTracker indexSee it online !

(53/211) 3383 - Distinguish "drive not available" state

When Windows network drive (mapped to a drive letter) becomes unavailable, jEdit gives a dialog "files deleted on disk, save to recreate" for all open files from that drive, and marks them all "unsaved".
If there were tens of files open, it is annoying to reload or ignore, and if some files were really unsaved, it is very annoying to recall which files really need to be saved to another place.

I assume, the same annoyance may take place with any removable drive, but I didn't check.

jEdit could detect if drive is not available at all and don't mark all files unsaved in that case.

Submitted checat - 2010-01-27 12:01:39 Assigned
Priority 5 Labels Windows Specific
Status open Group minor bug
Resolution None

Comments

2010-01-27 12:02:22
checat

- **summary**: Distiguish "drive not available" state --> Distinguish "drive not available" state

2010-02-17 21:00:56
*anonymous

What do you expect jEdit to do in this case? As far as jEdit is concerned, the underlying file has disappeared. If you close such a buffer now, you will not be able to open it again later. So I think it makes sense.

2010-02-17 23:19:09
checat

I expect
if currently buffer is not durty and root of disk drive becomes not available, don't mark it dirty.
Assume files are not available, but not deleted, so you will be able to open it again later, when disk will become available.

Distinguish that from
if currently buffer is not durty and file path becomes not available but root path of disk drive available, mark it dirty and ask to save it.

2013-10-07 22:00:17
ezust

- **labels**: --> Windows Specific