[SOLVED] Directory-Menu: User-defined character disables all separator-lines in the menu

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Dennis_Stevens
Senior Member
Senior Member
Posts: 215
Joined: 2013-06-08, 16:16 UTC
Location: NRW, Germany

[SOLVED] Directory-Menu: User-defined character disables all separator-lines in the menu

Post by *Dennis_Stevens »

Code: Select all

Directory menu (Ctrl+D): Option to hide menu items which begin with a user-defined character, by default a question mark '?' (32/64)
If a menu-item is marked with the user-defined charakter, all separator-lines in the whole menu are disabled.

Example:

ENTRY A
ENTRY B
-
ENTRY C
-
ENTRY D

is changed to
?ENTRY A
ENTRY B
ENTRY C
ENTRY D

This happens regardless of the level of the disabled menu-entry.
ENTRY A
--ENTRY A.1
ENTRY B
-
ENTRY C
-
ENTRY D

is changed to
ENTRY A
?--ENTRY A.1
ENTRY B
ENTRY C
ENTRY D
Last edited by Dennis_Stevens on 2021-05-13, 15:21 UTC, edited 1 time in total.
#230412 Single User Licence
Commanding Win10 64bit totally with version 11
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Directory-Menu: User-defined charakter disables all separator-lines in the menu

Post by *ghisler(Author) »

Thanks, it should only remove those which follow directly after another separator line, because all items beween them were hidden, e.g.
Entry A
---
?Entry B
?Entry C
---
Entry D

would result in

Entry A
---
---
Entry D

and should be reduced to

Entry A
---
Entry D
Author of Total Commander
https://www.ghisler.com
Dennis_Stevens
Senior Member
Senior Member
Posts: 215
Joined: 2013-06-08, 16:16 UTC
Location: NRW, Germany

Re: Directory-Menu: User-defined charakter disables all separator-lines in the menu

Post by *Dennis_Stevens »

ghisler(Author) wrote: 2021-05-07, 07:40 UTC Thanks, it should only remove those which follow directly after another separator line, because all items beween them were hidden
Yes, that would be great! But for me it would be OK, if the separators would just be kept as they are configured.
#230412 Single User Licence
Commanding Win10 64bit totally with version 11
JOUBE
Power Member
Power Member
Posts: 1448
Joined: 2004-07-08, 08:58 UTC

Re: Directory-Menu: User-defined character disables all separator-lines in the menu

Post by *JOUBE »

Good new feature. (The separator lines problem already known.)

Do you can add this feature also to the starter menu?

Is it possible to have more than one char to check. Or much more better a part of a string in the name. Or much more better not only in the menu name string but also in the command line string (important to supress all lines with mappings with a customer IP )

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

Re: Directory-Menu: User-defined character disables all separator-lines in the menu

Post by *ghisler(Author) »

The idea isn't to filter the existing names, it's meant to toggle visibility by double clicking on an item.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [SOLVED] Directory-Menu: User-defined character disables all separator-lines in the menu

Post by *petermad »

history.txt wrote:07.05.01 Fixed: Directory menu (Ctrl+D): The new option to hide menu items which begin with a user-defined character also removed all separators instead of just the duplicates (32/64)
Confirmed fixed in TC 10 b10 ;-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply