/usr/bin/unity8-dash:7:QQuickItem::y:ListViewWithPageHeader::ListItem::y:ListViewWithPageHeader::onModelUpdated:ListViewWithPageHeader::qt_static_metacall:QMetaObject::activate
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | unity8 (Ubuntu) |
High
|
Albert Astals Cid | ||
Bug Description
The Ubuntu Error Tracker has been receiving reports about a problem regarding unity8. This problem was most recently seen with version 8.02+15.
Related branches
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2015-03-19
- Michael Zanetti (community): Approve on 2015-03-18
-
Diff: 47 lines (+18/-8)2 files modifiedplugins/Dash/listviewwithpageheader.cpp (+7/-8)
tests/plugins/Dash/listviewwithpageheadertest.cpp (+11/-0)
| Changed in unity8 (Ubuntu): | |
| status: | New → Triaged |
| importance: | Undecided → High |
| assignee: | nobody → Albert Astals Cid (aacid) |
| Changed in unity8 (Ubuntu): | |
| status: | Triaged → In Progress |
| Albert Astals Cid (aacid) wrote : | #1 |
| Launchpad Janitor (janitor) wrote : | #2 |
This bug was fixed in the package unity8 - 8.02+15.
---------------
unity8 (8.02+15.
[ Albert Astals Cid ]
* Fix regression making pan not possible in Zoomable Image (LP:
#1433506)
* Make sure m_firstVisibleIndex is correctly set after processing
changeSet.
* make pot_file
[ Daniel d'Andrada ]
* Don't show the rotating rect in "make tryFoo".
[ Michael Zanetti ]
* make pinlockscreen adjust better to larger displays
-- CI Train Bot <email address hidden> Fri, 20 Mar 2015 11:56:41 +0000
| Changed in unity8 (Ubuntu): | |
| status: | In Progress → Fix Released |


I can't prove that the attached branch really fixes the backtrace of this bug but this crash is caused because on line
const bool firstItemWithVi ewOnTop = insert.index == 0 && m_firstVisibleIndex == 0 && m_visibleItems. first() ->y() + m_clipItem->y() > contentY();
insert.index is 0 and m_firstVisibleIndex is 0 but m_visibleItems. first() ->y() crashes (i.e. it's probably empty) and this fixes a case in which m_firstVisibleIndex may get out of sync so I'd say let's merge this fix and let's monitor errors.ubuntu.com to see if it continues or it is indeed fixed by this.