Merge lp:~aacid/unity8/fixPageHeader into lp:unity8

Proposed by Albert Astals Cid
Status: Merged
Approved by: Michael Zanetti
Approved revision: 1048
Merged at revision: 1063
Proposed branch: lp:~aacid/unity8/fixPageHeader
Merge into: lp:unity8
Diff against target: 29 lines (+5/-3)
2 files modified
qml/Dash/GenericScopeView.qml (+4/-0)
qml/Dash/PreviewListView.qml (+1/-3)
To merge this branch: bzr merge lp:~aacid/unity8/fixPageHeader
Reviewer Review Type Date Requested Status
Michael Zanetti (community) Approve
PS Jenkins bot (community) continuous-integration Needs Fixing
Review via email: mp+227180@code.launchpad.net

Commit message

Fix name, There's nothing called pageHeader in this file

Description of the change

* Are there any related MPs required for this MP to build/function as expected?
Ni

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

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

 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A

 * If you changed the UI, has there been a design review?
N/A

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

But there is a pageHeader in GSV that is most probably what we want to be clearning sine the page header of this file isn't even searchable :S

Revision history for this message
Michael Zanetti (mzanetti) wrote :

> But there is a pageHeader in GSV that is most probably what we want to be
> clearning sine the page header of this file isn't even searchable :S

Yeah, seems you're right. But in that case, this call should rather be inside GSV where the preview is opened. And dropped completely from here.

review: Needs Fixing
lp:~aacid/unity8/fixPageHeader updated
1048. By Albert Astals Cid

Real fix

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: Needs Fixing (continuous-integration)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

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

Yip yip

 * Did CI run pass? If not, please explain why.

No. qmltest VM seems borked atm. Tests seem to pass fine here.

review: Approve

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 2014-07-14 08:05:29 +0000
+++ qml/Dash/GenericScopeView.qml 2014-07-17 13:11:00 +0000
@@ -361,6 +361,10 @@
361 width: parent.width361 width: parent.width
362 height: parent.height362 height: parent.height
363 anchors.left: categoryView.right363 anchors.left: categoryView.right
364
365 onOpenChanged: {
366 pageHeader.unfocus();
367 }
364 }368 }
365369
366}370}
367371
=== modified file 'qml/Dash/PreviewListView.qml'
--- qml/Dash/PreviewListView.qml 2014-07-08 08:30:46 +0000
+++ qml/Dash/PreviewListView.qml 2014-07-17 13:11:00 +0000
@@ -73,9 +73,7 @@
73 property bool open: false73 property bool open: false
7474
75 onOpenChanged: {75 onOpenChanged: {
76 if (open) {76 if (!open) {
77 pageHeader.unfocus();
78 } else {
79 // Cancel any pending preview requests or actions77 // Cancel any pending preview requests or actions
80 if (previewListView.currentItem && previewListView.currentItem.previewData !== undefined) {78 if (previewListView.currentItem && previewListView.currentItem.previewData !== undefined) {
81 previewListView.currentItem.previewData.cancelAction();79 previewListView.currentItem.previewData.cancelAction();

Subscribers

People subscribed via source and target branches