elementary / wingpanel-indicator-ayatana

Wingpanel Ayatana-Compatibility Indicator
GNU Lesser General Public License v2.1
11 stars 32 forks source link

Submenus not displayed #17

Open quequotion opened 6 years ago

quequotion commented 6 years ago

Submenus in ayatana indicators are not displaying in wingpanel.

For an example, try indicator-powersave.

The indicators appear in the panel, and can be used, but submenus are empty.

These menus work fine in lxpanel and older versions of wingpanel/wingpanel-indicator-ayatana (like those available in elementary's PPAs)

quequotion commented 6 years ago

Submenus are also missing from glippy-indicator.

Revision testing indicates commit 105c1d0 in wingpanel broke submenus in indicators.

This is not a bug in wingpanel-indicator-ayatana, although I'm not entirely certain it should not be fixed there, as I don't know of any native indicators that have submenus to test if they are working.

quequotion commented 6 years ago

Another way around this would be to make changes to the indicators themselves, as was done with the native wingpanel indicators, but they are quite dissimilar. Indicator-cpufreq/powersave is written in python, while glippy is written in c#. I've tried to find documentation on both, but so far nothing useful--I am not sure if there is any equivalent to the "visible" property used in vala.

It doesn't seem like that should be necessary however, as only submenus are affected; other menu items appear and function normally in these indicators (except for radio button dots).