Bug 450610

Summary: ListView breaks OverlaySheet layout
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Plata <plata.hill>
Component: generalAssignee: Marco Martin <notmart>
Status: CONFIRMED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.90.0   
Target Milestone: Not decided   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: OverlaySheet with ListView
OverlaySheet with ColumnLayout

Description Plata 2022-02-20 11:52:05 UTC
Created attachment 146974 [details]
OverlaySheet with ListView

SUMMARY
Using ListView in OverlaySheet breaks it's layout (e.g. overlay width, padding).


STEPS TO REPRODUCE
https://invent.kde.org/plata/kirigami-playground/-/blob/overlay-layout-list/src/qml/MyGlobalDrawer.qml

OBSERVED RESULT
see listview.png attachment
- overlay sheet uses complete app width
- no padding/inset (even setting e.g. leftPadding manually has no effect)

EXPECTED RESULT
see columnlayout.png attachment


SOFTWARE/OS VERSIONS
Linux: Manjaro
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
might be related to 422289
Comment 1 Plata 2022-02-20 11:52:34 UTC
Created attachment 146975 [details]
OverlaySheet with ColumnLayout