on xenial help sign in
don't show hud button when on dash+hidden sidestage app scenario
commit4263dd3cb60578be19c844cb1851d7858acdb7ee authorAlbert Astals <albert.astals@canonical.com> dateFri 21 Feb 2014, 14:56 (13 years ago) parent373ff40
1 file changed+1−3
qml/Shell.qml+1−3
qml/Shell.qml+1−3
@@ -83,8 +83,6 @@ FocusScope {
8383 applicationManager.setSideStageAppRect(sideStageAppRect);
8484 }
8585
86− readonly property bool applicationFocused: !!applicationManager.mainStageFocusedApplication
87− || !!applicationManager.sideStageFocusedApplication
8886 // Used for autopilot testing.
8987 readonly property string currentFocusedAppId: ApplicationManager.focusedApplicationId
9088
@@ -711,7 +709,7 @@ FocusScope {
711709 theHud: hud
712710 anchors.fill: parent
713711 enabled: hud.available
714− applicationIsOnForeground: applicationFocused
712+ applicationIsOnForeground: (stages.shown && mainStage.applications.count > 0) || (stages.shown && sideStage.shown)
715713 }
716714
717715 InputFilterArea {