`Move` (F6) within the same volume should always be completed instantly
Moderators: Hacker, petermad, Stefan2, white
`Move` (F6) within the same volume should always be completed instantly
Sometimes it happens that a `Move` (F6) operation within the same volume is not completed instantly.
Instead TC starts copying and deleting like mad as if source and destination were on different volumes.
This seems to happen when the source is locked (partially), for example by TortoiseGit.
It would help if TC could inform the user in such cases before doing needless work.
Instead TC starts copying and deleting like mad as if source and destination were on different volumes.
This seems to happen when the source is locked (partially), for example by TortoiseGit.
It would help if TC could inform the user in such cases before doing needless work.
Re: `Move` (F6) within the same volume should always be completed instantly
This is a long-standing issue and I think I made a suggestion about it many years ago that TC should show a confirmation where the user can choose whether to copy+delete the file(s) or cancel the operation. Can't find it right now, only my little rant about the annoyance that comes with it
: https://www.ghisler.ch/board/viewtopic.php?p=332199#p332199
Regards
Dalai

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: `Move` (F6) within the same volume should always be completed instantly
If you have "Operation" -> "File comments" -> "Copy comments with files" that could account for some of the activity.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: `Move` (F6) within the same volume should always be completed instantly
Indeed I'm getting annoyed about this behavior every now and then since years. After all it would be easier to accept, when somebody could explain, why it is hard to change. Is it caused by the Win32 API in the end? Seems unlikely to me.Dalai wrote: 2023-05-16, 21:55 UTC ... Can't find it right now, only my little rant about the annoyance that comes with it: https://www.ghisler.ch/board/viewtopic.php?p=332199#p332199
Re: `Move` (F6) within the same volume should always be completed instantly
This option is disabled in my configuration. However, it should not matter when you move a directory within the same volume.petermad wrote: 2023-05-16, 21:56 UTC If you have "Operation" -> "File comments" -> "Copy comments with files" that could account for some of the activity.
Re: `Move` (F6) within the same volume should always be completed instantly
Yes, it's truly annoying.
Sometimes it helps (or seems to help) to restart TC...
Sometimes it helps (or seems to help) to restart TC...
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: `Move` (F6) within the same volume should always be completed instantly
This should actually be fixed since Total Commander 11 beta 1: It happened when you confirmed the F6 dialog while TC was still counting files. That prevented the direct move of the directory. The beta now stops the counting thread and wait until it's closed before it tries to move the directory, so the error should no longer occur.Sometimes it happens that a `Move` (F6) operation within the same volume is not completed instantly.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: `Move` (F6) within the same volume should always be completed instantly
What is supposed to happen after this correction when the source directory is partially locked?ghisler(Author) wrote: 2023-05-18, 06:53 UTC This should actually be fixed since Total Commander 11 beta 1: It happened when you confirmed the F6 dialog while TC was still counting files. That prevented the direct move of the directory. The beta now stops the counting thread and wait until it's closed before it tries to move the directory, so the error should no longer occur.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: `Move` (F6) within the same volume should always be completed instantly
If something else locks the directory, TC will still copy the directory and then move the files and directories inside of it one by one.
My fix only addresses the case where TC itself was locking the directory.
My fix only addresses the case where TC itself was locking the directory.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: `Move` (F6) within the same volume should always be completed instantly
This is a really important and useful improvement. Because that was really annoying: forgot to wait until the counting thread was over and it started miserably. *) Thanks for that!ghisler(Author) wrote: 2023-05-18, 06:53 UTCThis should actually be fixed since Total Commander 11 beta 1: It happened when you confirmed the F6 dialog while TC was still counting files. That prevented the direct move of the directory. The beta now stops the counting thread and wait until it's closed before it tries to move the directory, so the error should no longer occur.Sometimes it happens that a `Move` (F6) operation within the same volume is not completed instantly.
Applications also often block a move and prevent a simple reassignment of a directory that was started from inside Tc while Tc was in this directory. For example the browser startet with an url file within Tc. (Lockhunter: the Browser (not the Tc itself) locks the folder).
Joube
*) Stop moving immediately, move back what you started, f6 again, wait this time until counting thread finished: move in tenths of a second...
Re: `Move` (F6) within the same volume should always be completed instantly
Probably the fixed case occurred more frequently but the current behavior is very annoying regardless of the reason.ghisler(Author) wrote: 2023-05-18, 13:26 UTC If something else locks the directory, TC will still copy the directory and then move the files and directories inside of it one by one.
My fix only addresses the case where TC itself was locking the directory.
Would it be hard to fix also the other case and if yes why?
Note that my initial post addressed the other case (external lock) and suggested to give the user a choice before racing ahead.
An extra bonus would be to tell the user which processes are locking the directory to be moved.
Re: `Move` (F6) within the same volume should always be completed instantly
Which is MOST DESIRABLE in this case, IMHO... and quite doable...An extra bonus would be to tell the user which processes are locking the directory to be moved.
#146217 personal license
Re: `Move` (F6) within the same volume should always be completed instantly
So, basically, implement the basic LockHunter functionality (list locking processes) in TC?
Roman
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: `Move` (F6) within the same volume should always be completed instantly
yep.So, basically, implement the basic LockHunter functionality (list locking processes) in TC?
Have we got the basic functionality of the video-audio player in Lister

#146217 personal license
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: `Move` (F6) within the same volume should always be completed instantly
There is (to my knowledge) no official function to get this information, it's using undocumented Windows functions.So, basically, implement the basic LockHunter functionality (list locking processes) in TC?
Last edited by white on 2023-05-19, 14:21 UTC, edited 1 time in total.
Reason: Fixed typo: to -> no
Reason: Fixed typo: to -> no
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com