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

Menu background shadows are cut off with popupType: Window

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.9.0
    • Quick: Controls 2
    • None
    • Linux/Wayland

      When using a Menu with popupType: Menu.Window on Linux/Wayland, the window is not large enough for the background shadow to render, leaving a cutoff menu. There needs to be some way to specify the margin 

      This can be easily observed with the Material style, notice that "window" is too small to show the shadow (it can only be observed at the corners where the content is rounded).

       

      QT_QUICK_CONTROLS_STYLE=Material qmlscene-qt6 ./menuexample.qml

      menuexample.qml

       

      popupType: Menu.Window

      popupType: Menu.Item:

        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
            espidev Devin Lin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes