Bug 386470

Summary: The popup menu of Controls.ComboBox is shown under Kirigami.OverlaySheet
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Paolo M. <paolomilani>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.39.0   
Target Milestone: Not decided   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Paolo M. 2017-11-02 17:54:55 UTC
I made a Kirigami.OverlaySheet sheet on which there is a Controls.ComboBox.
The popup menu of Controls.ComboBox is shown under Kirigami.OverlaySheet.

my system: linux box, artix distro, kirigami2 version 5.39.0-1
Code sample:

Kirigami.OverlaySheet
    {
    id: settings
    ColumnLayout
      {
      Controls.Label
        {
        text: qsTr("Settings")
        Layout.alignment: Qt.AlignHCenter
        }

      RowLayout
        {
        Controls.Label
          {
          text: qsTr("Choose one: ")
          }
        Controls.ComboBox
          {
          Kirigami.Theme.inherit: true
          currentIndex: 0
          model: ["one", "two", "three", "four"]
//          onCurrentIndexChanged: console.debug(currentIndex)
          }
        }


The popup menu (one, two, three, four) is under the OverlaySheet (and it's very difficult to select it)
Comment 1 Marco Martin 2017-11-03 15:52:33 UTC
Git commit df8f15cb460282c88513d1a63e03dc8fb9ebd3e3 by Marco Martin.
Committed on 03/11/2017 at 15:48.
Pushed by mart into branch 'master'.

stack the overlaysheet differently

make sure the overlay sheet is istill stacked
under the popup controls, so things like the
combobox end up on top of the sheet

M  +2    -2    src/controls/templates/OverlaySheet.qml

https://commits.kde.org/kirigami/df8f15cb460282c88513d1a63e03dc8fb9ebd3e3