on xenial help sign in
"Document" 1073741823
b0c298bAlbert Astals
qml/Dash/DashContent.qml+2
@@ -111,6 +111,8 @@ Item {
111 highlightMoveDuration: 250
111 highlightMoveDuration: 250
112 highlightRangeMode: ListView.StrictlyEnforceRange
112 highlightRangeMode: ListView.StrictlyEnforceRange
113 // TODO Investigate if we can switch to a smaller cache buffer when/if UbuntuShape gets more performant
113 // TODO Investigate if we can switch to a smaller cache buffer when/if UbuntuShape gets more performant
114+ // 1073741823 is s^30 -1. A quite big number so that you have "infinite" cache, but not so
115+ // big so that if you add if with itself you're outside the 2^31 int range
114 cacheBuffer: 1073741823
116 cacheBuffer: 1073741823
115 onMovementStarted: currentItem.item.showHeader();
117 onMovementStarted: currentItem.item.showHeader();
116 clip: parent.x != 0
118 clip: parent.x != 0
qml/Dash/GenericScopeView.qml+2
@@ -388,6 +388,8 @@ FocusScope {
388 // TODO do we need item.originY here, test 1300302 once we have a silo
388 // TODO do we need item.originY here, test 1300302 once we have a silo
389 // and we can run it on the phone
389 // and we can run it on the phone
390 if (scopeView.isCurrent) {
390 if (scopeView.isCurrent) {
391+ // 1073741823 is s^30 -1. A quite big number so that you have "infinite" display margin, but not so
392+ // big so that if you add if with itself you're outside the 2^31 int range
391 item.displayMarginBeginning = 1073741823;
393 item.displayMarginBeginning = 1073741823;
392 item.displayMarginEnd = 1073741823;
394 item.displayMarginEnd = 1073741823;
393 } else if (baseItem.y + baseItem.height <= 0) {
395 } else if (baseItem.y + baseItem.height <= 0) {