subsurface/mobile-widgets/qml
Jan Mulder cf75e6451d QML UI: Scrolling in dive details
While testing the mobile app on Qt 5.9.2, I encounted a show stopping
issue. Select a dive in the dive list, go back to the dive list (as
selecting a dive opens the details), now scroll down to a different
dive, and select one. The app starts enumerating (moved smoothly
according to the specs) all the dives between the old and the new
selected dive. So, depending on the distance, this could take forever.
Explicitly: on 5.9.2. only.

From the Qt docs:

highlightFollowsCurrentItem : bool

If this property is true (the default value), the highlight is moved
smoothly to follow the current item. Otherwise, the highlight is not
moved by the view, and any movement must be implemented by the highlight.

End Qt docs.

Setting this property to false solves the issue. Tested on both Qt 5.9.1
and 5.9.2.

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-10-29 11:08:10 -07:00
..
icons qml-icons: add a third, grayed-out map marker 2017-10-15 17:28:39 -08:00
About.qml Add SPDX header to mobile widgets and QML files 2017-04-29 13:32:55 -07:00
CloudCredentials.qml mobile: silence deprecated messages in logging about Kirigami.Label 2017-10-17 15:32:27 +02:00
dive.jpg Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
DiveDetails.qml QML UI: Scrolling in dive details 2017-10-29 11:08:10 -07:00
DiveDetailsEdit.qml mobile: silence deprecated messages in logging about Kirigami.Label 2017-10-17 15:32:27 +02:00
DiveDetailsView.qml QML-UI: some more layout repair (dive details) 2017-10-19 14:55:30 -04:00
DiveList.qml QML UI: repair long trip headers 2017-10-27 19:27:47 +02:00
DownloadedDiveDelegate.qml QML-UI: Download screen fixup 2017-10-19 14:55:30 -04:00
DownloadFromDiveComputer.qml QML UI: prevent full overflow of bottom buttons 2017-10-27 19:28:42 +02:00
GpsList.qml mobile: silence deprecated messages in logging about Kirigami.Label 2017-10-17 15:32:27 +02:00
HintsTextEdit.qml QML UI: dive edit autocomplete 2017-08-02 18:49:47 -07:00
Log.qml QML UI: drop AppLog title and add margin instead 2017-07-06 09:34:37 -07:00
main.qml QML UI: open v2 user manual 2017-10-07 12:14:08 +03:00
MapWidget.qml mapwidget: add the 'isReady' flag to the Map component 2017-10-29 08:26:11 +01:00
MapWidgetContextMenu.qml mapwidgetcontextmenu: use a QtQuick 2.0 import 2017-09-16 08:35:29 -07:00
MapWidgetError.qml map-widget: don't crash if the map QML failed to load 2017-10-07 08:09:05 -07:00
mobile-resources.qrc QML UI: add missing icon 2017-10-09 22:01:12 -07:00
qtquickcontrols2.conf QML UI: Fully port dive edit to Kirigami2 2017-04-01 09:35:51 +02:00
Settings.qml mobile: silence deprecated messages in logging about Kirigami.Label 2017-10-17 15:32:27 +02:00
SsrfButton.qml QML UI: add missing id line in our button 2017-07-26 14:13:22 +09:00
SsrfCheckBox.qml QML UI: add our own styled checkbox 2017-07-26 01:39:26 +09:00
SsrfSwitch.qml QML UI: add our own styled switch 2017-07-26 01:39:26 +09:00
StartPage.qml mobile: silence deprecated messages in logging about Kirigami.Label 2017-10-17 15:32:27 +02:00
ThemeTest.qml mobile: silence deprecated messages in logging about Kirigami.Label 2017-10-17 15:32:27 +02:00