Shift is ignored for cm_MkDir command

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

Moderators: Stefan2, white, sheep, Hacker

Post Reply
User avatar
Flint
Power Member
Power Member
Posts: 3168
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Shift is ignored for cm_MkDir command

Post by *Flint » 2018-07-31, 22:17 UTC

1. Create a button or a menu command for the cm_MkDir command.
2. Hold Shift and click this button/command.
3. TC suggests to create a directory on the active panel, but user expects it to work as Shift+F7, i.e. create a directory in the inactive panel.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 9.21a / Win7 x64 SP1, Win10 x64

User avatar
Dalai
Power Member
Power Member
Posts: 6694
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Shift is ignored for cm_MkDir command

Post by *Dalai » 2018-07-31, 23:44 UTC

There's a separate command cm_MkDirOther to create directories in the opposite panel.

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

User avatar
Gral
Power Member
Power Member
Posts: 715
Joined: 2005-01-26, 15:12 UTC

Re: Shift is ignored for cm_MkDir command

Post by *Gral » 2018-08-01, 08:43 UTC

Where did you get this logic, that "SHIFT" is added to keyboard shortcut for buttonbar commands?
This way SHIFT with Branch View should be Branch View (only selected) - it's not true - why you didn't report bug for this?
Same for Search on Button Bar - with SHIFT should be Separate Search - again "bug"?

User avatar
Flint
Power Member
Power Member
Posts: 3168
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Re: Shift is ignored for cm_MkDir command

Post by *Flint » 2018-08-01, 09:06 UTC

Gral
It works for cm_Copy, cm_List, cm_PackFiles (I think, there were other commands too, cannot remember from the top of my head).
This way SHIFT with Branch View should be Branch View (only selected) - it's not true - why you didn't report bug for this?
Same for Search on Button Bar - with SHIFT should be Separate Search - again "bug"?
Yes, I would consider this a bug too. I didn't report it because I didn't know these commands ignored modifier keys. I just don't use this functionality myself but prefer hotkeys instead, a Russian user who is not registered here asked me to report this issue for him, so I quickly checked it's there and posted the report.

Dalai
Yes, I know. Still, I expected the behavior to be consistent with other commands in this respect.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 9.21a / Win7 x64 SP1, Win10 x64

User avatar
Gral
Power Member
Power Member
Posts: 715
Joined: 2005-01-26, 15:12 UTC

Re: Shift is ignored for cm_MkDir command

Post by *Gral » 2018-08-01, 10:28 UTC

I think that here there is no one general rule - individual cases are treated individually and added to program on the users' request.
So, not a bug, but a lack of functionality. Individual - for this button, and general - treat all buttons and functions the same way.

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

Re: Shift is ignored for cm_MkDir command

Post by *ghisler(Author) » 2018-08-01, 12:28 UTC

It was split on purpose into two commands because of the problems with modifiers in cm_copy etc.
Author of Total Commander
http://www.ghisler.com

Post Reply