Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33028

QSystemTrayIcon does not go into system tray.

    XMLWordPrintable

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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              peppe Giuseppe D'Angelo
              xylosper Byoung-young Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes