subsurface/mobile-widgets/qml
Dirk Hohndel 31a979371e mobile/hackery: try to prevent QLM race condition
Apparently in some cases there is a race condition where the action to
delete a dive is still running while a corresponding QML object (but not
that action itself) is being deleted, likely because the action is
becoming invisible once the dive is actually deleted. I'm speculating
that this may be somewhere inside the delegates for the repeater showing
the actions in the context drawer.

This commit is a bit of a convoluted hack. We create a property to hold
the dive id to be deleted and then call a function to delete that dive
via a timer. This of course creates a blatant race condition in itself -
but the user is extremely unlikely to be able to use the context menu to
delete two different dives within 100ms. The code tries to keep that
race window as small as possible.

There has got to be a better way to do this.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2021-01-20 08:35:07 -08:00
..
icons mobile UI: six new icons 2020-03-10 09:25:57 -07:00
About.qml mobile/UI: fix theming of About page 2020-12-23 09:44:39 -08:00
CloudCredentials.qml mobile/UI: cloud credentials follow our theming 2020-12-20 17:08:21 -08:00
CopySettings.qml Mobile: UI for selecting what to copy-paste 2018-12-21 09:13:37 +02:00
DiveDetails.qml mobile/UI: move dive delete to context menu 2021-01-19 12:42:47 -08:00
DiveDetailsEdit.qml mobile/cleanup: fix cylinder visibility in dive edit 2021-01-19 12:42:47 -08:00
DiveDetailsView.qml mobile/UI: add signal to redraw profile 2021-01-10 15:57:39 -08:00
DiveList.qml mobile/hackery: try to prevent QLM race condition 2021-01-20 08:35:07 -08:00
DivePlannerEdit.qml mobile-widgets/qml: use Kirigami Units instead of hardcoded values 2020-01-24 20:20:41 -08:00
DivePlannerManager.qml mobile-widgets/qml: use Kirigami Units instead of hardcoded values 2020-01-24 20:20:41 -08:00
DivePlannerSetup.qml Mobile UI: fix typo in disabled planner setup 2020-03-04 08:03:44 -08:00
DivePlannerView.qml mobile-widgets/qml: use Kirigami Units instead of hardcoded values 2020-01-24 20:20:41 -08:00
DiveSummary.qml mobile/UI: small adjustments, using the slim combo box 2021-01-12 08:31:35 -08:00
DownloadedDiveDelegate.qml mobile/UI: consolidate to a single check box 2021-01-01 11:35:39 -08:00
DownloadFromDiveComputer.qml mobile/UI: consolidate to a single check box 2021-01-01 11:35:39 -08:00
Export.qml mobile/export: fix invalid reference 2020-03-12 07:07:48 -07:00
GpsList.qml QML UI, trivial: set proper background color GPS list 2018-10-07 17:43:34 +03:00
HintsTextEdit.qml
Log.qml mobile-widgets/qml: columnWidth undefined 2020-01-18 12:44:05 -08:00
main.qml mobile/UI: correctly update title bar font size 2021-01-19 12:42:48 -08:00
MapPage.qml Mobile: don't make sub-pages fill the parent 2019-10-13 11:32:27 -07:00
mobile-resources.qrc mobile/UI: add another variation of the combo box 2021-01-12 08:31:35 -08:00
qmldir mobile-widgets/qml: add qmldir to include map-widget 2019-11-26 09:44:13 -08:00
qtquickcontrols2.conf
RecoverCache.qml mobile: add option to merge local cloud cache data 2020-06-07 19:47:52 -07:00
Settings.qml mobile/UI: simplify and cleanup Settings 2021-01-19 12:42:47 -08:00
SsrfSwitch.qml Mobile UI: make SsrfSwitch resizable 2018-10-21 14:43:41 -04:00
SsrfTextField.qml mobile/edit: fix broken screen repositioning 2021-01-19 12:42:47 -08:00
StartPage.qml mobile/UI: cloud credentials follow our theming 2020-12-20 17:08:21 -08:00
StatisticsPage.qml mobile/statistics: force redraw after rotation 2021-01-19 12:42:48 -08:00
TemplateButton.qml mobile/UI: offer more font sizes 2021-01-19 12:35:29 -08:00
TemplateCheckBox.qml mobile/UI: consolidate to a single check box 2021-01-01 11:35:39 -08:00
TemplateComboBox.qml mobile/UI: improve layout of styled ComboBox and TextField 2021-01-19 12:35:29 -08:00
TemplateEditComboBox.qml mobile/UI: add template for editable combo box 2021-01-01 11:35:39 -08:00
TemplateLabel.qml mobile: reduce vertical white space around labels 2020-05-14 12:57:08 -07:00
TemplateLabelSmall.qml mobile: add smaller, vertically dense template label 2020-05-14 12:57:08 -07:00
TemplateLine.qml mobile-widgets/qml: add TemplateLine 2020-01-19 11:50:19 -08:00
TemplatePage.qml mobile UI: set correct width for TeplatePage 2020-02-06 21:45:00 -08:00
TemplateRadioButton.qml mobile UI: style check boxes and radio boxes 2020-12-20 10:51:18 -08:00
TemplateSection.qml mobile-widgets: update design of TemplateSection 2020-01-25 17:25:54 -08:00
TemplateSlimComboBox.qml mobile/UI: improve layout of styled ComboBox and TextField 2021-01-19 12:35:29 -08:00
TemplateSpinBox.qml mobile/UI: improve theming of spin box 2020-12-23 09:44:39 -08:00
TemplateTextField.qml mobile-widgets/qml: add TemplateTextField 2020-01-19 11:50:10 -08:00
TemplateTitle.qml mobile-widgets/qml: correct spelling error 2020-01-27 14:25:03 -08:00
ThemeTest.qml mobile/cleanup: make theme test page work in dark mode 2021-01-19 12:42:48 -08:00
TripDetails.qml mobile/UI: initialize Kirigami theme to use our colors 2020-12-23 09:44:39 -08:00