*** This bug is a duplicate of bug 1574699 ***
https://bugs.launchpad.net/bugs/1574699
I have worked on a fix for this yesterday, or to be more precise on two
fixes.
Fix for appmenu-qt5: lp:~mitya57/appmenu-qt5/lp1574699
Fix for pure Qt without appmenu-qt5: https://codereview.qt-project.org/158963
As you seem to be using Unity, you are probably also using appmenu-qt5.
So marking this bug as duplicate of bug 1574699 which is reported
against right project.
** This bug has been marked a duplicate of bug 1574699
All QSystemTrayIcon have the same icon, and
QSystemTrayIcon::isSystemTrayAvailable remove all QSystemTrayIcon
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1542691
Title:
QSystemTrayIcon doesn't work when several.
Status in qtbase-opensource-src package in Ubuntu:
Confirmed
Bug description:
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 litle application with only SystrayIcon. You can
find Test Project on original thread.
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.
I've reinstalled fresh ubuntu 15.10 (in VirtualBox) with its own qt5.4.2.
Now main icon appears two time (with same context menu).
What can I do to get icons (or something else) in systray?
Thanks.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: qtbase5-dev 5.4.2+dfsg-2ubuntu9
ProcVersionSignature: Ubuntu 4.2.0-27.32-generic 4.2.8-ckt1
Uname: Linux 4.2.0-27-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Feb 6 19:09:14 2016
InstallationDate: Installed on 2015-12-26 (42 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
ProcEnviron:
LANGUAGE=fr_FR
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: qtbase-opensource-src
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1542691/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp