ListItem does not swipe with custom MouseAreas
Bug #1479688 reported by
Michał Karnicki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UX |
Fix Committed
|
High
|
Femma | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Critical
|
Zsombor Egri |
Bug Description
Expected:
ListItem with user avatar an an image/attachment. I want to be able to detect the click on the avatar or the image, so I need to place MouseAreas within the list view. This used to work with the old ListViewItemWit
Actual:
ListItem does not allow a swipe when it starts on one of those mouse areas. Meaning, you have to look for "free" space where you can drag the item, which is not intuitive and clearly a UX annoyance.
UX Fix:
When a mouse is plugged in, the leading and trailing actions should be available in the contextual menu. Please look at https:/
Related branches
lp:~zsombi/ubuntu-ui-toolkit/swipeListItemWithActiveChild
- Cris Dywan: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 803 lines (+328/-157)8 files modifiedcomponents.api (+1/-1)
src/Ubuntu/Components/plugin/uclistitem.cpp (+77/-34)
src/Ubuntu/Components/plugin/uclistitem_p.h (+3/-0)
src/Ubuntu/Test/UbuntuTestCase.qml (+5/-5)
tests/resources/listitems/ListItemTest.qml (+2/-2)
tests/unit_x11/tst_components/ListItemTestCase.qml (+137/-0)
tests/unit_x11/tst_components/tst_listitem.qml (+11/-115)
tests/unit_x11/tst_components/tst_listitem_extras.qml (+92/-0)
To post a comment you must log in.
Not even with active components, like Buttons.