Bug 435546

Summary: Visual glitch when using ListSectionHeader with ListView inside OverlaySheet
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Nate Graham <nate>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aleixpol, isma.af
Priority: NOR    
Version: 5.80.0   
Target Milestone: Not decided   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: How this looks

Description Nate Graham 2021-04-09 14:25:04 UTC
Created attachment 137451 [details]
How this looks

Sample code:

```
    Kirigami.OverlaySheet {

        header: Kirigami.Heading { text: "This is awesome" }

        ListView {
            id: view
            implicitWidth: Kirigami.Units.gridUnit * 25
            clip: true
            model: [some model]

            section.property: "grouping"
            section.delegate: Kirigami.ListSectionHeader {
                width: view.width
                label: section
            }
            delegate: Kirigami.BasicListItem {
                width: view.width
                text: model.text
                subtitle: model.description
            }
        }
    }
```

Real-life example in https://invent.kde.org/plasma/discover/-/blob/master/libdiscover/backends/PackageKitBackend/qml/DependenciesButton.qml#L27

See attached screenshot for what this produces.
Comment 1 Ismael Asensio 2021-04-26 18:45:08 UTC

*** This bug has been marked as a duplicate of bug 422289 ***