Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.0.0, 5.1.0
-
None
-
KDE 4.10.5, Arch Linux
Description
When run next code:
#include <QtGui> #include <QtWidgets> int main(int argc, char **argv) { QApplication app(argc, argv); QIcon icon("/path/to/icon.png"); QSystemTrayIcon tray(icon); QWidget widget; widget.setWindowIcon(icon); widget.show(); tray.show(); return app.exec(); }
I get the attatched scene.
The tray icon is not in tray and it is located in top left of the monitor screen and stays on top.
Sometimes it works well, but in many cases, this problem occurs.
Attachments
Issue Links
- is replaced by
-
QTBUG-31762 [REG] XCB: QSystemTrayIcon creates an icon in the wrong place.
- Closed