@@ -120,7 +120,6 @@ FocusScope {
120 property bool fullyCovered: panel.indicators.fullyOpened && shell.width <= panel.indicatorsMenuWidth
120 property bool fullyCovered: panel.indicators.fullyOpened && shell.width <= panel.indicatorsMenuWidth
122 readonly property bool applicationRunning: ApplicationManager.focusedApplicationId.length > 0
122 readonly property bool applicationRunning: ApplicationManager.focusedApplicationId.length > 0
123− onApplicationRunningChanged: print("***************+ application running", applicationRunning)
125 // Whether the user should see the topmost application surface (if there's one at all).
124 // Whether the user should see the topmost application surface (if there's one at all).
126 readonly property bool applicationSurfaceShouldBeSeen: applicationRunning && !stages.painting
125 readonly property bool applicationSurfaceShouldBeSeen: applicationRunning && !stages.painting
@@ -129,9 +128,6 @@ FocusScope {
129 // through the translucent parts of the shell surface.
128 // through the translucent parts of the shell surface.
130 visible: !fullyCovered && !applicationSurfaceShouldBeSeen
129 visible: !fullyCovered && !applicationSurfaceShouldBeSeen
132− onVisibleChanged: print("hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", visible, fullyCovered, applicationSurfaceShouldBeSeen,
133− applicationRunning, stages.fullyHidden, stages.painting)
135 CrossFadeImage {
131 CrossFadeImage {
136 id: backgroundImage
132 id: backgroundImage
137 objectName: "backgroundImage"
133 objectName: "backgroundImage"
@@ -197,6 +193,7 @@ FocusScope {
197 property bool fullyHidden: !shown && x == width
193 property bool fullyHidden: !shown && x == width
199 property bool painting: applicationsDisplayLoader.item ? applicationsDisplayLoader.item.painting : false
195 property bool painting: applicationsDisplayLoader.item ? applicationsDisplayLoader.item.painting : false
196+ property bool fullscreen: applicationsDisplayLoader.item ? applicationsDisplayLoader.item.fullscreen : false
201 available: !greeter.shown
198 available: !greeter.shown
202 hides: [panel.indicators]
199 hides: [panel.indicators]
@@ -436,7 +433,8 @@ FocusScope {
437 property string focusedAppId: ApplicationManager.focusedApplicationId
434 property string focusedAppId: ApplicationManager.focusedApplicationId
438 property var focusedApplication: ApplicationManager.findApplication(focusedAppId)
435 property var focusedApplication: ApplicationManager.findApplication(focusedAppId)
436+ fullscreenMode: stages.painting ? stages.fullscreen :
439− fullscreenMode: focusedApplication && focusedApplication.fullscreen && !greeter.shown && !lockscreen.shown
437+ focusedApplication && focusedApplication.fullscreen && !greeter.shown && !lockscreen.shown
440 searchVisible: !greeter.shown && !lockscreen.shown && dash.shown
438 searchVisible: !greeter.shown && !lockscreen.shown && dash.shown
442 InputFilterArea {
440 InputFilterArea {