[Github-comments] [geany/geany] "File not found" infobar still present after reloading file (#1373)

mihoe notifications at xxxxx
Fri Jan 20 17:47:45 UTC 2017


I often see a "File ... was not found on disk!" infobar when a file becomes unavailable while being edited in Geany. When the file reappears (e.g. after re-mounting a disk or network share or when undoing a rename or delete operation outside of Geany) and I reload the file (by pressing Ctrl+R or via the File menu), the tab title turns from red to black, suggesting that the reload was successful. However the "File not found" infobar remains visible, and I have to click the Cancel button to make it disappear.

The "File not found" infobar should behave like its sister infobar for a timestamp mismatch, "The file ... on the disk is more recent than the current buffer", which disappears automatically after reloading the file.

Even better, Geany could be a little more patient and/or intelligent when a file becomes unavailable on disk. Most of the time I see this error message after resuming my machine from suspend, when a network share on which a file that I'm editing in Geany resides needs a couple of seconds to come up again.

Ideally Geany could (a) use a slightly longer timeout before throwing an error, at least while no actual editing is being done or the user doesn't try to save the file and/or (b) retry to locate the missing file a couple of times, with short intervals in between, before showing an error (or hiding the infobar automatically when the file reappears on disk).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1373
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170120/acfb2636/attachment.html>


More information about the Github-comments mailing list