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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.5.0
    • Fix Version/s: 5.6.0
    • Component/s: GUI: Workspace
    • Labels:
      None
    • Environment:
      CentOS 7; KDE
    • Commits:
      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

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes