Could it be a bug?

This works fine:

[code]DestroyMenu MenuFVWM
AddToMenu MenuFVWM

  • “%add.png%Modules” Popup MenuFVWMModules
    AddToMenu MenuFVWM MissingSubmenuFunction FuncFvwmMenuDirectory
  • “%edit.png%Edit Config” Popup $[FVWM_HOME]
    AddToMenu MenuFVWM
  • “” Nop
  • “%refresh.png%Reload Config” Popup MenuReloadFVWM

DestroyFunc FuncFvwmMenuDirectory
AddToFunc FuncFvwmMenuDirectory I PipeRead ‘fvwm-menu-directory --dir “$0” --exec-file ^"$[EDITOR]" --xterm="$[TERMINAL]" --check-subdir’[/code]

But this doesn’t wrok

[code]DestroyMenu MenuFVWM
AddToMenu MenuFVWM

  • “%add.png%Modules” Popup MenuFVWMModules
    AddToMenu MenuFVWM MissingSubmenuFunction FuncFvwmMenuDirectoryX
  • “%edit.png%Edit Config” Popup $[FVWM_HOME]
    AddToMenu MenuFVWM
  • “” Nop
  • “%refresh.png%Reload Config” Popup MenuReloadFVWM

DestroyFunc FuncFvwmMenuDirectoryX
AddToFunc FuncFvwmMenuDirectoryX I PipeRead ‘fvwm-menu-directory --dir “$0” --exec-file ^"$[EDITOR]" --xterm="$[TERMINAL]" --check-subdir’[/code]

And all i did is just changed 1 Character in function name everywhere.
I was messing with this entire day, till i realized that if i change function name it won’t work (or work only partially =>>> won’t open submenus, or no menus at all)

Version: 2.5.26 on FreeBSD 7

Check the output of fvwm in console or the logs. If there’s an error, fvwm should spit errors somewhere.

There’s nothing wrong with it at all – you have something else happening.

– Thomas Adam

FVWM console outpu, when i click on item

FvwmConsole version 2.5.26 [fvwm][__execute_function]: <<ERROR>> No such command 'FuncFvwmMenuDirectory' [fvwm][__execute_function]: <<ERROR>> No such command 'FuncFvwmMenuDirectory' [fvwm][__execute_function]: <<ERROR>> No such command 'FuncFvwmMenuDirectory' [fvwm][__execute_function]: <<ERROR>> No such command 'FuncFvwmMenuDirectory' ...

Then it does what it should ==> opens gedit etc…
But i can’t browse subdirectories