Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6405] lua register_menu() is not working

Date: Sun, 9 Oct 2011 13:03:38 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6405

--- Comment #1 from Johannes Lange <jodd@xxxxxx> 2011-10-09 22:03:37 CEST ---
Created an attachment (id=7192)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7192)
Example LUA script using register_menu function

It seems that with the new UI manager the register_menu function does not work
as expected. Here on WinXP SP3 the menus from console.lua are still present,
however:

* sub-menus are not considered
* menus are always created in the "Tools" menu under the "LUA" entry,
regardless of the specified group

Attached is an example LUA script showing the described behavior. Tested with
Version 1.7.0 (SVN Rev 39326 from /trunk).

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.