Wily (15.10) qtbase5-dev qsystemtrayicon.h

Asked by Phenom

Hello,
I've report this bug in Qt forum:
https://forum.qt.io/topic/62137/qsystemtrayicon-ubuntu-15-10
But they say to ask you.

With new version of Ubuntu (with Unity) 15.10 and compiled with Qt 4.8.6, the QSystemTrayIcon doesn't work properly.
We have multi icons depends the service notification. When we trigger .show() for service icon, a new main icon appears (with its ContextMenu). And when we trigger .hide() the new icon stay.
So, to test it, I've wrote a lite application with only SystrayIcon.
I've tested it with different version of Qt5. Only 5.5.1 works, but with only one icon. When I want to show the second directly, no one appears. If I don't show second, the first take its own and the second's context menu. When I trigger second.show() nothing happens.
showMessage() is working well (not msecs) with one or two icons.
contextmenu only works with one icon shown.
toolTip doesn't work.
activated signal isn't triggered.

What can I do to get icons (or something else) in systray?

Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

I suggest you create a bug report.

Can you help with this problem?

Provide an answer of your own, or ask Phenom for more information if necessary.

To post a message you must log in.