Menu

#388 less obtrusive I/O Errors (eliminate modal popups)

v5.2
open
None
5
2016-11-21
2011-03-30
m0n0lith
No

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.

Discussion

  • m0n0lith

    m0n0lith - 2011-03-30

    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_!

     
  • Alan Ezust

    Alan Ezust - 2011-03-31

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

     
  • Alan Ezust

    Alan Ezust - 2014-03-12
    • assigned_to: Alan Ezust
    • Group: --> v5.2
     
  • Andrei

    Andrei - 2016-11-21

    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.

     

Log in to post a comment.