File timestamp changed even when no modifications done

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
jpinto0
Posts: 4
Joined: Fri Jun 29, 2012 8:54 am

File timestamp changed even when no modifications done

Post by jpinto0 »

Hi,
I noticed today a most strange behavior using Textpad 8.5. I open a plain text file in my Windows 10 PC and even I did no changes to it, when I exited Textpad I noticed the file modification time in Windows had been updated to the current time. The same problem did not happen if I open the file with Notepad++ or another text editor, only with Textpad.
Since I have not noticed before and I had made no changes to my Textpad configuration, I was rather puzzled by this and tried to figure out what was wrong here.
So, I uninstalled Textpad, restarted, reinstalled and after a fresh install Textpad behaved normally again, i.e., no file modification changes if I just open and close the file (no changes).
Then I decided to customize Textpad to my needs by adjusting toolbars, macros, preferences, etc. and when I finished the problem was back, i.e., just opening a text file with Textpad and closing it would update the timestamp to the current time.
So I went back to square 1, and did one change at the time in my customization process and checking on each change if the problem returned.
This way I was able to figure out the problem.
In Textpad preferences, under "File", if I check any of the following options, Textpad updates the file timestamp by just opening and closing the file. The options in question are:
Configure > Preferences > File > "Keep files locked while editing them"
and
Configure > Preferences > File > "Open locked files read only".

Now, I could swear I had these options turned on already and I didn't have the problem, but I can't be 100% sure. Anyway, it does not make any sense (especially for the second option mentioned) that file modification time is changed when there are no changes to the file.
Any comments or pointers here?

Thanks
jpinto0
Posts: 4
Joined: Fri Jun 29, 2012 8:54 am

Post by jpinto0 »

Sorry, forgot to mention that today 2 Windows updates were installed on this PC:
https://support.microsoft.com/en-us/hel ... -kb4586853
and
https://support.microsoft.com/en-us/hel ... -framework

Not sure if they are relevant or not, but just to let you know.

Thanks
Post Reply