on xenial help sign in
InputMethod stays in front of notifications or behind the launcher

Normally InputMethod is behind the launcher. But when a notification is being shown it's in front of them all so that you can type on it.

commit444b23cb1b2e577ff5fe1ad17c8975e92c21f34c authorDaniel d'Andrada <daniel.dandrada@canonical.com> dateWed 4 Jun 2014, 15:52 (12 years ago) parent097c240
1 file changed+5
qml/Shell.qml+5
qml/Shell.qml+5
@@ -242,6 +242,7 @@ FocusScope {
242242 InputMethod {
243243 id: inputMethod
244244 anchors.fill: parent
245+ z: notifications.useModal ? overlay.z + 1 : overlay.z - 1
245246 }
246247
247248 Connections {
@@ -428,6 +429,7 @@ FocusScope {
428429
429430 Item {
430431 id: overlay
432+ z: 10
431433
432434 anchors.fill: parent
433435
@@ -541,8 +543,10 @@ FocusScope {
541543 }
542544
543545 Label {
546+ id: alphaDisclaimerLabel
544547 anchors.centerIn: parent
545548 visible: ApplicationManager.fake ? ApplicationManager.fake : false
549+ z: overlay.z + 10
546550 text: "EARLY ALPHA\nNOT READY FOR USE"
547551 color: "lightgrey"
548552 opacity: 0.2
@@ -556,6 +560,7 @@ FocusScope {
556560
557561 EdgeDemo {
558562 id: edgeDemo
563+ z: alphaDisclaimerLabel.z + 10
559564 greeter: greeter
560565 launcher: launcher
561566 dash: dash