[TC 11.00b7] Inconsistency in changing drives (forward and backward) using cm_OpenDriveByIndex

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Fla$her
Power Member
Power Member
Posts: 2388
Joined: 2020-01-18, 04:03 UTC

[TC 11.00b7] Inconsistency in changing drives (forward and backward) using cm_OpenDriveByIndex

Post by *Fla$her »

We consider random keystrokes. For example, instead of Ctrl+7 (cm_OpenDriveByIndex 7) to press 7 buttons on the drive panel, I accidentally (with an incorrect calculation) press Ctrl+8 (cm_OpenDriveByIndex 8). As a result, a list of wfx plugins (cm_OpenNetwork) opens.

I don't want a random key or button press to change the list in the panel to a non-drive one.

There is no such problem for cm_OpenDriveByIndex with negative parameters -1...-100, since the transition is carried out only for drives.

It is expected that this will not happen with positive 1-100.

For negative ones -101-... is provided for pressing all buttons. It is logical to provide the same for positive 101+.
Overquoting is evil! 👎
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3311
Joined: 2003-05-06, 11:46 UTC

Re: [TC 11.00b7] Inconsistency in changing drives (forward and backward) using cm_OpenDriveByIndex

Post by *Sir_SiLvA »

Yes cm_OpenDriveByIndex -1 not openening the Network Neighborhood is a BUG

I would expect cm_OpenDriveByIndex -1 to open the most left item displayed on the drive button bar/last item of the drive drop down list.
Hoecker sie sind raus!
Fla$her
Power Member
Power Member
Posts: 2388
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.00b7] Inconsistency in changing drives (forward and backward) using cm_OpenDriveByIndex

Post by *Fla$her »

Sir_SiLvA wrote: 2023-06-16, 09:10 UTC Yes cm_OpenDriveByIndex -1 not openening the Network Neighborhood is a BUG
This is not a bug, but a stated behavior:
HELP wrote:Numbers below -100 count from the last button, so -101 would be the last button, -102 the second-last etc.
Numbers below -1 but above -100 count from the last drive letter
HISTORY wrote:07.06.23 Added: cm_OpenDriveByIndex can now accept negative numbers below -100, where -101 would be the last button instead of the last drive (-1) (32/64)
06.06.23 Added: cm_OpenDriveByIndex can now accept negative numbers, where -1 would be the last drive (other buttons are ignored) (32/64)
And it does not apply to this topic.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b7] Inconsistency in changing drives (forward and backward) using cm_OpenDriveByIndex

Post by *ghisler(Author) »

I don't consider this a bug, only an inconsistency with negative numbers. I will add it.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2388
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.00b7] Inconsistency in changing drives (forward and backward) using cm_OpenDriveByIndex

Post by *Fla$her »

ghisler(Author) wrote: 2023-06-16, 10:20 UTCI will add it.
Thank you! :)
Overquoting is evil! 👎
Fla$her
Power Member
Power Member
Posts: 2388
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.00b7] Inconsistency in changing drives (forward and backward) using cm_OpenDriveByIndex

Post by *Fla$her »

Done!
Overquoting is evil! 👎
User avatar
white
Power Member
Power Member
Posts: 4677
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.00b7] Inconsistency in changing drives (forward and backward) using cm_OpenDriveByIndex

Post by *white »

Moderator message from: white » 2023-06-21, 18:12 UTC

Moved to Fixed bugs.
Post Reply