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

[REG 4->5] Systray QMenu disappears after hide/show actions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.6.0
    • 5.5.0
    • GUI: Workspace
    • None
    • CentOS 7; KDE
    • 7ef8f9310e069ea2966e2df559151322d421b1b9

      Example systray (http://doc.qt.io/qt-4.8/qt-desktop-systray-example.html). Initially systray icon menu works fine (ok_menu.png). But after all actions from menu were hidden

      minimizeAction->setVisible(false); 
      maximizeAction->setVisible(false);
      restoreAction->setVisible(false); 
      quitAction->setVisible(false);
      

      and shown again

      minimizeAction->setVisible(true);
      maximizeAction->setVisible(true);
      restoreAction->setVisible(true); 
      quitAction->setVisible(true);
      

      menu became empty (empty_menu.png).

        1. empty_menu.png
          10 kB
          Olga Sh
        2. ok_menu.png
          13 kB
          Olga Sh
        3. qtbug48647_log.txt
          1 kB
          Friedemann Kleint
        4. qtbug48647_qt4_repro.diff
          1 kB
          Friedemann Kleint
        5. qtbug48647_qt5_repro.diff
          2 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            srutledg Shawn Rutledge
            olya Olga Sh
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes