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

QSystemTrayIcon is not always showing on X11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.1.0
    • GUI: Workspace
    • None
    • Kubuntu 13.04 64bit, Qt 5.1.0 64bit MinGW
      Xubuntu 13.04 32bit, Qt 5.1.0 32bit MinGW

    Description

      Trayicon sometimes is not showing (actually it is visible, but it appear on top-left screen corner instead of tray panel ).

      I found this problem on Kubuntu. But my friend confirmed it also on Xubuntu. You need to re-run application even twenty times because on my maschine trayicon doesn't appear on every ~7 application run. I have stable Qt 5.1 Mingw 64bit and this simply code:

      MainWindow::MainWindow(QWidget *parent) :
      QMainWindow(parent),
      ui(new Ui::MainWindow)
      {
      ui->setupUi(this);

      QIcon ico(":/22/player_play.png");
      mTray = new QSystemTrayIcon(ico, this);

      mTray->show();
      }

      This is totally random. While application starting, I see that tray panel is preparing space for my icon but finally this space disappear and icon is placed on top-left screen corner

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            kobid Kobid
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes