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

Most basic QSystemTrayIcon example doesn't work on LXDE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.0.2
    • None
    • Lubuntu 13.10, LXPanel 0.6.1

      #include <QApplication>
      #include <QSystemTrayIcon>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QSystemTrayIcon trayIcon;
          trayIcon.setIcon(QIcon::fromTheme("accessories-calculator"));
          trayIcon.show();
          return a.exec();
      }
      

      Expected results: A system tray icon

      Actual results: Space is reserved for the system tray icon, but no icon appears. The same problem occurs if I use a PNG image instead of a theme icon.

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

            peppe Giuseppe D'Angelo
            alex.henrie Alex Henrie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes