Dragging within a ListItem does not work
Bug #1500409 reported by
Ugo Riboni
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
Zoltan Balogh | ||
ubuntu-ui-toolkit (Ubuntu RTM) |
Fix Released
|
Critical
|
Zsombor Egri |
Bug Description
If we try to drag an item that is parented to a ListItem, the drag is interrupted after a few pixels, or sometimes it is not even started.
In the example attached, try to drag any of the red rectangles, and it will fail as explained above. Dragging the ListItem itself is also not working, in the same way.
This used to work before a recent release, and is causing bug #1499437
Related branches
lp://staging/~zsombi/ubuntu-ui-toolkit/listItemContentDrag
- Cris Dywan: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 238 lines (+140/-2)5 files modifiedcomponents.api (+1/-0)
src/Ubuntu/Components/plugin/uclistitem.cpp (+53/-2)
src/Ubuntu/Components/plugin/uclistitem.h (+4/-0)
src/Ubuntu/Components/plugin/uclistitem_p.h (+1/-0)
tests/unit_x11/tst_components/tst_listitem_extras.qml (+81/-0)
tags: | added: listitem |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
importance: | Undecided → Critical |
assignee: | nobody → Zsombor Egri (zsombi) |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Confirmed → In Progress |
affects: | ubuntu-ui-toolkit (Ubuntu) → ubuntu-ui-toolkit (Ubuntu RTM) |
Changed in ubuntu-ui-toolkit (Ubuntu RTM): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | New → Fix Committed |
importance: | Undecided → Critical |
assignee: | nobody → Zoltan Balogh (bzoltan) |
milestone: | none → ww02-2016 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The ListItem itself supports dragging left or right to show leading and trailing actions. This would conflict with the possibility of dragging ListItem contents independently. If you do not need that ListItem functionality, I would say use a simple Item as a delegate instead of a ListItem.