! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Applications Menu plugin not showing Wine Programs submenu
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
Applications Menu

Comments

Description ToZ editbugs 2014-06-20 04:41:19 CEST
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.
Comment 1 Bernard Gisin 2014-08-24 11:31:02 CEST
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.
Comment 2 Marcel Partap 2015-11-15 13:03:24 CET
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?
Comment 3 Michael Perlov 2016-02-10 13:17:33 CET
Thanks!
Applied against xfce-base/garcon-0.5.0 on Gentoo, works as expected =)
Comment 4 Kriton Kyrimis 2016-12-04 09:21:09 CET
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?
Comment 5 ToZ editbugs 2018-08-13 13:27:45 CEST
This has been fixed in garcon 0.6.0 with this commit: https://git.xfce.org/xfce/garcon/commit/?id=6ce5f2f7d6e98493deb8153ea28f37d4489c5e21.
Comment 6 Andre Miranda editbugs 2019-01-11 11:54:12 CET
Closing as reported by ToZ, reopen if this is still a issue even with garcon 0.6.0+.

Bug #10967

Reported by:
ToZ
Reported on: 2014-06-20
Last modified on: 2019-01-11

People

Assignee:
Nick Schermer
CC List:
5 users

Version

Version:
Unspecified

Attachments

Additional information