Author Topic: Re: 15.7 BETA - Fails to show all command in menu  (Read 65 times)

Pawel

  • Junior Member
  • **
  • Posts: 37
    • View Profile
Re: 15.7 BETA - Fails to show all command in menu
« on: December 14, 2025, 23:14:30 »
After update to 15.7 Beta custom menu items (not everything) stopped working (not displayed).
All scripts (*.udc files) are stored in zip file (everything was fine with the same files/config in 15.6)
-Pawel

Can you describe the error more..

You got custom commands. that they are added to menu..  And they are not showing up ? Are not running when selected.  ? Are script command there if you list all commands. ( was they loaded ? )

@Mathias (Author)
I think I know what is the problem with Menu and Custom Commands. I reproduced it on Stable Multi Commander 15.6!
I got MANY commands (many custom menu items) - 627 files in 54 folders (in my Ultimate File Manager project). Is there a LIMIT? It seems it is.

If I left 443 (or more) udc files in script folder - no custom menu items are displayed. If I remove another few of them - lets say 5 -> 5 custom command is shown in menu.
That means that MC reads only specified amount of files...


-Pawel
« Last Edit: December 14, 2025, 23:18:45 by Pawel »

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4818
    • View Profile
    • Multi Commander
Re: Re: 15.7 BETA - Fails to show all command in menu
« Reply #1 on: December 15, 2025, 12:14:46 »
After update to 15.7 Beta custom menu items (not everything) stopped working (not displayed).
All scripts (*.udc files) are stored in zip file (everything was fine with the same files/config in 15.6)
-Pawel

Can you describe the error more..

You got custom commands. that they are added to menu..  And they are not showing up ? Are not running when selected.  ? Are script command there if you list all commands. ( was they loaded ? )

@Mathias (Author)
I think I know what is the problem with Menu and Custom Commands. I reproduced it on Stable Multi Commander 15.6!
I got MANY commands (many custom menu items) - 627 files in 54 folders (in my Ultimate File Manager project). Is there a LIMIT? It seems it is.

If I left 443 (or more) udc files in script folder - no custom menu items are displayed. If I remove another few of them - lets say 5 -> 5 custom command is shown in menu.
That means that MC reads only specified amount of files...


-Pawel
There should be no limit on number of commands to load. Might be limit for command that menus can shown. But that limit was there before too, But It should be at least over 1000.
Nothing around that is change. And the code actually add or or none from zips.. Only think I can see is if it fails to extract from zip. then it aborts.

No error in the app Log ( Ctrl+L ) ? Do the script show up in the List of Scripts.?  (So it only in the menu bar they are not shown ?)

I will see if I can replicate that.
« Last Edit: December 15, 2025, 12:19:07 by Mathias (Author) »

Pawel

  • Junior Member
  • **
  • Posts: 37
    • View Profile
Re: Re: 15.7 BETA - Fails to show all command in menu
« Reply #2 on: December 15, 2025, 14:35:17 »
Mathias,
I forgot about log! It clearly describe the problem.

2025-12-15 14:32:13.314 Can not register command. Limit of UserDefinedCommand reached [HASH - Command Name]
2025-12-15 14:32:13.332 Can not register command. Limit of UserDefinedCommand reached [[HASH - Command Name]
etc...

So, I hope you can fix it (increase limit).
-Pawel

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4818
    • View Profile
    • Multi Commander
Re: Re: 15.7 BETA - Fails to show all command in menu
« Reply #3 on: December 15, 2025, 14:49:36 »
Mathias,
I forgot about log! It clearly describe the problem.

2025-12-15 14:32:13.314 Can not register command. Limit of UserDefinedCommand reached [HASH - Command Name]
2025-12-15 14:32:13.332 Can not register command. Limit of UserDefinedCommand reached [[HASH - Command Name]
etc...

So, I hope you can fix it (increase limit).
-Pawel

I don't think will fix it.. the limit have not changes since 2018. and it is on 600 items.
So you should get your first 600 items there.. it should not be empty. This " Limit of UserDefinedCommand reached" is only for adding command for the script so they can be called from menu and such. They should still show up in the list of commannds in the "Define User Commands"  Window

So something else is causing an issue.. Need to be able to recreate this first.
« Last Edit: December 15, 2025, 14:55:02 by Mathias (Author) »

Pawel

  • Junior Member
  • **
  • Posts: 37
    • View Profile
Re: Re: 15.7 BETA - Fails to show all command in menu
« Reply #4 on: December 15, 2025, 15:04:18 »
Wait...
Commands are loaded into MC, but not displayed.
See attached image (in red frame example command - Loaded - but not displayed)
-Pawel

Ps: The problem is - It sometimes working OK. Still trying to find better "issue explanation"
« Last Edit: December 15, 2025, 15:19:38 by Pawel »

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4818
    • View Profile
    • Multi Commander
Re: Re: 15.7 BETA - Fails to show all command in menu
« Reply #5 on: December 15, 2025, 15:33:50 »
Wait...
Commands are loaded into MC, but not displayed.
See attached image (in red frame example command - Loaded - but not displayed)
-Pawel

Ps: The problem is - It sometimes working OK. Still trying to find better "issue explanation"
Ok so

Loading them, but all (none?) is not registered as menu commands. so they do not show up in the menu.
Strange that it works in 15.6, I find now difference in the code for how it load that in 15.7 vs 15.6

Pawel

  • Junior Member
  • **
  • Posts: 37
    • View Profile
Re: Re: 15.7 BETA - Fails to show all command in menu
« Reply #6 on: December 15, 2025, 15:58:50 »
Loading them, but all (none?) is not registered as menu commands. so they do not show up in the menu.
Strange that it works in 15.6, I find now difference in the code for how it load that in 15.7 vs 15.6

Most of my Custom Commands works fine (I only showed in example what is going on). Only few of them not (but as you can see all of them are available in custom commands dialog).
NO - it is not working ALSO in 15.6 (screenshot is not from newest beta)!
-Pawel
« Last Edit: December 15, 2025, 16:30:32 by Pawel »

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4818
    • View Profile
    • Multi Commander
Re: Re: 15.7 BETA - Fails to show all command in menu
« Reply #7 on: December 15, 2025, 16:15:35 »
Ps: The problem is - It sometimes working OK. Still trying to find better "issue explanation"
Loading them, but all (none?) is not registered as menu commands. so they do not show up in the menu.
Strange that it works in 15.6, I find now difference in the code for how it load that in 15.7 vs 15.6

Most of my Custom Commands works fine (I only showed in example what is going on). Only few of them not (but as you can see all of them are available in custom commands dialog).
NO - it is not working ALSO in 15.6 (screenshot is not from newest beta)!
-Pawel
[/quote]

Ok then this is not a 15.7 only issue.- OK then this post should have been in other forum, That part of the confusion, I though it was a new error in 15.7 only,  Okey so this is an old issue.
Well I will see if I can duplicate some script or something so I can replicate the issue later this week.


Pawel

  • Junior Member
  • **
  • Posts: 37
    • View Profile
Re: Re: 15.7 BETA - Fails to show all command in menu
« Reply #8 on: December 15, 2025, 16:35:56 »
OK. Thank you for your patient.
Please, try to find the problem. It is very, very important.

Here is a prepared environment (MC 15.6 + UFM Custom Menus) with all my custom items. 
https://www.dropbox.com/scl/fi/dg9k0kf2rfqj9igeo62kv/MC.zip?rlkey=s7bdfsridi1c72rsiqw7afq8r&dl=1

File that defines paths: \MC\Config\CustomConfigPaths.xml
Menu File: \MC\UFM\1033\UserMenu.xml
Scripts: \MC\UFM\1033\Scripts\UFM.zip

Here, menu that is not displaying items:
- System -> Windows System
- System -> Windows Apps (UWP)
- System -> Windows PowerShell
- Ultimate File Manager

-Pawel

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4818
    • View Profile
    • Multi Commander
Re: 15.7 BETA - Fails to show all command in menu
« Reply #9 on: December 15, 2025, 16:54:41 »
Thx will take a look

(Btw I split this topic to is own thread)