[Github-comments] [geany/geany] in some cases, Geany doesn't detect file has been overwritten (#2133)

Andy Alt notifications at xxxxx
Mon Apr 29 03:35:34 UTC 2019


> Pcmanfm 1.2.5 WFM @andy5995 maybe its something you have set?

Nothing related to time in the settings.

Ok, so after I try it with PCManfm changing reversing the dates, I get the reload indicator if ./tempdir/file1 is more recent than ./file1 (and ./file1 is open in Geany).

But I think in most cases, ./file1 would be more recent. If someone is editing the file and saves it, it would always be more recent. But at some point if he wants to overwrite that file with an original copy (from a different directory) that's slightly different than the one being edited, Geany won't recognize the change. i.e. ./file1 will always be more recent than the original.

>[Edit: I should point out that this is Geany's expected behaviour]

Hmmm... ok. I didn't realize that. When I discovered this bu.. feature, I was doing some game-modding and needed to replace some opened files with their originals (from a different directory). I kept wondering why the change wasn't having any effect. Maybe a more alert person would have immediately realized the problem and just closed and reopened the file. ;)

The additional problem I'm noticing now is when I overwrite the more recent one (open in Geany) with the older duplicate, and then tell Geany to open the file, no change shows at all, unless I close the open file first and re-open it.

But if you're sure this is all the expected desired behavior then this ticket can be closed.


-- 
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/2133#issuecomment-487443817
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190428/f6038254/attachment.html>


More information about the Github-comments mailing list