on xenial help sign in
reset when there's no more notifications around
7151eb1Lukáš Tinkl
qml/Notifications/Notifications.qml+2
@@ -78,6 +78,8 @@ ListView {
78 //layer.enabled: add.running || remove.running || populate.running
78 //layer.enabled: add.running || remove.running || populate.running
79 }
79 }
80
80
81+ onCountChanged: if (count == 0) topmostIsFullscreen = false; // reset
82+
81 // FIXME: disabled all transitions because of LP: #1354406 workaround
83 // FIXME: disabled all transitions because of LP: #1354406 workaround
82 /*populate: Transition {
84 /*populate: Transition {
83 UbuntuNumberAnimation {
85 UbuntuNumberAnimation {
qml/Shell.qml+1−1
@@ -86,7 +86,7 @@ StyledItem {
86 if (startingUp) {
86 if (startingUp) {
87 // Ensure we don't rotate during start up
87 // Ensure we don't rotate during start up
88 return Qt.PrimaryOrientation;
88 return Qt.PrimaryOrientation;
89− } else if (showingGreeter) {
89+ } else if (showingGreeter || notifications.topmostIsFullscreen) {
90 return Qt.PrimaryOrientation;
90 return Qt.PrimaryOrientation;
91 } else if (applicationsDisplayLoader.item) {
91 } else if (applicationsDisplayLoader.item) {
92 return shell.orientations.map(applicationsDisplayLoader.item.supportedOrientations);
92 return shell.orientations.map(applicationsDisplayLoader.item.supportedOrientations);