on xenial help sign in
fix unsnapping a maximized window from the panel

load the menubar only if the call hint isn't active

commitb3745d6b8bdcd7ab7b3dabd5d3533cddd2839bf7 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateFri 10 Mar 2017, 13:14 (10 years ago) parent983cd37
1 file changed+2−1
qml/Panel/Panel.qml+2−1
qml/Panel/Panel.qml+2−1
@@ -207,7 +207,7 @@ Item {
207207 opacity: d.showPointerMenu ? 1 : 0
208208 visible: opacity != 0
209209 Behavior on opacity { UbuntuNumberAnimation { duration: UbuntuAnimation.SnapDuration } }
210− active: __applicationMenus.model
210+ active: __applicationMenus.model && !callHint.visible
211211
212212 width: parent.width - windowControlButtons.width - units.gu(2) - __indicators.barWidth
213213
@@ -233,6 +233,7 @@ Item {
233233 }
234234
235235 onDoubleClicked: PanelState.restoreClicked()
236+ onPressed: decorationMouseArea.onPressed(mouse)
236237 }
237238 }
238239 }