[Bug 1779663] Re: QT4 Tray application and CPU load in 18.04

2018-09-01 Thread Launchpad Bug Tracker
[Expired for gnome-panel (Ubuntu) because there has been no activity for 60 days.] ** Changed in: gnome-panel (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bug

[Bug 1779663] Re: QT4 Tray application and CPU load in 18.04

2018-07-03 Thread Stefan
It was not a big task to convert my application to a qt5 app, which I did this afternoon. The CPU load is gone, now, and for me, this is the solution to my problem. I appreciate your help, thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1779663] Re: QT4 Tray application and CPU load in 18.04

2018-07-03 Thread Dmitry Shachnev
> Could not get owner of name 'org.kde.StatusNotifierWatcher': no such name Oh, it looks like I was wrong then. There are two ways to get icons in the panel: via indicator-application and via the old X11 tray. The indicator-based tray is default if you have the standard panel configuration (with

[Bug 1779663] Re: QT4 Tray application and CPU load in 18.04

2018-07-03 Thread Stefan
I thought, the QSystemTrayIcon is in the notification area, automatically. Because we have this area activated and it only appears within this area. Here ist the output of dbus-monitor: QT4 app: method call time=1530618711.195260 sender=:1.901 -> destination=org.freedesktop.DBus serial=1 path=

[Bug 1779663] Re: QT4 Tray application and CPU load in 18.04

2018-07-03 Thread Dmitry Shachnev
I think it is a bug in sni-qt that sends too many events to gnome-panel. Other panels like fbpanel do not use indicators so the X11 tray is used there, which does not have the issue. sni-qt is also unmaintained so I doubt that this will be fixed. You can use the X11 tray with gnome-panel too, by

[Bug 1779663] Re: QT4 Tray application and CPU load in 18.04

2018-07-03 Thread Stefan
Tried the same python minimal application with pyqt5 (qt 5.9.5) - and no, it does not happen. So it seems to be a QT4 problem somehow in connection to the gnome- panel, because this does not happen with the same QT4 application and fbpanel in the same environment. stracing the gnome-panel with th

[Bug 1779663] Re: QT4 Tray application and CPU load in 18.04

2018-07-02 Thread Dmitry Shachnev
Qt 4 is no longer supported. Does it happen with Qt 5? ** Changed in: gnome-panel (Ubuntu) Status: New => Invalid ** Changed in: gnome-panel (Ubuntu) Status: Invalid => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to