[TC11.0] Sync directories tool: Hotkey doesn't work on selected folder

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
Helix751
Senior Member
Senior Member
Posts: 239
Joined: 2004-06-16, 21:16 UTC
Location: Chile

[TC11.0] Sync directories tool: Hotkey doesn't work on selected folder

Post by *Helix751 »

Hotkey Ctrl-M (remove selection) doesn't work on a folder.

Steps to reproduce:
  1. Start the 'Synchronize directories' tool on a folder with 1 or more subfolders.
  2. Set any subfolder as current (with mouse or keyboard) with 1 or more selected files.
  3. Press [Ctrl-M]. Files in folder are not unchecked (selection is not removed).
  4. Do the same, but right-clicking the folder and select the 'Remove selection' context menu item (same as Ctrl-M). All checked files in the folder are unchecked
Note that when right-clicking a folder actually 'marks' the current folder and all files in it, so when selecting the context menu option 'Remove selection' or even hitting Ctrl-M on the keyboard, it works because files had previously been selected in bulk.

The issue is plain Ctrl-M doesn't pre-select files in the folder as right-clicking does.
Regards,
Sergio

TCmd license #12059
TC11.03x86/x64 | Win11 Pro
User avatar
petermad
Power Member
Power Member
Posts: 16001
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC11.0] Sync directories tool: Hotkey doesn't work on selected folder

Post by *petermad »

Press [Ctrl-M]. Files in folder are not unchecked (selection is not removed).
Ctrl+M clears the copy direction in the <=> column (the blue and green arrows) - it is not meant to ctear the file selections.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Helix751
Senior Member
Senior Member
Posts: 239
Joined: 2004-06-16, 21:16 UTC
Location: Chile

Re: [TC11.0] Sync directories tool: Hotkey doesn't work on selected folder

Post by *Helix751 »

petermad wrote: 2023-08-03, 01:43 UTC Ctrl+M clears the copy direction in the <=> column (the blue and green arrows) - it is not meant to ctear the file selections.
That-s exactly what I tried to describe (maybe with other words). It's just semantics.

Ctrl-M doesn't work the same way as the context-menu command it's actually intended to replicate. The hotkey doesn't clear the copy direction when applied over a single folder.
Regards,
Sergio

TCmd license #12059
TC11.03x86/x64 | Win11 Pro
User avatar
petermad
Power Member
Power Member
Posts: 16001
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC11.0] Sync directories tool: Hotkey doesn't work on selected folder

Post by *petermad »

2Helix751
I cannot reproduce the problem though.
Set any subfolder as current (with mouse or keyboard) with 1 or more selected files.
How exactly do you do that? with a left-click on the bar with the folder name? That does not select any files. If you right-click on the folder bar all files in the folder gets selected and the context menu is opened. You can now choose to use the context menu's "Remove selection" or you can close the context menu with Escape and press Ctrl+M

You can also select one or more files by Shift+click of Ctrl+click on the file names (not on the direction boxes) and press Ctrl+M.

The main thing is that the files have to be selected (usually marked with blue background) before you can use Ctrl+M or any of the other shortcuts shown in the context menu. When you left-click on the folder bars all selections are lost, also for files in the other directories. You can control left-click on the folder bars without loosing the selections.


Ctrl+M has no effect on files that are marked as different or equal.
Last edited by petermad on 2023-08-03, 12:46 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC11.0] Sync directories tool: Hotkey doesn't work on selected folder

Post by *AntonyD »

As for me: Ctrl-M - does work. Selection is clearing.
Ctrl-D/Ctrl-R/Ctrl-L - works ONLY for the selected folder - but not for the folder and all its content -
as it does when I try to use appropriate commands from the context menu...
And btw the key SPACE can do the same operation like Ctrl-D!
But this key - does not listed at the help anywhere...
And the SPACE key does its work also only for the folder itself!
#146217 personal license
User avatar
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC11.0] Sync directories tool: Hotkey doesn't work on selected folder

Post by *AntonyD »

IMHO topic should be moved to the BUG section.
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC11.0] Sync directories tool: Hotkey doesn't work on selected folder

Post by *ghisler(Author) »

Not a bug.
Ctrl+M doesn't select any files (that is done by the right click, not by Ctrl+M), but otherwise it works like the menu item.
It has to uncheck all files in the folder because you can't copy the files without the folder!
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC11.0] Sync directories tool: Hotkey doesn't work on selected folder

Post by *AntonyD »

2ghisler(Author)
https://ibb.co/k61H1M7
Honestly, I don’t understand that explanation at all.
The picture shows the process that the user wants to activate - remove the selection.
To do this, there is either a command in the context menu, or a call it through the hotkey.

And I write that such an action is actually happening. Selection will be removed from all elements.
But! Unfortunately, it should be noted that this will NOT happen EXACTLY in the same way as this
can be achieved by calling the command from the context menu directly!!!
YES, all subitems of the selected directory will be unchecked, but ALL of them will not be selected!
Sorry for the tautology here maybe, but I don't know of any other description.
This can be easily seen in the picture - the selection marks are checkmarks in the checkboxes,
and the selection itself is actually the selection of rows in the listbox in blue color.
And this is incorrect and illogical behavior, IMHO!

And so what are you trying to describe then in your answer? What this shouldn't have happened at all?
Or that you "read" something else in the original post from the topic-starter??

+Next, I describe that the behavior of the other two hotkeys is illogical and incorrect.
And you do not comment on this at all?
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC11.0] Sync directories tool: Hotkey doesn't work on selected folder

Post by *ghisler(Author) »

As I have explained, the selection does not occur when you choose the menu item. It occurs when you right click!
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC11.0] Sync directories tool: Hotkey doesn't work on selected folder

Post by *AntonyD »

2ghisler(Author)
And this is incorrect and illogical behavior!
If I call some command - then I expect to get its work in exactly the same form - as if I called this command in any other available way. And now you just took it and tore it in half. In one part - there is one logic - there is a selection, in the other part - another logic - and for some reason the selection is no longer there.
#146217 personal license
User avatar
Helix751
Senior Member
Senior Member
Posts: 239
Joined: 2004-06-16, 21:16 UTC
Location: Chile

Re: [TC11.0] Sync directories tool: Hotkey doesn't work on selected folder

Post by *Helix751 »

AntonyD wrote: 2023-08-03, 14:46 UTC 2ghisler(Author)
If I call some command - then I expect to get its work in exactly the same form - as if I called this command in any other available way.
I second this. This is precisely why I posted this thread in the 1st place. The command and it's keyboard shortcut should imho behave exactly the same way.

Not a bug per-se, but a misbehaviour or contradictory behaviour between 2 apparently equivalent operations, maybe.
Regards,
Sergio

TCmd license #12059
TC11.03x86/x64 | Win11 Pro
User avatar
Helix751
Senior Member
Senior Member
Posts: 239
Joined: 2004-06-16, 21:16 UTC
Location: Chile

Re: [TC11.0] Sync directories tool: Hotkey doesn't work on selected folder

Post by *Helix751 »

petermad wrote: 2023-08-03, 10:04 UTC 2Helix751
I cannot reproduce the problem though.
Set any subfolder as current (with mouse or keyboard) with 1 or more selected files.
You can now choose to use the context menu's "Remove selection" or you can close the context menu with Escape and press Ctrl+M
The issue here is what's the point of having a shortcut when one has to press several keys and mouse buttons for it to work? This is nonsense, imho.

right-click the folder to select the files > Press ESC to close the context menu > Press Ctrl-M to clear sync actions

It would be much faster by:

left-click on a folder > Ctrl-M to clear sync actions for the folder and all files in it
Regards,
Sergio

TCmd license #12059
TC11.03x86/x64 | Win11 Pro
User avatar
Usher
Power Member
Power Member
Posts: 1726
Joined: 2011-03-11, 10:11 UTC

Re: [TC11.0] Sync directories tool: Hotkey doesn't work on selected folder

Post by *Usher »

petermad wrote: 2023-08-03, 01:43 UTC Ctrl+M clears the copy direction in the <=> column (the blue and green arrows) - it is not meant to ctear the file selections.
It means that Ctrl+M has too short description. It should be something like "Remove selection of copy directions" , "Remove copy directions from selection" or "Clear copy directions for selection" (according to your explanation).
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 16001
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC11.0] Sync directories tool: Hotkey doesn't work on selected folder

Post by *petermad »

It means that Ctrl+M has too short description. It should be something like "Remove selection of copy directions" , "Remove copy directions from selection" or "Clear copy directions for selection" (according to your explanation).
Yes, it is somewhat problematic that the word selection here can be perceived as selection of files and not the correctly selection of copy direction.

Anyway when you see the description in context in the menu it looks like this:
Select for copying (default direction)\tCtrl+D
Remove selection\tCtrl+M
Select for copying -> (left to right)\tCtrl+L
Select for copying <- (right to left)\tCtrl+R
Reverse copy direction\tCtrl+W
- then it is more obvious - looking at the other options - that the command is for removing the copy direction for the selected files.

A better description would be, matching the 5th line: "Remove copy direction". ("Kopierrichtung entfernen" in German)
Last edited by petermad on 2023-08-04, 11:18 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
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: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC11.0] Sync directories tool: Hotkey doesn't work on selected folder

Post by *ghisler(Author) »

Ctrl+M works exactly like the menu item when multiple lines (files or folders) are already selected. The only difference is when you right click on a folder which is the only selected item. But the selection doesn't happen when you choose the menu item, it happens when you right click.
Author of Total Commander
https://www.ghisler.com
Post Reply