Compare Contents; setting "show only diff" is not remembered

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
sssf
Junior Member
Junior Member
Posts: 6
Joined: 2008-03-14, 14:17 UTC

Compare Contents; setting "show only diff" is not remembered

Post by *sssf »

The selection for "show only differences selection" is not remembered like most other settings are in the "compare contents" window

Steps to reproduce:
- select 2 files and compare them by content (the command cm_CompareFilesByContent)
- change "show only difference, with extra lines:" option to enabled
- change the lines value
- close the window
- compare the content again
- notice that the lines value was remembered

Current behavior:
- "show only difference, with extra lines:" is not enabled: value is not remembered

Required behavior:
- "show only difference, with extra lines:" is enabled: value is remembered

PS: I saw the same for the Binary option
DO OR DIE
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is intentional. People would complain that TC isn't showing the correct files. The edit mode is also disabled each time you start the compare tool, so you don't change a file by accident.
Author of Total Commander
https://www.ghisler.com
Commander238
Junior Member
Junior Member
Posts: 7
Joined: 2016-12-21, 15:08 UTC

Post by *Commander238 »

Hi, I would like having the checkbox "show only diff" always enabled, for all files, by default.
Is there a way to achieve this behavior?
Maybe an INI option?
Thanks.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, currently not. I fear that people wouldn't remember that they set the option, and think that the files are damaged.
Author of Total Commander
https://www.ghisler.com
Commander238
Junior Member
Junior Member
Posts: 7
Joined: 2016-12-21, 15:08 UTC

Re: compare contents; setting "show only diff" not rem

Post by *Commander238 »

Yes, I understand.
And what about a keyboard shortcut inside the dialog to toggle this checkbox quickly?
For example in TortoiseMerge diff tool, CTRL+L toggles this.
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Re: Compare Contents; setting "show only diff" is not remembered

Post by *Gral »

ALT + underlined letter works perfectly.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Compare Contents; setting "show only diff" is not remembered

Post by *petermad »

Not all TC translations has an underlined letter for "show only difference, with extra lines:"
These have not:
Bulgarian
Ceština (Czech)
Hellenic (Greek)
Hebrew
Indonesian
Macedonian
Româna (Romanian)
Serbian
Thai
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Re: Compare Contents; setting "show only diff" is not remembered

Post by *Gral »

Bulgarian
Ceština (Czech)
Hellenic (Greek)
Serbian

these have!
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Compare Contents; setting "show only diff" is not remembered

Post by *petermad »

2Gral
You are right - my bad (the codpages tricked me) - Thai actually also has it.

So left is:
Hebrew
Indonesian
Macedonian
Româna (Romanian)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply