Bug 396413

Summary: Add a way to disable SwipeItem actions when editing
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Emmanuel Lepage Vallée <emmanuel.lepage>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version: Master   
Target Milestone: Not decided   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Emmanuel Lepage Vallée 2018-07-11 17:35:26 UTC
(disclaimer: This is a summary of a meeting discussion)

When adding an "edit" mode to an item, there is an annoying regression since Kirigami switched from a swipe action to a mouse hover action on the desktop. If you change the swipe item component to add some TextEntry or buttons, they keep moving around when you move the mouse.

Some way to tell the swipe delegate to stop doing magic while the item is locked in edit mode is required to fix this UX regression.
Comment 1 Marco Martin 2018-08-02 14:29:00 UTC
Git commit 1c89c00379bb61288643c7ce2be1af19e0a162ef by Marco Martin.
Committed on 02/08/2018 at 14:28.
Pushed by mart into branch 'master'.

introduce actionsVisible

sometimes you don't want to have any action around, for instance when editing items

M  +14   -1    src/controls/templates/SwipeListItem.qml

https://commits.kde.org/kirigami/1c89c00379bb61288643c7ce2be1af19e0a162ef