ListItem outside ListView segfaults
Bug #1514928 reported by
Jonas G. Drange
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Zoltan Balogh | ||
ubuntu-ui-toolkit (Ubuntu RTM) |
Fix Released
|
High
|
Zsombor Egri |
Bug Description
Reproduce:
Use the code from the documentation [1] but add selected: true to any ListItem.
What happens:
UUITK segfaults
What should happen:
It should highlight and not crash
Stack trace:
http://
Seems selectedList.
Related branches
lp:~zsombi/ubuntu-ui-toolkit/listitemSelectModeBugs
- Tim Peeters: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 783 lines (+391/-48)12 files modifiedcomponents.api (+2/-0)
src/Ubuntu/Components/Themes/Ambiance/1.3/ListItemStyle.qml (+2/-3)
src/Ubuntu/Components/plugin/plugin.pri (+2/-0)
src/Ubuntu/Components/plugin/privates/listitemselection.cpp (+141/-0)
src/Ubuntu/Components/plugin/privates/listitemselection.h (+56/-0)
src/Ubuntu/Components/plugin/uclistitem.cpp (+38/-26)
src/Ubuntu/Components/plugin/uclistitem.h (+4/-2)
src/Ubuntu/Components/plugin/uclistitem_p.h (+2/-1)
src/Ubuntu/Components/plugin/ucviewitemsattached.cpp (+6/-6)
tests/resources/listitems/ListItemDragging.qml (+7/-2)
tests/unit_x11/tst_components/tst_listitem_selectmode.qml (+69/-4)
tests/unit_x11/tst_components/tst_listitem_selectmode13.qml (+62/-4)
Changed in canonical-devices-system-image: | |
milestone: | none → ww02-2016 |
assignee: | nobody → Zoltan Balogh (bzoltan) |
importance: | Undecided → High |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Zoltan Balogh (bzoltan) |
importance: | Undecided → High |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | Zoltan Balogh (bzoltan) → Zsombor Egri (zsombi) |
Changed in canonical-devices-system-image: | |
status: | New → 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: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.