Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dismiss "Deleted from Disk" Infobar on Reload #1330

Closed
codebrainz opened this issue Dec 4, 2016 · 1 comment · Fixed by #1628
Closed

Dismiss "Deleted from Disk" Infobar on Reload #1330

codebrainz opened this issue Dec 4, 2016 · 1 comment · Fixed by #1628

Comments

@codebrainz
Copy link
Member

When an open document's file is deleted from disk the infobar pops up to let the user know. The infobar doesn't have a Reload option (which kind of makes sense). Often I'll have a generated file open which is frequently deleted and re-created from scratch, which of course triggers the infobar. I'll then generate the file and want to reload it in Geany so I press the Reload button. Doing this should dismiss/cancel the infobar that is effectively wrong now instead of having to press Cancel manually after reloading.

A further enhancement would be for Geany to detect the file is back on disk and switch the infobar out for the one notifying of a change on disk, which does have a Reload option and is also dismissed on reload.

@elextr
Copy link
Member

elextr commented Dec 4, 2016

Doing this should dismiss/cancel the infobar that is effectively wrong now instead of having to press Cancel manually after reloading.

Makes sense.

lpaulsen93 added a commit to lpaulsen93/geany that referenced this issue Oct 3, 2017
lpaulsen93 added a commit to lpaulsen93/geany that referenced this issue Oct 5, 2017
Cancel 'MSG_TYPE_RESAVE' info bar if still open in function 'document_reload_force'.
This closes the "Deleted from Disk" message if the user clicks on the reload button.
Fixes geany#1330.
kugel- pushed a commit that referenced this issue Nov 14, 2017
Cancel 'MSG_TYPE_RESAVE' info bar if still open in function 'document_reload_force'.
This closes the "Deleted from Disk" message if the user clicks on the reload button.
Fixes #1330.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants