[TC 11.00b7] cm_Copy /AG activates the transfer manager when there is no folder selection in the target dir

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Fla$her
Power Member
Power Member
Posts: 2586
Joined: 2020-01-18, 04:03 UTC

[TC 11.00b7] cm_Copy /AG activates the transfer manager when there is no folder selection in the target dir

Post by *Fla$her »

1. AlwaysCopyInBackground=0/1
2. Select any large file.
3. There is no selection in another panel.
4. ✔ Run cm_Copy /BG (/B1G) — copying is done in the classic background
5. ⚠ Run cm_Copy /AG (/ABG or /AB1G) — copying is done in the background transfer manager
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 15479
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b7] cm_Copy /AG activates the transfer manager when there is no folder selection in the target dir

Post by *petermad »

maybe caused by this fix:
history.txt wrote:14.06.23 Fixed: cm_copy /AG didn't work unless AlwaysCopyInBackground=2 was set, because it only runs in the background (32/64)
ghisler(Author) wrote: 2023-06-14, 09:48 UTC OK, I can reproduce it with a fresh ini. It worked here because I had
AlwaysCopyInBackground=2
in my wincmd.ini. Copy to all selected only works in the background transfer manager, because it creates a "copy list" for each target. I will detect it and put it in background automatically.
viewtopic.php?p=434443#p434443
License #524 (1994)
Danish Total Commander Translator
TC 11.50b4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1383a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49100
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b7] cm_Copy /AG activates the transfer manager when there is no folder selection in the target dir

Post by *ghisler(Author) »

Indeed the option /A always has to use the background transfer manager, because it creates a "copy list" for each target.
The same thing happens when you open the F5 copy dialog and check "Copy to all selected" manually. It's just how this function works.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 15479
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b7] cm_Copy /AG activates the transfer manager when there is no folder selection in the target dir

Post by *petermad »

2ghisler(Author)
Fla$her wrote:3. There is no selection in another panel.
The /A parameter should be ignored when there no folders are selected in the target panel - in beta7 the file is copied to the target panel, but in the background, also when no folders are selected in the target.
Last edited by petermad on 2023-06-18, 13:10 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.50b4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1383a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Fla$her
Power Member
Power Member
Posts: 2586
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.00b7] cm_Copy /AG activates the transfer manager when there is no folder selection in the target dir

Post by *Fla$her »

ghisler(Author) wrote: 2023-06-18, 09:21 UTC because it creates a "copy list" for each target.
At the end of the title there is a key phrase: "when there is no folder selection in the target dir".
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49100
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b7] cm_Copy /AG activates the transfer manager when there is no folder selection in the target dir

Post by *ghisler(Author) »

Sorry, I missed that. I will ignore /A when there is nothing selected in the target panel.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2586
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.00b7] cm_Copy /AG activates the transfer manager when there is no folder selection in the target dir

Post by *Fla$her »

2ghisler(Author)
It is desirable that the background transfer manager is also not activated if only one folder is selected.
Last edited by Fla$her on 2023-06-20, 02:21 UTC, edited 1 time in total.
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 15479
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b7] cm_Copy /AG activates the transfer manager when there is no folder selection in the target dir

Post by *petermad »

I believe this should also be done when only one target folder is selected.
Why, that is not the way it works when using F5 + "Copy to all selected folders/links in the target panel" - so why should it be different when using the /AG parameter.
License #524 (1994)
Danish Total Commander Translator
TC 11.50b4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1383a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Fla$her
Power Member
Power Member
Posts: 2586
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.00b7] cm_Copy /AG activates the transfer manager when there is no folder selection in the target dir

Post by *Fla$her »

petermad wrote: 2023-06-19, 13:35 UTCso why should it be different
I don't see any differences in them. It's necessary that this happens both with and without autorun.
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 15479
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b7] cm_Copy /AG activates the transfer manager when there is no folder selection in the target dir

Post by *petermad »

It's necessary that this happens both with and without autorun.
I still don't understand why you want it to operate like this - if I only want to copy the file to one particular folder, why should I be deprived of that option by selecting the folder.
Ghisler wrote: I will ignore /A when there is nothing selected in the target panel.
Fla$her wrote:I believe this should also be done when only one target folder is selected.
But maybe you do not mean to say that the /A should be ignored when only one target folder is selected, but you mean that the copying should not be done by the Background Transfer Manager??
License #524 (1994)
Danish Total Commander Translator
TC 11.50b4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1383a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Fla$her
Power Member
Power Member
Posts: 2586
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.00b7] cm_Copy /AG activates the transfer manager when there is no folder selection in the target dir

Post by *Fla$her »

petermad wrote: 2023-06-19, 21:29 UTC why should I be deprived of that option
What do you mean by an option?
petermad wrote: 2023-06-19, 21:29 UTC But maybe you do not mean to say that the /A should be ignored when only one target folder is selected, but you mean that the copying should not be done by the Background Transfer Manager??
Isn't ignoring /A equivalent to copying without a transfer manager under the specified conditions?
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 15479
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b7] cm_Copy /AG activates the transfer manager when there is no folder selection in the target dir

Post by *petermad »

What do you mean by an option?
The option (AKA possibility) of being able to copy to the selected folder, when there is only one folder selected.

Isn't ignoring /A equivalent to copying without a transfer manager under the specified conditions?
Not in my opinion - ignoring /A is the same as a normal copy to the target panel. Honoring /A is copying to selected folders in the target panel, even if there is only one folder selected.

The /A parameter is simply supposed to open the copy dialog and enable the option "Copy to all selected folders/links in the target panel".

I don't know if it is possible to avoid using the Transfer Manager if only one directory is selected.
License #524 (1994)
Danish Total Commander Translator
TC 11.50b4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1383a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Fla$her
Power Member
Power Member
Posts: 2586
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.00b7] cm_Copy /AG activates the transfer manager when there is no folder selection in the target dir

Post by *Fla$her »

OK. Reformulated above.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49100
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b7] cm_Copy /AG activates the transfer manager when there is no folder selection in the target dir

Post by *ghisler(Author) »

It is desirable that the background transfer manager is also not activated if only one folder is selected.
I disagree, cm_Copy /AG should have the same effect ad cm_Copy /A and then ENTER.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2586
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.00b7] cm_Copy /AG activates the transfer manager when there is no folder selection in the target dir

Post by *Fla$her »

ghisler(Author) wrote: 2023-06-20, 10:10 UTC I disagree, cm_Copy /AG should have the same effect ad cm_Copy /A and then ENTER.
Forget about /AG. We are talking about the option itself (through the parameter it's selected or manually — it doesn't matter).
Overquoting is evil! 👎
Post Reply