@@ -169,11 +169,6 @@ Item {
169 left: parent.left
169 left: parent.left
170 leftMargin: units.gu(0.5)
170 leftMargin: units.gu(0.5)
173− running: scope.searchInProgress && searchField.text !== ""
174− opacity: running ? 1 : 0
176− Behavior on opacity { NumberAnimation { duration: UbuntuAnimation.SnapDuration; easing.type: Easing.Linear } }
@@ -187,9 +182,6 @@ Item {
187 width: units.gu(3)
182 width: units.gu(3)
188 height: units.gu(3)
183 height: units.gu(3)
189 visible: opacity > 0
184 visible: opacity > 0
190− opacity: searchIndicator.running ? 0 : 1
192− Behavior on opacity { NumberAnimation { duration: UbuntuAnimation.SnapDuration; easing.type: Easing.Linear } }
@@ -208,6 +200,35 @@ Item {
208 onActiveFocusChanged: {
200 onActiveFocusChanged: {
209 if (!activeFocus) searchContainer.closePopover()
201 if (!activeFocus) searchContainer.closePopover()
207+ when: scope.searchInProgress && searchField.text !== ""
208+ PropertyChanges { target: searchIndicator; running: true; opacity: 1 }
209+ PropertyChanges { target: primaryImage; opacity: 0 }
212+ PropertyChanges { target: searchIndicator; running: true; opacity: 1 }
213+ PropertyChanges { target: primaryImage; opacity: 0 }
220+ SequentialAnimation {
221+ NumberAnimation { targets: primaryImage; property: opacity; duration: UbuntuAnimation.SlowDuration; easing.type: Easing.Linear }
222+ NumberAnimation { targets: searchIndicator; property: opacity; duration: UbuntuAnimation.SlowDuration; easing.type: Easing.Linear }
226+ SequentialAnimation {
227+ NumberAnimation { targets: searchIndicator; property: opacity; duration: UbuntuAnimation.SlowDuration; easing.type: Easing.Linear }
228+ NumberAnimation { targets: primaryImage; property: opacity; duration: UbuntuAnimation.SlowDuration; easing.type: Easing.Linear }
213 states: [
234 states: [