Merge lp:~feng-kylin/unity8/fix-lp1379327 into lp:unity8

Proposed by handsome_feng
Status: Merged
Approved by: Albert Astals Cid
Approved revision: 1583
Merged at revision: 1598
Proposed branch: lp:~feng-kylin/unity8/fix-lp1379327
Merge into: lp:unity8
Diff against target: 31 lines (+3/-0)
2 files modified
qml/Dash/GenericScopeView.qml (+1/-0)
qml/Dash/PageHeader.qml (+2/-0)
To merge this branch: bzr merge lp:~feng-kylin/unity8/fix-lp1379327
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Albert Astals Cid (community) Approve
Review via email: mp+248215@code.launchpad.net

Commit message

makes the header fully reveal when tapping the search icon.

Description of the change

tapping search icon in header makes the header fully reveal.

To post a comment you must log in.
Revision history for this message
Albert Astals Cid (aacid) wrote :

What we need to do is show the header, not move to the beginning of the list.

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
handsome_feng (feng-kylin) wrote :

oh, yes, i made a mistake.thanks.

lp:~feng-kylin/unity8/fix-lp1379327 updated
1583. By handsome_feng

use showHeader() instead of positionAtBeginning()

Revision history for this message
MichaƂ Sawicz (saviq) wrote :

Feng, we'll need you to sign the Contributor Agreement to accept your contribution. Please read http://www.ubuntu.com/legal/contributors

Revision history for this message
handsome_feng (feng-kylin) wrote :

> Feng, we'll need you to sign the Contributor Agreement to accept your
> contribution. Please read http://www.ubuntu.com/legal/contributors

i have done it , thanks.

Revision history for this message
Albert Astals Cid (aacid) wrote :

Thanks for the patch :)

 * Did you perform an exploratory manual test run of the code change and any related functionality?
Yes

 * Did CI run pass? If not, please explain why.
No, unrelated known broken tests

 * Did you make sure that the branch does not contain spurious tags?
Yes

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'qml/Dash/GenericScopeView.qml'
--- qml/Dash/GenericScopeView.qml 2015-01-13 11:54:11 +0000
+++ qml/Dash/GenericScopeView.qml 2015-02-05 01:34:27 +0000
@@ -565,6 +565,7 @@
565 onBackClicked: scopeView.backClicked()565 onBackClicked: scopeView.backClicked()
566 onSettingsClicked: subPageLoader.openSubPage("settings")566 onSettingsClicked: subPageLoader.openSubPage("settings")
567 onFavoriteClicked: scopeView.scope.favorite = !scopeView.scope.favorite567 onFavoriteClicked: scopeView.scope.favorite = !scopeView.scope.favorite
568 onSearchTextFieldFocused: scopeView.showHeader()
568 }569 }
569 }570 }
570 }571 }
571572
=== modified file 'qml/Dash/PageHeader.qml'
--- qml/Dash/PageHeader.qml 2014-12-09 15:34:34 +0000
+++ qml/Dash/PageHeader.qml 2015-02-05 01:34:27 +0000
@@ -51,6 +51,7 @@
51 signal storeClicked()51 signal storeClicked()
52 signal settingsClicked()52 signal settingsClicked()
53 signal favoriteClicked()53 signal favoriteClicked()
54 signal searchTextFieldFocused()
5455
55 onScopeStyleChanged: refreshLogo()56 onScopeStyleChanged: refreshLogo()
56 onSearchQueryChanged: {57 onSearchQueryChanged: {
@@ -228,6 +229,7 @@
228229
229 onActiveFocusChanged: {230 onActiveFocusChanged: {
230 if (activeFocus) {231 if (activeFocus) {
232 root.searchTextFieldFocused();
231 root.openSearchHistory();233 root.openSearchHistory();
232 }234 }
233 }235 }

Subscribers

People subscribed via source and target branches