subsurface/mobile-widgets/qml
Lubomir I. Ivanov 4c7ce5c1aa mapwidget.qml: fix weird MouseArea bug in MapItemView
The QML map uses MapItemView. MapItemView needs a delagate
in the form of a MapQuickItem. The MapQuickItem needs a
'sourceItem' which would be used as the visual (e.g. marker)
on the map.

If the root sourceItem is of type Item, the marker becomes
non-clickable. If the root sourceItem is an Image, the clicks
work.

This patch removes the root Item, which makes the code
less organized, but at the same time it fixes the bug.

Bug reproduced on the following Qt versions on Ubuntu:
5.5.x, 5.7.x

Bug cannot be reproduced on Qt 5.9.x on Windows.

Reported-by: Willem Ferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2017-10-15 17:28:39 -08:00
..
icons Add star icons 2017-08-02 18:49:47 -07:00
About.qml Add SPDX header to mobile widgets and QML files 2017-04-29 13:32:55 -07:00
CloudCredentials.qml QML UI: cleanup some whitespace and string formatting 2017-09-29 08:13:25 -07: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 QML UI: add transition when switching to edit mode 2017-10-05 08:21:55 -07:00
DiveDetailsView.qml QML UI: display rating and visibility stars 2017-08-02 18:49:47 -07:00
DiveList.qml QML UI: cleanup some whitespace and string formatting 2017-09-29 08:13:25 -07:00
DownloadedDiveDelegate.qml QML UI: replace all checkboxes with our own 2017-07-26 01:39:26 +09:00
DownloadFromDiveComputer.qml mobile: enable switching BT on/off during session. 2017-10-12 09:43:40 +02:00
GpsList.qml QML UI: GPS: remove header 2017-08-07 00:52:32 -07: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.qml: fix weird MouseArea bug in MapItemView 2017-10-15 17:28:39 -08: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 QML UI: cleanup some whitespace and string formatting 2017-09-29 08:13:25 -07: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 QML UI: cleanup some whitespace and string formatting 2017-09-29 08:13:25 -07:00
ThemeTest.qml Add SPDX header to mobile widgets and QML files 2017-04-29 13:32:55 -07:00