Synchronize tool and keyboard shortcuts inconsistency

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
browny
Senior Member
Senior Member
Posts: 287
Joined: 2007-09-10, 13:19 UTC

Synchronize tool and keyboard shortcuts inconsistency

Post by *browny »

TC 9.0 final, OS and bitness probably any.

Use two directories where both equal and non-equal files exist at the current level (not only in subdirectories), so that topmost line in Synchronize would be file, not a directory.
Start Synchronize tool for these directories.
Choose to see only non-equal files.
Press Compare.
When comparison process completes, the topmost file has selection rectangle around, but it is not highlighted with colour (inactive selection).

Pressing Ctrl+F3 opens file comparison dialog for that topmost line.
But pressing Ctrl+L/Ctrl+R has no effect.
Though it would still be possible to use Space and change copy direction; also spacebar makes selection line active.

It would be more logical to handle keys and also set active selection in uniform way.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It's not really an inconsistency: Ctrl+L/R acts on all SELECTED file pairs, while Ctrl+F3 works for the file under the cursor only.
Author of Total Commander
https://www.ghisler.com
browny
Senior Member
Senior Member
Posts: 287
Joined: 2007-09-10, 13:19 UTC

Post by *browny »

If all four kinds of files (copy directions) would be selected, then first file would have active selection.
Maybe first file in the list should be selected always, not sometimes?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It seems to be standard behaviour of the Listbox control to put cursor on first entry, but not select it.
Author of Total Commander
https://www.ghisler.com
browny
Senior Member
Senior Member
Posts: 287
Joined: 2007-09-10, 13:19 UTC

Post by *browny »

ghisler(Author) wrote:It seems to be standard behaviour of the Listbox control to put cursor on first entry, but not select it.
When comparison starts, the first file always has active selection, and it remains active unless that file gets removed from the list when comparison completes. In the latter case it would be like you wrote: only cursor, no selection.
This would be an inconsistent behaviour for TC.

Furthermore, without active selection in the list, it might be expected that context menu would not be available. Try to press context menu key on keyboard, and there will be the menu, where all the items are in place and enabled - but probably only comparison would work.
Again, this is hardly consistent.

On the other hand, making the first fileafter comparision always an active selection might amend the described behaviour.
Post Reply