<p>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.</p>
<p>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.</p>
<p>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.</p>
<p>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).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1373">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ9ozQuomWKEJZb_P3f1WFu3a7XzKks5rUPNBgaJpZM4LpkWs">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ5VjJNK8w0590TrhwZzSwJ_rwLQhks5rUPNBgaJpZM4LpkWs.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1373"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"\"File not found\" infobar still present after reloading file (#1373)"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1373"}}}</script>