I’m messing around with Pipereads in menus and a couple times now I’ve run into a situation where a menu created by MissingSubmenuFunction doesn’t get destroyed when it is redrawn and won’t change what it displays until a restart of FVWM.
I’ve tried “DestroyMenu recreate $0” before a Piperead in the function called by MissingSubmenuFunction, as well as echoing “DestroyMenu recreate $1” inside the script being Piperead (where $1 is $0 passed to the script).
Is this by design?
Also, might be on your todo list already: It would be great if we could pass multiple arguments to MissingSubmenuFunction.
The script I’ve shown you is just a proof of concept to show you my issue, not the actual script.
I know about DynamicPopupAction. I usually use it for the top-level of my scripted menus. I want to pass arguments to the sub-menu, that’s why I used MissingSubmenuFunction.