Multiple Copy-Paste - same creation time

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
ilyanik
Junior Member
Junior Member
Posts: 4
Joined: 2016-03-27, 09:55 UTC

Multiple Copy-Paste - same creation time

Post by *ilyanik »

It seems like creation time is initialized once during the file copy, and used as creation time for every pasted file.

Even for single Copy-Wait-Paste creation time is too much in the past.

* tested in same folder, with " - Copy" suffix.
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Exact steps to reproduce?
TC Version?
OS Version?
Filesystem?

Copy+Paste is done by explorer.
Timestamps have different resolution or update intervals:
File Times wrote:Not all file systems can record creation and last access times, and not all file systems record them in the same manner. For example, the resolution of create time on FAT is 10 milliseconds, while write time has a resolution of 2 seconds and access time has a resolution of 1 day, so it is really the access date. The NTFS file system delays updates to the last access time for a file by up to 1 hour after the last access.
BTW: Can't reproduce with TC8.52a x64 and Windows 7 on NTFS partion.

Regards
Holger
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3862
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Well, if you do copy via Copy-Paste, this is not done by TC but directly by Windows Explorer.

So ... wrong forum ... blame it at MS :wink:
#5767 Personal license
ilyanik
Junior Member
Junior Member
Posts: 4
Joined: 2016-03-27, 09:55 UTC

Post by *ilyanik »

Yes, Windows Explorer is the one to blame.

But the question is if TC should behave like Explorer or to be more wise :)
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

2ilyanik
I don't think that explorer copy methode is the one and only reason for your problem.
As I already posted: "I can't reproduce your problem here".

More questions (additional to my questions you decided to leave unanswered):
- Did you really mean creation time or just the time TC(or Explorer) displays in detail view (which is in fact the last write time)?
- What is the difference between the time you expected and the time displayed by TC (may be exact one hour)?
- Any virus scanner working in background who may prevent the system to set the correct file time?

Regards
Holger
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3862
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

But the question is if TC should behave like Explorer or to be more wise
TC is more wise:
Use F5 to copy and TC will handle it in a smart way!

You decided to use Windows Explorer by Copy-Paste, no TC involved ...
#5767 Personal license
ilyanik
Junior Member
Junior Member
Posts: 4
Joined: 2016-03-27, 09:55 UTC

Post by *ilyanik »

Who says TC should implement Copy/Paste by calling Explorer? :)
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6481
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

ilyanik wrote:Who says TC should implement Copy/Paste by calling Explorer? :)
Sorry, it looks like you don't have any glue about programing.
No program codes Copy/Paste for itself, but you may do it
:D
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Okay, I'm out.
Seems that nobody is interested in finding the reason for ilyanik's problem.

:(
Holger
ilyanik
Junior Member
Junior Member
Posts: 4
Joined: 2016-03-27, 09:55 UTC

Post by *ilyanik »

2Horst.Epp

Oh, I've coded so many patches to deal with surprisingly weird behavior of WinAPI... :)
But I agree, the problem seems to be too minor for re-implementing Copy/Paste.
Post Reply