aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-main.cpp
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-10-26 22:26:14 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-29 11:08:10 -0700
commitcf75e6451d970732f64bdd04e71ed91c73b01356 (patch)
treea8282521e98298eba794dee34d2ffab700fd4175 /subsurface-mobile-main.cpp
parent4e320cca5bae6d3d625c91e48ff2635d9b167aa2 (diff)
downloadsubsurface-cf75e6451d970732f64bdd04e71ed91c73b01356.tar.gz
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>
Diffstat (limited to 'subsurface-mobile-main.cpp')
0 files changed, 0 insertions, 0 deletions