Created attachment 197470 [details] demonstration of the bug I have only seen this for Beanshell macros. Likely it happens when JavaScript, Java, and Python macros are in the same location container and have the same library name as a BASIC macro. Please see the attached video that demonstrates the bug. I will upload another video showing expected results.
Created attachment 197471 [details] expected results Demonstration of expected results.
A fix for this was included with the patch for Bug 120658 - Reworking of dialogues Organize macros (make from 5 existing only one). For reference to the change made for this ticket to be set as 'Resolved Fixed' please see: https://gerrit.libreoffice.org/c/core/+/176254/36/cui/source/customize/cfgutil.cxx The conditional statement 'if (!m_xTreeView->iter_has_child(*xIter))' on line 887 is removed.