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

System tray icon places balloon messages in the wrong location unless process events has been called on Linux

XMLWordPrintable

      Reproduced with ubuntu with and withouth compiz and on kubuntu 7.04 using KDE.

      #include <QtGui>
      
      int main(int argc, char **argv) {
          QApplication app(argc, argv);
      
          QSystemTrayIcon icon;
      
          QPixmap pm(24, 24);
          pm.fill(Qt::red);
          icon.setIcon(pm);
          icon.show();
      
          // QApplication.processEvents(); <- this makes it work...
          icon.showMessage("Test", "Am I in the wrong place?");
      
          app.exec();
      }
      

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

            dzyubenk Denis Dzyubenko (Inactive)
            sletta Gunnar Sletta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes