HippoEdit does not prompt when file changes externally

Started by samuel1991, January 01, 2011, 02:36:29 AM

Previous topic - Next topic

samuel1991

This happens on at least 1.48 version (I tested only X64 for now, but suspected other flavors are affected too), where I open a text file in HippoEdit, then I edited the file on notepad (Or any other external editors) and save it. I return to HE to see instead of a message box prompting a save of it, it instead synchronize with the newly edited file.

Example:

I have a file called Test.txt with the content as:

Test

and I open it in HippoEdit, but then I edit that same file on a notepad (Or any other external editors) to:

Test

测试


Save this file with chinese characters (Literally also means Test) in notepad (My external editor is notepad), and HippoEdit now shows:

Test

测试


without any notification.

育儒行动团

Just to add on, however, if I do the same thing, but instead of immediately return to HE, but continue to do other non related work for about 30 minutes or so, instead of the text there be sychronize, but instead things saved in the notepad will be destroyed if you save the same file copy in HE since there is no notification given such as above.

alex

QuoteVersion 782:
Once more update for 1.48. Hope this is last time and then will be real 1.49  .
New. Updated and not modified documents from now on reloaded automatically by default. Controlled by new XML flag AutoReloadNonModified.

So, if file was non modified in HE and modified outside it will be reloaded automatically.
From 1.49.790 there was one more correction for this functionality:
QuoteFixed. Auto reload by default should be done for non-modified during session files, but not just not modified. Details...

HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

育儒行动团

#3
So this is an intended function but there is a need to improve on it (Like this bug) ?


Heres a screenshot of the issue:


In Line 321, it was deleted the code on "全国开奖" and "排行榜" in Eclipse, which is on the top of the screenshot. This is updated in notepad++, located on the bottom most. Hence, the showed only "足彩胜负", "任选九场" and whatever..... but not the former 2, which showed on HippoEdit in the middle of the screenshot. Then in this case, if one save directly in HE again, all changes in Eclipse will be lost. However, the problem can be resolved by refreshing that document in HE.

The HE version involved is 1.48.783

alex

OK... I think this is not that issue I was answering before.
I was explaining that HE should update automatically (document reloaded), if same document was changed/saved in other document and the document is not modified (not modified during the session in 1.49).

What you described is something different: as far as I have understood, HE has not updated the document at all. Am I right? You have same file open in 3 editors. You have changed it Eclipse, it was updated in Notepad ++ but not in HE. (Have you switch to HE by the way before making screenshot: check is done on App activation)
If this is an issue, than it is a bug. The possible reason can be that file is on remote drive (is it Win Server or Linux, I mean disk Z).
Is same happens if files are local?
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

false007

QuoteIf this is an issue, than it is a bug. The possible reason can be that file is on remote drive (is it Win Server or Linux, I mean disk Z).
Is same happens if files are local?

yes, the file is in the disk Z, Linux Server(centos5).

thanks Yu Ru A.G for post it.
[url="http://forum.hippoedit.com/?/topic,536.msg2371.html#msg2371"]http://forum.hippoedit.com/?/topic,536.msg2371.html#msg2371[/url]

alex

Ok, that can be a reason, that for Linux servers HE do not get file system update events (or because this is a remote server at all, I have not checked this or do not remember)...
I will try to reproduce and fix issue: but this can take some time. I do not have Linux server for testing currently. But If all will go well, correction will be included in new beta 1.49.

To be sure in the reason, somebody of you guys can tell me if this works correctly for your local files?
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

false007

yes,HE works well for my local files.

In my company, all the files in one computer(192.168.0254 Centos5),  the server(Centos) give me a account, and I works in my account, my computer use WindowsXP(192.168.0.119).

I found this bug some time, but then I am not sure.

[url="http://forum.hippoedit.com/?/topic,536.msg2371.html#msg2371"]http://forum.hippoedit.com/?/topic,536.msg2371.html#msg2371[/url]