martinpl / tray-icons-reloaded

GNOME Shell extension which bring back Tray Icons to top panel, with additional features.
GNU General Public License v3.0
490 stars 29 forks source link

Hide empty overflow menu #90

Closed dstolpmann closed 2 years ago

dstolpmann commented 2 years ago

Hi, When the extension is not in overflow mode, an empty menu is shown when opening another menu in the panel and moving the mouse over the extension. The issue occurs on Arch Linux with GNOME 42.1 and version 23 of the extension but not on Ubuntu 20.04.4 LTS with GNOME 3.36.8 and version 9 of the extension.

This pull request fixes this issue by hiding the empty menu, or to be more precise the only item in the menu, when the extension is not in overflow mode.

Best regards, Daniel