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

QPushButton::setMenu results invisible under Windows XP+ with Qt 4.6.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • Some future release
    • 4.6.0
    • None
    • MinGW 4.4.1
      Qt 4.6.0 official
      Windows XP and Windows 7

    Description

      Create a QPushButton, attach a menu to it. When the button is clicked on, the menu is invisible.

      Example:
      QPushButton *button = new QPushButton;
      QMenu *menu = new QMenu;
      menu->addAction("Test");
      button->SetMenu(menu);

      You can still click on the option, and when you do it shows up and works as expected. Not a huge deal, just thought I'd mention it.

      If you have trouble reproducing this, please let me know and I'll make a full test case + program.

      Attachments

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

        Activity

          People

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            byuu byuu san
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes