Index: sources/gui/qml/AlarmItem.qml =================================================================== diff -u -rf8b74fc25bbcbc5bd4efba33a84695dee0813ce3 -reaf21ffe52c818b4c8abdb2084582ada9dc78ceb --- sources/gui/qml/AlarmItem.qml (.../AlarmItem.qml) (revision f8b74fc25bbcbc5bd4efba33a84695dee0813ce3) +++ sources/gui/qml/AlarmItem.qml (.../AlarmItem.qml) (revision eaf21ffe52c818b4c8abdb2084582ada9dc78ceb) @@ -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()