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

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

    XMLWordPrintable

Details

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

    Description

      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).

      Attachments

        1. empty_menu.png
          empty_menu.png
          10 kB
        2. ok_menu.png
          ok_menu.png
          13 kB
        3. qtbug48647_log.txt
          1 kB
        4. qtbug48647_qt4_repro.diff
          1 kB
        5. qtbug48647_qt5_repro.diff
          2 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: