From bdd17a36b43cd8dbe83e62f3334759a04162d8e7 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 10 Jan 2017 16:39:02 +0100 Subject: [PATCH] fix(ui/modules/Common/Popup/DesktopPopup): replace `hide` call by `showMinimized` otherwise the popup is not visible on Ubuntu --- tests/ui/modules/Common/Popup/DesktopPopup.qml | 4 ++-- tests/ui/modules/Linphone/SmartSearchBar.qml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/ui/modules/Common/Popup/DesktopPopup.qml b/tests/ui/modules/Common/Popup/DesktopPopup.qml index e1f92cd7d..142bda69d 100644 --- a/tests/ui/modules/Common/Popup/DesktopPopup.qml +++ b/tests/ui/modules/Common/Popup/DesktopPopup.qml @@ -77,7 +77,7 @@ Item { to: 'opened' ScriptAction { - script: popup.show() + script: popup.showNormal() } NumberAnimation { @@ -101,7 +101,7 @@ Item { } ScriptAction { - script: popup.hide() + script: popup.showMinimized() } } } diff --git a/tests/ui/modules/Linphone/SmartSearchBar.qml b/tests/ui/modules/Linphone/SmartSearchBar.qml index 5738c5796..014c00016 100644 --- a/tests/ui/modules/Linphone/SmartSearchBar.qml +++ b/tests/ui/modules/Linphone/SmartSearchBar.qml @@ -34,7 +34,6 @@ SearchBox { // --------------------------------------------------------------------------- header: MouseArea { - height: { var height = SmartSearchBarStyle.header.addButtonHeight return defaultContact.visible ? height + searchBox.entryHeight : height