[8.50ß6 x64] copyflag 32867 in queue

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Laszlo
Junior Member
Junior Member
Posts: 97
Joined: 2011-09-17, 07:27 UTC
Location: Hungary

[8.50ß6 x64] copyflag 32867 in queue

Post by *Laszlo »

I copied some directories with f2, then added some other directories with f2 too. In the F2 window in between the two bunch of directories, there is a copyflags:32867 string. After reaching this, Total Commander simply ignored this row.
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Post by *gdpr deleted 6 »

Copying with F2...?
Do you mean F5? (F2 is the key to refresh the current pane).

What do you mean with the term "F2 window"?
User avatar
white
Power Member
Power Member
Posts: 5815
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

elgonzo wrote:Copying with F2...?
Do you mean F5? (F2 is the key to refresh the current pane).

What do you mean with the term "F2 window"?
He means F5, then F2. 'F2 window' means background transfer window.
Laszlo wrote:I copied some directories with f2, then added some other directories with f2 too. In the F2 window in between the two bunch of directories, there is a copyflags:32867 string. After reaching this, Total Commander simply ignored this row.
Yes, I noticed this too. Steps to reproduce:

* Go to Configuration - Options - Misc and disable confirmation before Overwriting/Deleting read-only files and before Overwriting/Deleting hidden/system files
* Open background transfer manager (Commands - Background Transfer Manager)
* Click the Pause button
* Go back to the main window and mark some files
* Press F5 (copy), press F2 (background)
* Look at the background transfer manager

The line "copyflags:32867" is added when the advanced options in the copy dialog are hidden and when the advanced options were pinned down. But not when the user has clicked the Options button.

The value 32867 is composed of the following values. (You can find a table here)

Code: Select all

1       // delete all read only files (e.g. when moving)
2       // delete all hidden/system files
32      // overwrite all read only files
64      // overwrite all hidden/system files
32768   // user didn't use "options" in F5 dialog 
Effectively the value 32867 only disables the option Copy NTFS permissions and the option Verify. The values 1,2,32,64 are ignored due to the value 32768.

It's probably caused by the following change to fix the bug mentioned here.
HISTORY.TXT wrote:06.10.13 Fixed: Changed behaviour of Copy/Move dialog when options pinned open: When adding to BTM, the state of the 1..8 combobox is now always used, except when set to 1 (ask), so when the user chooses a method in the BTM, it stays enabled (32/64)
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Post by *gdpr deleted 6 »

white wrote: He means F5, then F2. 'F2 window' means background transfer window.
Thanks for the clarification :)

Just for completness' sake: The 32-bit version of TC8.50b6 has this issue, too.
Laszlo
Junior Member
Junior Member
Posts: 97
Joined: 2011-09-17, 07:27 UTC
Location: Hungary

Post by *Laszlo »

Thanks white!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Why do you call it an issue? The copyflags line is not a bug!
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5815
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

ghisler(Author) wrote:Why do you call it an issue? The copyflags line is not a bug!
Call it an inconsistency then. If in the configurations settings, the options confirmation before Overwriting/Deleting read-only files and before Overwriting/Deleting hidden/system files are disabled, then the copyflags line is added which disables Copy NTFS permissions and Verify. If one of the mentioned options in configuration is not disabled then the copyflags line is not added, so Copy NTFS permissions and Verify are not disabled.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is indeed intentional, sorry.
Author of Total Commander
https://www.ghisler.com
Post Reply