Created attachment 191213 [details] Bug reproducing screenshot *** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports Please remove this comment after reading and before submitting - thanks! *** SUMMARY The contentItem of a SwipeListItem will now reach to the right end of the SwipeListItem, instead of correctly leaving the spaces at the right for its actions. This is a regression though I do not know in which version it was introduced exactly. It was introduced more than two months ago. Also, if the bug is in QQC2-style-desktop instead of Kirigami, please reassign accordingly. STEPS TO REPRODUCE 1. Given this code: ``` ListView { anchors.fill: parent model: 3 delegate: Kirigami.SwipeListItem { contentItem: RowLayout { Label { text: 'aaaaa' Layout.fillWidth: true } Rectangle { color: 'green' Layout.preferredWidth: 10 Layout.preferredHeight: 10 } } actions: [Kirigami.Action { icon.name: 'document-edit-symbolic' text: 'test' }] } } ``` 2. Run it OBSERVED RESULT The green square is at the right end of the SwipeListItem and overlaps with the actions EXPECTED RESULT The green square should be on the left of the actions SOFTWARE/OS VERSIONS (available in the Info Center app, or by running `kinfo` in a terminal window) Operating System: Gentoo Linux 2.18 KDE Plasma Version: 6.6.3 KDE Frameworks Version: 6.24.0 Qt Version: 6.10.2 Kernel Version: 6.18.4-gentoo-x86_64 (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION Downstream: https://iron.lily-is.land/T175
Problem: the left/right padding should include the width of the actions or the swipe handling item, but it doesn't. I think it is probably a regression after https://invent.kde.org/frameworks/kirigami/-/merge_requests/1984/diffs , or the relevant QQC2 Desktop Style MR.
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/2155
Git commit 0b0af2594e6a87a48bc1612e7e779fd0209bd936 by Marco Martin. Committed on 26/08/2026 at 14:56. Pushed by ngraham into branch 'master'. SwipeListItem: Don't make the content item overlap the icons make sure the content item doesn't overlap the icons, make sure all the elements are correctly laid out both in desktop and mobile modes, moth ltr and rtl layouts M +10 -4 src/controls/SwipeListItem.qml https://invent.kde.org/frameworks/kirigami/-/commit/0b0af2594e6a87a48bc1612e7e779fd0209bd936