Bug 450610 - ListView breaks OverlaySheet layout
Summary: ListView breaks OverlaySheet layout
Status: CONFIRMED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.90.0
Platform: Other Linux
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-20 11:52 UTC by Plata
Modified: 2022-02-21 23:10 UTC (History)
1 user (show)

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


Attachments
OverlaySheet with ListView (14.55 KB, image/png)
2022-02-20 11:52 UTC, Plata
Details
OverlaySheet with ColumnLayout (14.60 KB, image/png)
2022-02-20 11:52 UTC, Plata
Details

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