[PyQt] PyQt5 system tray icon context menu strange behavior
mitya57 at ubuntu.com
Sat Jul 1 14:31:54 BST 2017
On Fri, Jun 30, 2017 at 03:33:06PM +0200, flll at seznam.cz wrote:
> Ubuntu 16.04 - Unity
> Qt v5.8.0
> PyQt v5.8.2
> However, I also tested "incorrect isHidden()" and "not working move()" in
> Kubuntu with KDE, Qt 5.8 and it did not work neither. I will gladly provide
> any other info if needed. :)
On both Unity and Plasma, Qt is using the Status Notifier protocol.
So most of the issues you described are actually limitations of either that
protocol or its implementations (indicator-application, Plasma tray), not
bugs in Qt.
Regarding updating the menu when the icon is hidden, it should work fine
on Unity. Can you check if the systray example from qtbase examples works
for you (it has dynamically enabled/disabled Minimize, Maximize, Close
In any case, this is definitely not specific to PyQt, so it should be better
discussed in the Qt bug tracker.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the PyQt