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

Menu: warning when a menu is shown

    XMLWordPrintable

Details

    • 813c39f3

    Description

      The following code generates a warning when the menu is shown:

      "Unable to find a renderable master window QtMenuPopupWindow(0x1e1f0e0) when trying to render QtMenuPopupWindow(0x1e1f0e0) ( QRect(67,59 0x0) )."

      Also the menu is not drawn properly until the mouse hovers above it.

      import QtQuick 2.0
      import QtQuick.Controls 1.0
      
      ApplicationWindow {
          width: 360
          height: 360
      
          menuBar: MenuBar {
              Menu {
                  text: "Edit"
      
                  MenuItem {
                      text: "Cut"
                  }
      
                  MenuItem {
                      text: "Copy"
                  }
              }
          }
      }
      

      Attachments

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

        Activity

          People

            carochao Caroline Chao (Inactive)
            carochao Caroline Chao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes