Bug 396413 - Add a way to disable SwipeItem actions when editing
Summary: Add a way to disable SwipeItem actions when editing
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: Master
Platform: Other Linux
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-11 17:35 UTC by Emmanuel Lepage Vallée
Modified: 2018-08-02 14:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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