Closed Axel-Erfurt closed 3 years ago
What desktop is this on? I can't reproduce in cinnamon.
Are you testing it on the top or bottom panel, and do you have multiple monitors (potentially with different sizes or scaling)?
Desktop is xfce, one monitor 1280x1024, XAppStatusicon is in the top panel (I only use one panel)
Maybe it has to do with changes in xfce 4.16.
Appindicator3 and PyQt5 Systray no longer work as before. (scroll-event and middle-click no longer work there.)
Ok I'll have a look on xfce - it's possible this could happen if our panel applet is giving the wrong coordinate/orientation info to the program (XAppStatusIcon uses that to know where to position the menu).
The position of the menu is ok, width and height is on first click wrong (no menu text visible).
The height is only a few pixels. On next click all is ok.
I'm sorry, I found out today that it was due to the theme used.
Linux Mint 20.2, python 3.8.10
Menus are only the right size when called up the second time and I get these messages:
Example Code: XAppStatusicon.py