Bug 386470 - The popup menu of Controls.ComboBox is shown under Kirigami.OverlaySheet
Summary: The popup menu of Controls.ComboBox is shown under Kirigami.OverlaySheet
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.39.0
Platform: Other Linux
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-02 17:54 UTC by Paolo M.
Modified: 2017-11-03 15:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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