@@ -28,7 +28,9 @@ import "Dash"
28import "Greeter"
28import "Greeter"
29import "Launcher"
29import "Launcher"
30import "Panel"
30import "Panel"
31import "Components"
32import "Components"
32import "SideStage"
34import "SideStage"
33import "Notifications"
35import "Notifications"
34import Unity.Notifications 1.0 as NotificationBackend
36import Unity.Notifications 1.0 as NotificationBackend
@@ -401,7 +403,7 @@ FocusScope {
402 readonly property int backgroundTopMargin: -panel.panelHeight
404 readonly property int backgroundTopMargin: -panel.panelHeight
404− hides: [launcher, panel.indicators]
406+ hides: [launcher, panel.indicators, hud]
405 shown: false
407 shown: false
406 enabled: true
408 enabled: true
407 showAnimation: StandardAnimation { property: "opacity"; to: 1 }
409 showAnimation: StandardAnimation { property: "opacity"; to: 1 }
@@ -456,7 +458,7 @@ FocusScope {
456 objectName: "greeter"
458 objectName: "greeter"
458 available: true
460 available: true
459− hides: [launcher, panel.indicators]
461+ hides: [launcher, panel.indicators, hud]
460 shown: true
462 shown: true
462 defaultBackground: shell.background
464 defaultBackground: shell.background
@@ -543,7 +545,7 @@ FocusScope {
543 InputFilterArea {
545 InputFilterArea {
544 anchors.fill: parent
546 anchors.fill: parent
545 blockInput: !applicationFocused || greeter.shown || lockscreen.shown || launcher.shown
547 blockInput: !applicationFocused || greeter.shown || lockscreen.shown || launcher.shown
546− || panel.indicators.shown
548+ || panel.indicators.shown || hud.shown
549 Connections {
551 Connections {
@@ -605,6 +607,48 @@ FocusScope {
613+ width: parent.width > units.gu(60) ? units.gu(40) : parent.width
614+ height: parent.height
616+ available: !greeter.shown && !panel.indicators.shown && !lockscreen.shown && edgeDemo.dashEnabled
618+ showAnimation: StandardAnimation { property: "y"; duration: hud.showableAnimationDuration; to: 0; easing.type: Easing.Linear }
619+ hideAnimation: StandardAnimation { property: "y"; duration: hud.showableAnimationDuration; to: hudRevealer.closedValue; easing.type: Easing.Linear }
622+ target: shell.applicationManager
623+ onMainStageFocusedApplicationChanged: hud.hide()
624+ onSideStageFocusedApplicationChanged: hud.hide()
633+ anchors.left: hud.left
634+ height: parent.height
635+ target: hud.revealerTarget
638+ direction: Qt.RightToLeft
639+ orientation: Qt.Vertical
640+ handleSize: hud.handleHeight
641+ onCloseClicked: target.hide()
647+ anchors.fill: parent
648+ enabled: hud.available
649+ applicationIsOnForeground: applicationFocused
608 InputFilterArea {
652 InputFilterArea {
609 blockInput: launcher.shown
653 blockInput: launcher.shown
610 anchors {
654 anchors {
@@ -649,6 +693,8 @@ FocusScope {
649 onShownChanged: {
693 onShownChanged: {
650 if (shown) {
694 if (shown) {
651 panel.indicators.hide()
695 panel.indicators.hide()