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

Menu shadow is clipped when popupType = Window

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.8.3, 6.10.0
    • Quick: Controls 2
    • None

      Tested and affected styles:

      • Fusion
      • FluentWinUI3
      • Material

      Here's a minimum example to reproduce this issue:

      import QtQuick
      import QtQuick.Controls
      
      Window {
          width: 300
          height: 400
          visible: true
          title: "Popup Menus"
      
          Menu {
              id: menu
              popupType: Popup.Window
      
              MenuItem { text: "AL-1S" }
              MenuItem { text: "ABI-Eshuh" }
      
              Menu {
                  title: "YoRHa"
                  MenuItem { text: "2B" }
                  MenuItem { text: "9S" }
                  MenuItem { text: "A2" }
              }
          }
      
          Column {
              anchors.centerIn: parent
      
              Button {
                  text: "Internal Menu"
                  onClicked: { menu.popupType = Popup.Item; menu.popup(); }
              }
              Button {
                  text: "External Menu"
                  onClicked: { menu.popupType = Popup.Window; menu.popup(); }
              }
          }
      } 

        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
            gpbeta Joshua GPBeta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes