on xenial help sign in
OSKController should not be rotated.
9f11428Daniel d'Andrada
qml/Shell.qml−15
@@ -787,21 +787,6 @@ FocusScope {
787 value: "unity8"
787 value: "unity8"
788 }
788 }
789
789
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−
805 Label {
790 Label {
806 anchors.centerIn: parent
791 anchors.centerIn: parent
807 visible: applicationManager.fake
792 visible: applicationManager.fake
qml/ShellOrientator.qml+6−1
@@ -17,7 +17,7 @@
17import QtQuick 2.0
17import QtQuick 2.0
18import QtQuick.Window 2.0
18import QtQuick.Window 2.0
19import Ubuntu.Components 0.1
19import Ubuntu.Components 0.1
20−import Ubuntu.Gestures 0.1
20+import Unity.Application 0.1
21
21
22Item {
22Item {
23 id: orientator
23 id: orientator
@@ -31,7 +31,12 @@ Item {
31 orientationAngle: Screen.angleBetween(nativeOrientation, Screen.primaryOrientation)
31 orientationAngle: Screen.angleBetween(nativeOrientation, Screen.primaryOrientation)
32 transitionEnabled: false
32 transitionEnabled: false
33 Shell {
33 Shell {
34+ id: shell
34 anchors.fill: parent
35 anchors.fill: parent
35 }
36 }
36 }
37 }
38+
39+ OSKController {
40+ anchors.fill: parent // as needs to know the geometry of the shell
41+ }
37}
42}