gnome-shell-extension-appindicator icon indicating copy to clipboard operation
gnome-shell-extension-appindicator copied to clipboard

update and open menu if there's no entries

Open lost-melody opened this issue 5 months ago • 0 comments

This PR (partially) fixes #494.

QQ is an IM app who provides no menu entries before user logged in, and updates it when logged in. But it probably does not emit a LayoutUpdated signal before updating menu so its tray icon menu can never open until appindicator restarts (by disabling the extension or ending gnome session). Here we try updating entries before opening an empty menu. Only primary click and secondary click will trigger an update.

Wondering if there are better solutions...

lost-melody avatar Sep 12 '24 06:09 lost-melody