After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756426 - Anjuta show "The file ... has been deleted on the disk" everytime I save file.
Anjuta show "The file ... has been deleted on the disk" everytime I save file.
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: core application
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: Naba Kumar
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2015-10-12 09:59 UTC by Abi Hafshin
Modified: 2015-11-20 17:55 UTC
See Also:
GNOME target: ---
GNOME version: 3.17/3.18


Attachments
Screenshoot (9.35 KB, image/png)
2015-10-12 09:59 UTC, Abi Hafshin
Details

Description Abi Hafshin 2015-10-12 09:59:12 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
Comment 1 Yannick Inizan 2015-10-23 02:06:58 UTC
reason of the bug : Gio FileMonitor says that a file was deleted, but this file is a temporary file (file.ext~)
Comment 2 Yannick Inizan 2015-10-23 02:40:39 UTC
fixed : https://bugzilla.gnome.org/show_bug.cgi?id=756997
Comment 3 Sébastien Granjoux 2015-10-25 18:01:07 UTC
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.
Comment 4 Atri 2015-11-07 12:00:07 UTC
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.
Comment 5 Sébastien Granjoux 2015-11-07 20:32:33 UTC
(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.
Comment 6 Abi Hafshin 2015-11-08 08:42:29 UTC
Sorry for late reply. I confirm that I dont see this issue on 3.18.2

Thanks.
Comment 7 Sébastien Granjoux 2015-11-08 13:29:04 UTC
(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.
Comment 8 Atri 2015-11-18 21:19:34 UTC
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?
Comment 9 Sébastien Granjoux 2015-11-20 17:55:44 UTC
(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.