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.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1606501
Title:
initial app surface size wrong
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1606501/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs