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

    Details

      Description

      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();
      }
      

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes