I have been building Xfce from git (currently, xfce4-panel 4.11.1git-afc0031 (Xfce 4.10) ). The Applications Menu plugin does not display the Wine Programs submenu (it does in 4.10). Interestingly, if I right-click on the desktop and use xfdesktop's display of the Application Menu, it does show up. Issue is also present in Xubuntu 14.04.
The bug described by ToZ comes from a more general Bug. In Xfce, if a menu contains only submenues, this menu is not visible. Using the "menu principal" in french or "Main menu", from the "alacarte" package, you can add a "new item" to the menu, then the menu will be visible. For example, if you add any "new item" to the "Programs" menu of "Wine", then the "Programs" menu of "Wine" will be visible. Il you remove all "item" from the "Programs" menu, it will disapear. The same is true for any other menu, having only "submenus" without any items. You can try adding a submenu to "System", it will not appear until you add an item to this submenu. Temporarly, a way to deal with this bug is to add any "new item" to a menu, to make it appear. This was tested with XUbuntu 14.04, on different computers and different installations. I tested also that this bug doesn't exist under KDE and GOME, but exist under XUbuntu and under Xfce.
Created attachment 6533 Add-menu-even-if-there-are-no-direct-children-except.patch This is a patch against garcon.. why doesn't the whisker-menu have the problem, doesn't it use garcon?
Thanks! Applied against xfce-base/garcon-0.5.0 on Gentoo, works as expected =)
I tried the patch with garcon 0.5.0 under Fedora 25, but the "Wine" entry and, more importantly for me, the "Crossover" and "Windows Applications" entries, installed by crossover, are still not shown in the Application Menu or the Whisker Menu, even after a reboot. The missing entries are shown in the Application Finder, even without the patch, and they are also present under KDE, from which I recently switched, which should mean that they are present in the system. Is there some cache clean-up that I need to do, in addition to rebuilding the library, or does the patch simply not work for my system?
This has been fixed in garcon 0.6.0 with this commit: https://git.xfce.org/xfce/garcon/commit/?id=6ce5f2f7d6e98493deb8153ea28f37d4489c5e21.
Closing as reported by ToZ, reopen if this is still a issue even with garcon 0.6.0+.