subsurface/mobile-widgets/qml
Jan Mulder 59417342c7 mobile: the infamous enumerate problem
This fix seems to fix the enumerate problem: the problem that on a
seemingly non-determinstic way, all the profiles get enumerated
and rendered, causing freeze of the app, or even crash due
to out of memory.

Only 3 lines of code change, but this fix did not come easy. The
enumerate problem seems some kind of race condition between QML,
Kiragami and most definitely, the Subsurface QML code itself.
The breakthrough in my debugging was the setting of
highlightRangeMode: ListView.StrictlyEnforceRange based on
the QML documentation on snapMode: enumeration.

This fix deserves proper testing in multiple environments. As
could be seen on the developpers mailing list, I was (easily)
able to reproduce the enumerate problem, but Rick was not. So
I definitely do not claim to understand why this fix solves
the issue for me.

And as a sidenote: fixes #263 for me as well.

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-03-24 09:27:23 -07:00
..
icons QML UI: add option to disable cloud to start screen 2016-04-22 11:59:15 -07:00
theme
About.qml Revert "QML UI: build against latest Kirigami" 2017-01-21 14:42:10 -08:00
CloudCredentials.qml Revert "QML UI: build against latest Kirigami" 2017-01-21 14:42:10 -08:00
dive.jpg
DiveDetails.qml mobile: the infamous enumerate problem 2017-03-24 09:27:23 -07:00
DiveDetailsEdit.qml QML UI: don't access members of undefined objects 2017-03-18 17:05:45 -07:00
DiveDetailsView.qml dive master > divemaster 2017-03-04 12:08:17 -08:00
DiveList.qml QML UI: don't unset the currentIndex in the dive list 2017-03-18 17:05:45 -07:00
DownloadFromDiveComputer.qml Remove space before colon. 2017-02-21 07:03:10 -08:00
GpsList.qml Revert "QML UI: build against latest Kirigami" 2017-01-21 14:42:10 -08:00
Log.qml Revert "QML UI: build against latest Kirigami" 2017-01-21 14:42:10 -08:00
main.qml Revert "QML UI: build against latest Kirigami" 2017-01-21 14:42:10 -08:00
mobile-resources.qrc Use kirigami built in static mode 2016-08-14 07:56:05 -07:00
Preferences.qml Revert "QML UI: build against latest Kirigami" 2017-01-21 14:42:10 -08:00
StartPage.qml Revert "QML UI: build against latest Kirigami" 2017-01-21 14:42:10 -08:00
StyledTextField.qml QML UI: make readonly fields more obvious in dive edit 2016-04-08 11:14:10 -07:00
SubsurfaceButton.qml Revert "QML UI: build against latest Kirigami" 2017-01-21 14:42:10 -08:00
ThemeTest.qml Revert "QML UI: build against latest Kirigami" 2017-01-21 14:42:10 -08:00