subsurface/mobile-widgets/qml
Linus Torvalds 344d976593 Make the map widget more pleasant to use
This does two main things to the map widget:

 - if there are no coordinates, do *not* zoom out to the whole-world
   view. Just leave the map alone.

 - when zooming out to move to a new dive site, zoom back in to the same
   zoom level it was before.

These two changes make it much more pleasant to move between dives,
particularly as you move back-and-forth without losing the zoom level.

NOTE! The zoom level gets reset if you move dives _while_ zooming is
happening, and so moving quickly between dives will still end up losing
the original zoom level, replacing it with a bigger zoom-out that was
active _during_ a previous zoom.

That could be seen as a feature (moving incrementally to an "overview"
zoom when moving quickly between dive sites), but honestly it smells
more like a bug to me.  But regardless of that feature/bug, this new
zoom behavior is more pleasant than our older "always reset when
moving".

But it might be a matter of taste, so people should try this out and
comment.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation,org>
Cc: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-10-23 10:34:19 -04: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 Whitespace 2017-10-05 13:40:31 -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 DiveList 2017-10-18 06:30:51 -04:00
DownloadedDiveDelegate.qml QML-UI: Download screen fixup 2017-10-19 14:55:30 -04:00
DownloadFromDiveComputer.qml QML-UI: Download screen fixup 2017-10-19 14:55:30 -04: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 Make the map widget more pleasant to use 2017-10-23 10:34:19 -04: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