[8.01-32bit] Wrong Help text about wincmd.ini

Please report only one bug per message!

Moderators: Stefan2, white, sheep, Hacker

Post Reply
User avatar
white
Power Member
Power Member
Posts: 2020
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

[8.01-32bit] Wrong Help text about wincmd.ini

Post by *white » 2013-06-16, 01:46 UTC

Help text says:
CompareIgnoreRepeatedLines=0

0: Compare by contents ignores lines which are repeated many times (e.g. begin/end). Useful mostly for comparing source code and other files with repeated text which is irrelevant for the comparison.
1: Function disabled. Useful for lists where also relevant lines are repeated often, e.g. part lists.
Should be:
CompareIgnoreRepeatedLines=1

1: Compare by contents ignores lines which are repeated many times (e.g. begin/end). Useful mostly for comparing source code and other files with repeated text which is irrelevant for the comparison.
0: Function disabled. Useful for lists where also relevant lines are repeated often, e.g. part lists.


Help text says:
SoundDelay=10

Time (in seconds) a file operation needs to take so the "operation finished" sound will be played
Should be:
SoundDelay=-10

Time (in seconds) a file operation needs to take so the "operation finished" sound will be played. When the number is negative, sound will be played always.


Help text says:
Lastmd5=0

1: The last used option in Files - Create CRC Checksums was MD5
Should be:
Lastmd5=0

The last used checksum type in Files - Create Checksum File(s) (CRC32, MD5, SHA1)
0: Create CRC checksums
1: Create MD5 checksums
2: Create SHA1 checksums
Last edited by white on 2013-06-16, 11:19 UTC, edited 1 time in total.

User avatar
MVV
Power Member
Power Member
Posts: 8087
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2013-06-16, 08:57 UTC

W/o SoundDelay parameter my TC plays sound when operation is finished, so default number is positive.

Hm-m, it plays it with negative number too. :?

User avatar
white
Power Member
Power Member
Posts: 2020
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white » 2013-06-16, 11:22 UTC

MVV wrote:W/o SoundDelay parameter my TC plays sound when operation is finished, so default number is positive.

Hm-m, it plays it with negative number too. :?
It's a misunderstanding on my part. Help text about Config-Misc explains it:
Only play for long operations
If you choose this option, Total Commander will play the selected sounds only if the corresponding operation has taken a certain minimum amount of time. This way you will not be disturbed by a sound for every small copied file, but only when an operation took longer, e.g. a long download.
I have edited my message above to fix it.

User avatar
white
Power Member
Power Member
Posts: 2020
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white » 2013-10-20, 00:12 UTC

Tested OK using TC 8.50b6.

User avatar
MVV
Power Member
Power Member
Posts: 8087
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2013-10-20, 06:14 UTC

Sounds strange. Help file says now:
SoundDelay=-10
Time (in seconds) a file operation needs to take so the "operation finished" sound will be played. Negative=disabled.
However when I set SoundDelay=-1, TC played sound after long operation (about 30 seconds; operation was sent to background using 'Background' button).

And, TC plays sound only when inactive during regular copy, always during background copy, never during BTM copy. Checked with SoundDelay=0.

Another test showed that TC plays sound during regular copy even if operation takes less time. Checked with SoundDelay=3 (you can do it yourself: set parameter, restart TC, select folder with ~50-100 MB of data, press F5, Enter, then quickly deactivate TC e.g. by clicking taskbar with mouse). Background copy sound seems to use correct time interval. If this option is only for background copy sound, it should be mentioned.

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

Post by *ghisler(Author) » 2013-10-20, 07:40 UTC

Negative=disabled means that the DELAY is disabled.
Author of Total Commander
http://www.ghisler.com

User avatar
MVV
Power Member
Power Member
Posts: 8087
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2013-10-20, 10:03 UTC

I think you can describe it better, e.g. 'Zero or negative - always.'... But what kind of meaning has default SoundDelay=-10 in such case? Why it equals to -10 and not -1 or 0?

User avatar
white
Power Member
Power Member
Posts: 2020
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white » 2013-10-20, 14:20 UTC

MVV wrote:I think you can describe it better, e.g. 'Zero or negative - always.'...
That's why I suggested:
white wrote:Help text says:
SoundDelay=10

Time (in seconds) a file operation needs to take so the "operation finished" sound will be played
Should be:
SoundDelay=-10

Time (in seconds) a file operation needs to take so the "operation finished" sound will be played. When the number is negative, sound will be played always.

MVV wrote:But what kind of meaning has default SoundDelay=-10 in such case? Why it equals to -10 and not -1 or 0?
It remembers the seconds you entered in Configuration - Options - Misc. So if you disable the option temporarily and enable it again, your favorite timing number is still there. It avoids needing an extra .ini file setting (one for the time in seconds, one for enabled/disabled).

User avatar
MVV
Power Member
Power Member
Posts: 8087
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2013-10-20, 17:02 UTC

Thank you, got it.

But it is still unclear which operations will play sound. Regular (foreground), background, BTM. And, even with positive number TC sometimes plays sound even if delay is greater than operation time.

User avatar
white
Power Member
Power Member
Posts: 2020
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white » 2013-10-20, 21:31 UTC

MVV wrote:Another test showed that TC plays sound during regular copy even if operation takes less time. Checked with SoundDelay=3 (you can do it yourself: set parameter, restart TC, select folder with ~50-100 MB of data, press F5, Enter, then quickly deactivate TC e.g. by clicking taskbar with mouse). Background copy sound seems to use correct time interval. If this option is only for background copy sound, it should be mentioned.
I can not confirm that. It seems to work fine for queued copying, background copying, foreground copying (also when not focused).

Post Reply