Sync Tool: Switch all selected items when Space is pressed

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

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

Sync Tool: Switch all selected items when Space is pressed

Post by *MVV »

Currently when I select files in sync tool and press space, TC switches only focused item (sets/clears operation flag).

It would be much better to switch all selected items instead (like it is done in TortoiseGit commit window: when you press Space, it switches focused item and sets same checkbox state for all other selected items).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

That's indeed an interesting idea, but could be confusing if the selected files have different directions. What do other users think?
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think it is senseless to reverse all directions, it is more logical to set same one (like TortoiseGit does).
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I've just accidentally pressed Space... and noticed that it works now... and that it have worked since 9.0b1, I've just missed that history line:

Code: Select all

07.06.16 Added: Synchronize dirs: Press SPACE or Shift+SPACE when multiple files are selected -> works as if it was pressed for each file separately (32/64)
Thank you, Christian! :)
Though I'm not sure is it good to switch every file separately...
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

BTW I've noticed that Space doesn't work for folder items...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Actually it does, but only when a folder has a checkbox. This is the case when you check "empty folders" option. Then the sync tool will syn both files and folders.

Unchecking a folder will uncheck all files in it, because the files cannot be copied without the folder. Checking the folder will only check the folder, not files, because it can be copied without the files.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

1. I've created folders t1 and t2 with t.txt file in both.
2. Then I sync it with empty folder with enabled empty dirs option.
3. I select all four strings (dir, file, dir, file) and press Space, and only files change their direction.
Post Reply