As you may know, shelf buttons can have menus, but they are quite limited. They don’t support separators, checkable items, and other common features. It would be useful to have a fully functional menu instead.
While it’s possible to add a popupMenu to a shelf button, doing so replaces the default right-click menu, which is not ideal.
