Index: sources/gui/qml/AlarmItem.qml =================================================================== diff -u -r301c0a2101eb9374145ae274c8d91460fc9a6a62 -r6ef85d496dc5b1c5070ec24ddfbf9b7ca9b42606 --- sources/gui/qml/AlarmItem.qml (.../AlarmItem.qml) (revision 301c0a2101eb9374145ae274c8d91460fc9a6a62) +++ sources/gui/qml/AlarmItem.qml (.../AlarmItem.qml) (revision 6ef85d496dc5b1c5070ec24ddfbf9b7ca9b42606) @@ -31,6 +31,9 @@ * This item needs to work with the NotificationBar component. */ Item { id : _root + + readonly property bool _DEBUG_DISABLE_MAXIMIZE_: false // due to touch screen issue on some devices, the maximized alarm can't be minimized to see the screen underneath. + anchors.fill: parent VAlarmStatus { id: vAlarmStatus } @@ -59,9 +62,13 @@ // Look at the PowerItem as an example. if ( ! vAlarmStatus.hasAlarm ) return; - _alarmDialog .visible = true - _alarmListDialog.visible = false - _alarmBar .visible = false + if ( _root._DEBUG_DISABLE_MAXIMIZE_ ) { + alarmMinimize() + } else { + _alarmDialog .visible = true + _alarmListDialog.visible = false + _alarmBar .visible = false + } } function alarmList() { vAlarmActiveList.doRequest() @@ -116,7 +123,7 @@ minVisible : ! vAlarmStatus.alarm_Flag_noMinimize titleFading : vHDOperationMode.fault countDown : vTreatmentStop.countDown - countDownVisible : vHDTreatmentStates.txStop && vTreatmentStop.total + countDownVisible : vHDOperationMode.inTreatment && vHDTreatmentStates.txStop && vTreatmentStop.total onMuteClicked : vAlarmStatus.doSilence () onResumeClicked : vAlarmStatus.doUserActionResume ()