Bug 423239 - Make SwipeListItem modal
Summary: Make SwipeListItem modal
Status: REPORTED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: Master
Platform: Other Linux
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-19 17:05 UTC by Rinigus
Modified: 2020-06-19 17:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

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