subsurface/mobile-widgets/qml
Dirk Hohndel 085b5ff0db mobile: improve Android back key behavior
There are two places where we try to prevemt unintended app exits.
Once, in the onBackRequested signal handler on the dive list. This was
missing special handling for the situation where one of the drawers was
open.
The second place is the onClosing signal handler in main.qml. Naively I
thought that this was enough to catch all cases where we were about to
exit the app, but apparently an explicit manager.quit() is a bit too
forceful and doesn't get to that signal handler.

With this commit we check for open drawers in both places. Belts and
suspenders, I guess.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-03-31 08:42:20 -07:00
..
icons mobile UI: six new icons 2020-03-10 09:25:57 -07:00
About.qml mobile-widgets/qml: add TemplateButton 2020-02-03 17:29:58 -08:00
CloudCredentials.qml mobile-widgets/qml: add TemplateButton 2020-02-03 17:29:58 -08:00
CopySettings.qml
DiveDetails.qml mobile UI: add create trip to DiveDetails context menu 2020-03-26 16:48:48 -07:00
DiveDetailsEdit.qml mobile/undo: create EditDive command 2020-03-10 09:25:57 -07:00
DiveDetailsView.qml mobile/dive-details: remove the redundant 'map it' button 2020-03-31 08:42:20 -07:00
DiveList.qml mobile: improve Android back key behavior 2020-03-31 08:42:20 -07: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/summary: remove some debug output 2020-02-10 08:02:56 -08:00
DownloadedDiveDelegate.qml Mobile: use appendTextToLog to get timestamps in logs 2019-11-03 04:02:00 -08:00
DownloadFromDiveComputer.qml mobile/DCdownload: try harder to get the right elements selected 2020-03-21 13:27:00 -07:00
Export.qml mobile/export: fix invalid reference 2020-03-12 07:07:48 -07:00
GpsList.qml
HintsTextEdit.qml
Log.qml mobile-widgets/qml: columnWidth undefined 2020-01-18 12:44:05 -08:00
main.qml mobile: improve Android back key behavior 2020-03-31 08:42:20 -07: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: stop the use of dark icon theme 2020-03-21 13:27:00 -07:00
qmldir mobile-widgets/qml: add qmldir to include map-widget 2019-11-26 09:44:13 -08:00
qtquickcontrols2.conf
Settings.qml mobile/settings: attempt to fix the layout 2020-03-21 13:27:00 -07:00
SsrfCheckBox.qml
SsrfSwitch.qml
SsrfTextField.qml Mobile: use appendTextToLog to get timestamps in logs 2019-11-03 04:02:00 -08:00
StartPage.qml mobile-widgets/qml: use strongly typed CloudStatus 2020-01-18 17:35:16 -08:00
TemplateButton.qml mobile-widgets/qml: add TemplateButton 2020-02-03 17:29:58 -08:00
TemplateCheckBox.qml mobile-widgets/qml: add TemplateCheckBox 2019-12-26 10:18:10 -08:00
TemplateComboBox.qml mobile-widgets: do not use fontmetric for height 2020-01-30 07:52:31 +02:00
TemplateLabel.qml mobile-widgets/qml: add background color property 2020-01-27 14:25:03 -08: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-widgets/qml: add TemplateRadioButton 2019-12-26 10:18:10 -08:00
TemplateSection.qml mobile-widgets: update design of TemplateSection 2020-01-25 17:25:54 -08:00
TemplateSpinBox.qml mobile-widgets: update design of TemplateSpinBox 2020-01-25 17:25:23 -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-widgets: switch to new subsurfaceTheme 2020-02-03 17:30:35 -08:00
TripDetails.qml mobile/cleanup: pageStack.pop() doesn't take a string argument 2020-03-26 11:49:46 -07:00