Bug 384670

Summary: Kirigami should prevent triggering actions in SwipeListItem when buttons are still hidden
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: jm.ouwerkerk
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: Master   
Target Milestone: Not decided   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Code example (SSCE) demonstrating the bug

Description jm.ouwerkerk 2017-09-13 18:31:04 UTC
Created attachment 107838 [details]
Code example (SSCE) demonstrating the bug

In the default state, actions configured on SwipeListItems are not visible, but still 'clickable' if you know where in the layout the action buttons end up once revealed -- or if you hit them by accident.

This means you can inadvertently trigger an action by clicking/pressing a bit of SwipeListItem background by accident.

See also: https://phabricator.kde.org/T5534

Code example (SSCE): https://paste.kde.org/p1laqaqbf

(Try clicking the "F" in "FORTIS" or the "E" in "ARARE")