[PyQt] Problems with QSystemTrayIcon KDE 5

Dimitrios Glentadakis dglent at free.fr
Tue Jan 6 23:25:28 GMT 2015


You can try with this system tray application:
https://github..com/dglent/meteo-qt
I will try the pyqt5 example below tomorrow, and i will give feedback.

À mer. janv. 7 00:10:43 2015 GMT+0100, Gustavo A. Díaz a écrit :
> Forgot to mention that even with PyQt5 example of systray does not work:
> 
> http://postimg.org/image/gwqqzsjrh/full/
> 
> 2015-01-06 20:05 GMT-03:00 Gustavo A. Díaz <gustavo.diaz at gmail.com>:
> 
> > Well, Here in Kubuntu (14.10) I don't have the icon on the tray at all
> > with my App.
> >
> > Current versions:
> >
> > PyQt5: 5.3.2
> > Qt5: 5.3.0
> >
> > 2015-01-06 19:59 GMT-03:00 Dimitrios Glentadakis <dglent at free.fr>:
> >
> >>
> >>
> >> À mar. janv. 6 23:35:01 2015 GMT+0100, Gustavo A. Díaz a écrit :
> >> > Hi,
> >> >
> >> > Today I've installed Kubuntu with Plasma Next (KDE 5) in my notebook to
> >> do
> >> > some test.
> >> >
> >> > I have a PyQt5 application that uses QSystemTrayIcon. Since the icon in
> >> the
> >> > tray now is "missing" (again, in KDE5), I just tested with
> >> > QSystemTrayIcon.isSystemTrayAvailable() giving me False result.
> >> > I've read about the changes in KDE 5 about this subject but I thought
> >> that
> >> > this change is a problem for PyQt4/GTk, etc and not for PyQt5 apps.
> >> >
> >> > Any idea how I can get ride of this?
> >> >
> >> > Thanks in advance
> >> >
> >> > --
> >> >
> >> > Gustavo A. Díaz
> >> >
> >> > artistic.gdnet.com.ar
> >> >
> >> > "Desarrollando un mundo Libre"
> >> >
> >> I don't have any problem with the icon (tested in  pyqt5, manjaro and
> >> mageia with plasma5), it appears normaly,  but with the submenus of the
> >> systemtray context menu which are not expanded (missing arrow to expand).
> >> Also, for example the hovered() signal when the mouse pass the action, is
> >> not emitted.
> >>
> >> It seems that the new system tray implementation of plasma5 it is not so
> >> compatible (?)
> >>
> >> --
> >> Envoyé depuis mon Jolla
> >>
> >
> >
> >
> > --
> >
> > Gustavo A. Díaz
> >
> > artistic.gdnet.com.ar
> >
> > "Desarrollando un mundo Libre"
> >
> 
> 
> 
> -- 
> 
> Gustavo A. Díaz
> 
> artistic.gdnet.com.ar
> 
> "Desarrollando un mundo Libre"
>

-- 
Envoyé depuis mon Jolla


More information about the PyQt mailing list