reset when there's no more notifications around
commit7151eb1abdc753e131244185f1bd36da3130d0e7
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateFri 19 Aug 2016, 11:16 (10 years ago)
parentbfd67b6
qml/Notifications/Notifications.qml+2
@@ -78,6 +78,8 @@ ListView {
7878 //layer.enabled: add.running || remove.running || populate.running
7979 }
8080
81+ onCountChanged: if (count == 0) topmostIsFullscreen = false; // reset
82+
8183 // FIXME: disabled all transitions because of LP: #1354406 workaround
8284 /*populate: Transition {
8385 UbuntuNumberAnimation {
qml/Shell.qml+1−1
@@ -86,7 +86,7 @@ StyledItem {
8686 if (startingUp) {
8787 // Ensure we don't rotate during start up
8888 return Qt.PrimaryOrientation;
89− } else if (showingGreeter) {
89+ } else if (showingGreeter || notifications.topmostIsFullscreen) {
9090 return Qt.PrimaryOrientation;
9191 } else if (applicationsDisplayLoader.item) {
9292 return shell.orientations.map(applicationsDisplayLoader.item.supportedOrientations);