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 firstItemWithViewOnTop = 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.

** Branch linked: lp:~aacid/unity8/lvwph_firstVisibleIndex_remove

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1433056

Title:
  
/usr/bin/unity8-dash:7:QQuickItem::y:ListViewWithPageHeader::ListItem::y:ListViewWithPageHeader::onModelUpdated:ListViewWithPageHeader::qt_static_metacall:QMetaObject::activate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1433056/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to