on xenial help sign in
OSKController should not be rotated.

As it works with coordinates in primaryDisplay orientation. I.e., in non-rotated coordinates. Also removed a redundant MouseArea. OSKController already has one internally

commit9f11428a2c663ab7f9f7fd375ce4d49d2772e812 authorDaniel d'Andrada <daniel.dandrada@canonical.com> dateFri 14 Feb 2014, 12:51 (13 years ago) parente297c21
2 files changed+6−16
qml/Shell.qml−15 qml/ShellOrientator.qml+6−1
qml/Shell.qml−15
@@ -787,21 +787,6 @@ FocusScope {
787787 value: "unity8"
788788 }
789789
790− OSKController {
791− anchors.topMargin: panel.panelHeight
792− anchors.fill: parent // as needs to know the geometry of the shell
793− }
794−
795− //FIXME: This should be handled in the input stack, keyboard shouldnt propagate
796− MouseArea {
797− anchors.bottom: parent.bottom
798− anchors.left: parent.left
799− anchors.right: parent.right
800− height: shell.applicationManager ? shell.applicationManager.keyboardHeight : 0
801−
802− enabled: shell.applicationManager && shell.applicationManager.keyboardVisible
803− }
804−
805790 Label {
806791 anchors.centerIn: parent
807792 visible: applicationManager.fake
qml/ShellOrientator.qml+6−1
@@ -17,7 +17,7 @@
1717import QtQuick 2.0
1818import QtQuick.Window 2.0
1919import Ubuntu.Components 0.1
20−import Ubuntu.Gestures 0.1
20+import Unity.Application 0.1
2121
2222Item {
2323 id: orientator
@@ -31,7 +31,12 @@ Item {
3131 orientationAngle: Screen.angleBetween(nativeOrientation, Screen.primaryOrientation)
3232 transitionEnabled: false
3333 Shell {
34+ id: shell
3435 anchors.fill: parent
3536 }
3637 }
38+
39+ OSKController {
40+ anchors.fill: parent // as needs to know the geometry of the shell
41+ }
3742}