Customize dialog allows adding submenus with empty names.
Steps to Reproduce:
1. Go to Tools > Customize > Menus
2. Click Modify > Add Submenu...
3. Click "OK" without entering a name.
A submenu with an empty name is added to the selected menu.
It should warn user to provide a name for the submenu, or do nothing when no name is given.
User Profile Reset: No
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0
Yes it happens in the Menu as well as the Context Menu tabs of the dialog. The 'OK' button should be disabled when the field is empty.
I'll also look into this while I am still working on the same dialog. tdf#103160
It turns out that the bug affects all places where the SvxNameDialog is used. You can have Toolbars, Toolbar Items, Menus, Submenus... with empty names, by creating new ones, or by renaming the existing ones.
Muhammet Kara committed a patch related to this issue.
It has been pushed to "master":
tdf#103464 Don't allow empty names in SvxNameDialog
It will be available in 5.3.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.