Comment 18 for bug 1606501

Revision history for this message
MichaƂ Sawicz (saviq) wrote :

We respect the requested size if the app provided one, otherwise we default to a size - and on next start we restore the same size this app had when closed.

> 761: property int itemCenter: item ? root.mapFromItem(quickList.item).y + (item.height /2) + quickList.item.offset : units.gu(1)

dinamic, can you please try and print these values, write something like:

property int itemCenter: {
  console.debug(item);
  console.debug(quickList.item);
  console.debug(root.mapFromItem(quickList.item).y);
  console.debug(quickList.item.offset);
  console.debug(units.gu(1));
  return item ? root.mapFromItem(quickList.item).y + (item.height /2) + quickList.item.offset : units.gu(1);
}

This will print the values every time this property is evaluated, should help in identifying what the problem is.