https://bugs.kde.org/show_bug.cgi?id=518436

            Bug ID: 518436
           Summary: SwipeListItem contentItem overlaps with actions
    Classification: Frameworks and Libraries
           Product: frameworks-kirigami
      Version First 6.24.0
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: Not decided

Created attachment 191213
  --> https://bugs.kde.org/attachment.cgi?id=191213&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to