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
1=== modified file 'qml/Dash/GenericScopeView.qml'
2--- qml/Dash/GenericScopeView.qml 2014-07-14 08:05:29 +0000
3+++ qml/Dash/GenericScopeView.qml 2014-07-17 13:11:00 +0000
4@@ -361,6 +361,10 @@
5 width: parent.width
6 height: parent.height
7 anchors.left: categoryView.right
8+
9+ onOpenChanged: {
10+ pageHeader.unfocus();
11+ }
12 }
13
14 }
15
16=== modified file 'qml/Dash/PreviewListView.qml'
17--- qml/Dash/PreviewListView.qml 2014-07-08 08:30:46 +0000
18+++ qml/Dash/PreviewListView.qml 2014-07-17 13:11:00 +0000
19@@ -73,9 +73,7 @@
20 property bool open: false
21
22 onOpenChanged: {
23- if (open) {
24- pageHeader.unfocus();
25- } else {
26+ if (!open) {
27 // Cancel any pending preview requests or actions
28 if (previewListView.currentItem && previewListView.currentItem.previewData !== undefined) {
29 previewListView.currentItem.previewData.cancelAction();

Subscribers

People subscribed via source and target branches