Pyqt5 system tray menu problem in plasma5

Dimitrios Glentadakis dglent at free.fr
Sat Jan 3 15:29:08 UTC 2015


Hi, i wanted to ask about a problem with the system tray integration in plasma5.
I have this application :
https://github.com/dglent/meteo-qt/issues/34

and it works ok in the lxqt with qt5 but in pladma5 there is a problem with the context menu.
Initialy the context menu didn't appear at all because the application doesn't listen the right click event. Instead, it receives the middle click as a right click (in plasma5 only)

Adding the setContextMenu i have the context menu with right click but the context menu has a submenu which doesn't expand when i hover the mouse on.

The application is in python 3 and qt5 so it shouldn't have différences between qt5 enviroments.

What you suggest me to do in order to solve this?

Thanks very much in advance and happy new year.

Dimitrios Glentadakis

-- 
Envoyé depuis mon Jolla


More information about the Plasma-devel mailing list