Bug 423239

Summary: Make SwipeListItem modal
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Rinigus <rinigus.git>
Component: generalAssignee: Marco Martin <notmart>
Status: REPORTED ---    
Severity: normal CC: rinigus.git
Priority: NOR    
Version First Reported In: Master   
Target Milestone: Not decided   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Rinigus 2020-06-19 17:05:51 UTC
SUMMARY


SwipeListItem currently allows to swipe the item into the actions exposing mode and then proceed to interact with the rest of the list. This is a proposal to make such state modal and force user either 

* to trigger an action and close action exposed mode
* close action exposed mode by clicking/tapping somewhere else

Proposal stems from similar control in Sailfish where it works very well. In the example at https://openrepos.net/sites/default/files/packages/2446/screenshot-filespage0.png, ListItem "Pictures" has its action menu activated by pressandhold. As soon as it is activated, other items are inactive and you either select the action or dismiss it by pressing somewhere else.

As far as I have seen, swipelistitem goes great length trying to figure out which flickable it sits in. So, I presume it is possible to implement such modality.