PreviousNextTracker indexSee it online !

(146/212) 388 - less obtrusive I/O Errors (eliminate modal popups)

I'd like to see the elimination of modal pop-up dialogs whenever possible, perhaps favoring status bar notices and logging instead - specifically in the case of I/O errors but there might be others.

For example: "I/O Error - The following I/O operation could not be completed: C:\Program Files\jEdit\\#Untitled-1#: Cannot save: java.io.FileNotFoundException: C:\Program Files\jEdit\\#Untitled-1# (Access is denied)". This is information that is nice to have, but not something I want to see every 30 seconds until I get around to either A) saving the file in a location I have permission to, or B) turning off the default global autosave setting. Note that I do understand why this particular message appears, and that there are several ways to remedy it - I'm just suggesting that when this \*does\* occur, a modal dialog isn't the way to handle it.

Another one I see a lot is "The following nn I/O operations could not be completed:" followed by a bunch of character encoding warnings when I do a HyperSearch on a subdirectory tree that has some binary files mixed in. Again this might nice-to-have info, but not something I want to be bothered with whenever I am too lazy to narrow the HyperSearch Filter down from "\*" (which is nearly always).

If I am manually saving a file and an I/O error occurs, that is when I would want and expect a dialog to pop up.

Submitted m0n0lith - 2011-03-30 23:19:57 Assigned ezust
Priority 5 Labels
Status open Group v5.2
Resolution None

Comments

2011-03-30 23:42:19
m0n0lith

PS - quick hack for those who just really doesn't want to see these two particular messages ever again (despite possible consequences): comment out line 92 in BufferAutosaveRequest.java and line 341 in BufferLoadRequest.java, and _caveat utilitor_\!

2011-03-31 02:47:30
ezust

I think VFSManager.error() should be deprecated, and/or rewritten to use Log.log(Log.ERROR, ..)
instead of those old error dialogs.

2014-03-12 20:39:52.395000
ezust

- **assigned_to**: Alan Ezust
- **Group**: --> v5.2

2016-11-21 23:16:08.757000
aukdr

Hi to all,

I would like to UP this ticket. Especially I agree with p.2 for HyperSearch on a subdirectory, really annoying popup. To my mind extra checkbox in Settings group like 'ignore i/o errors' would be great.

Thanks.

Screen%20Shot%202016-11-08%20at%2012.45.43.png (111.2Kio)