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

Menu element empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • None
    • 5.3.2
    • Quick: Controls 1
    • None
    • Ubuntu 14.10 64 bit, Qt 5.3.2, 5.4.0 RC

      On Ubuntu 14.04 and 14.10 I get Menu elements displayed in white most of the time. Sometimes they are rendered correctly.

      Same happens with Menu elements in context menus as well as ComboBox.

      Example code

      import QtQuick 2.3
      import QtQuick.Controls 1.2
      import QtQuick.Window 2.2
      
      ApplicationWindow {
          title: qsTr("Hello World")
          width: 400
          height: 300
      
          menuBar: MenuBar {
              Menu {
                  title: qsTr("File")
                  MenuItem {
                      text: qsTr("&Open")
                      onTriggered: console.log("Open action triggered");
                  }
                  MenuItem {
                      text: qsTr("Exit")
                      onTriggered: Qt.quit();
                  }
              }
          }
      
          Button {
              text: qsTr("Hello World")
              anchors.horizontalCenter: parent.horizontalCenter
              anchors.verticalCenter: parent.verticalCenter
          }
      }
      

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            webmaster128 Simon Warta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes