All QSystemTrayIcon have the same icon, and QSystemTrayIcon::isSystemTrayAvailable remove all QSystemTrayIcon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
appmenu-qt5 |
New
|
Undecided
|
Unassigned | ||
appmenu-qt5 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Dmitry Shachnev |
Bug Description
# Impact
This affects all Qt applications that use QSystemTrayIcon
# Test Case
See the original description below for the test case in C++.
# Proposed Fix
The proposed fix is identical to what was uploaded to Yakkety as version 0.3.0+16.
# Regression Potential
The fix is in Yakkety since June and in Zesty, and nobody complained so far. So it should not cause any regressions.
-------
in appmenu-qt5 in ubuntu 16.04, the AppMenuPlatform
This breaks the owncloud client [issue https:/
This example reproduces the problem:
```
#include <QtWidgets>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QImage img(64,64, QImage:
img.
QSystemTrayIcon sti(QIcon(
sti.show();
QSystemTra
// comment the previous line to see that the QSystemTrayIcon works and that there is a bug in that line
return a.exec();
}
```
This testcase shows that the AppMenuPlatform
Related branches
- Timo Jyrinki: Pending requested
- Sebastien Bacher: Pending requested
- ogoffart: Pending requested
- Łukasz Zemczak: Pending requested
- Indicator Applet Developers: Pending requested
-
Diff: 52 lines (+7/-7)2 files modifiedsrc/appmenuplatformsystemtrayicon.cpp (+6/-7)
src/appmenuplatformsystemtrayicon.h (+1/-0)
description: | updated |
This bug also affects KeePassXC: https:/ /github. com/keepassxreb oot/keepassxc/ issues/ 102#issuecommen t-272416450