GNOME Bugzilla – Bug 756426
Anjuta show "The file ... has been deleted on the disk" everytime I save file.
Last modified: 2015-11-20 17:55:44 UTC
Created attachment 313111 [details] Screenshoot Everytime I edit and save the document, anjuta always show notification that saya the file has been deleted on the disk. When I checked the file, it still existed and the content updated. But this notification is annoying. I am sorry,I am not good at English. Thanks
reason of the bug : Gio FileMonitor says that a file was deleted, but this file is a temporary file (file.ext~)
fixed : https://bugzilla.gnome.org/show_bug.cgi?id=756997
I have committed the fix of Yannick in the master branch. Could you check that it fixe this bug? You need to recompile Anjuta from the sources, so it's not completely obvious though.
Identical issue (v 3.18.0), I recompiled anjuta with the patch and it fixes the problem. So this should probably also go in the 3.18 branch.
(In reply to Atri from comment #4) > Identical issue (v 3.18.0), I recompiled anjuta with the patch and it fixes > the problem. So this should probably also go in the 3.18 branch. Thank you for checking that. I have committed the fix 3.18 branch and make a new release 3.18.2.
Sorry for late reply. I confirm that I dont see this issue on 3.18.2 Thanks.
(In reply to Abi Hafshin from comment #6) > Sorry for late reply. I confirm that I dont see this issue on 3.18.2 Thank you too. Don't worry for your reply, I haven't been so fast myself and Atri has replied for you.
I don't know if this is related but with anjuta 3.18.2 now I have started to see the following warning during file save very frequently (but not every time): "The file foo on the disk is more recent than the current buffer. Do you want to reload it? <Refresh> <Cancel>" which makes saving files a painful process again (although less that what was originally reported for this bug). Should I open a new one?
(In reply to Atri from comment #8) > Should I open a new one? Yes, it would be better to open a new bug. There is a check to know if the changed file is due to the editor save or not. I don't see but I'm still using Scintilla.