Index: sources/gui/qml/KeyboardItem.qml =================================================================== diff -u -r5f00168c6618b8d605ce31086e5c36896e529757 -rcafc3bab7dc248d01587b7518d47125641608008 --- sources/gui/qml/KeyboardItem.qml (.../KeyboardItem.qml) (revision 5f00168c6618b8d605ce31086e5c36896e529757) +++ sources/gui/qml/KeyboardItem.qml (.../KeyboardItem.qml) (revision cafc3bab7dc248d01587b7518d47125641608008) @@ -71,13 +71,26 @@ Behavior on y { NumberAnimation { duration: Variables.keybardAnimationDuration } } + // when an alarm is active then alarm covers the keyboard + // to avoid that keyboard moved a little higher + // because the keyboard height is calculated by InputPanel itself and can not be set, + // a gap beetween the bottom of the keyboard and the screen. + // the rectangle _bottomFiller is to fill that gap + Rectangle { id: _bottomFiller + height : Variables.minVGap + color : "black" // InputPanel background color. + anchors.left : _root.left + anchors.right : _root.right + anchors.top : _root.bottom + } + Rectangle { id: _background visible : Qt.inputMethod.visible - y : 0 z : -1 width : Variables.applicationWidth height : _root.height anchors.horizontalCenter: _root.horizontalCenter + anchors.bottom : _root.bottom color : "black" }