[TC 11.00b7] Inconsistency in changing drives (forward and backward) using cm_OpenDriveByIndex
Moderators: Hacker, petermad, Stefan2, white
[TC 11.00b7] Inconsistency in changing drives (forward and backward) using cm_OpenDriveByIndex
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+.
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! 👎
Re: [TC 11.00b7] Inconsistency in changing drives (forward and backward) using cm_OpenDriveByIndex
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.
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!
Re: [TC 11.00b7] Inconsistency in changing drives (forward and backward) using cm_OpenDriveByIndex
This is not a bug, but a stated behavior:Sir_SiLvA wrote: 2023-06-16, 09:10 UTC Yes cm_OpenDriveByIndex -1 not openening the Network Neighborhood is a BUG
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
And it does not apply to this topic.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)
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.00b7] Inconsistency in changing drives (forward and backward) using cm_OpenDriveByIndex
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
https://www.ghisler.com
Re: [TC 11.00b7] Inconsistency in changing drives (forward and backward) using cm_OpenDriveByIndex
Thank you!

Overquoting is evil! 👎
Re: [TC 11.00b7] Inconsistency in changing drives (forward and backward) using cm_OpenDriveByIndex
Done!
Overquoting is evil! 👎
Re: [TC 11.00b7] Inconsistency in changing drives (forward and backward) using cm_OpenDriveByIndex
Moderator message from: white » 2023-06-21, 18:12 UTC
Moved to Fixed bugs.