Merge lp:~aacid/unity8/activtion-progress into lp:unity8

Proposed by Albert Astals Cid
Status: Merged
Approved by: Andrea Cimitan
Approved revision: 2145
Merged at revision: 2209
Proposed branch: lp:~aacid/unity8/activtion-progress
Merge into: lp:unity8
Diff against target: 79 lines (+10/-4)
6 files modified
debian/control (+1/-1)
qml/Dash/GenericScopeView.qml (+1/-1)
qml/Dash/ScopesList.qml (+1/-1)
tests/mocks/Unity/CMakeLists.txt (+1/-1)
tests/mocks/Unity/fake_scope.cpp (+5/-0)
tests/mocks/Unity/fake_scope.h (+1/-0)
To merge this branch: bzr merge lp:~aacid/unity8/activtion-progress
Reviewer Review Type Date Requested Status
Andrea Cimitan (community) Approve
PS Jenkins bot (community) continuous-integration Needs Fixing
Unity8 CI Bot continuous-integration Needs Fixing
Review via email: mp+284421@code.launchpad.net

Commit message

Hook the new scope.activationInProgress property

Description of the change

* Are there any related MPs required for this MP to build/function as expected?
https://code.launchpad.net/~stolowski/unity-api/activation-progress for building
https://code.launchpad.net/~stolowski/unity-scopes-shell/activation-progress for it actually doing things

 * Did you perform an exploratory manual test run of your code change and any related functionality?
kyleN tested this with his scope and confirmed it works

 * 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?
Simple enough, not needed

 * 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
Unity8 CI Bot (unity8-ci-bot) wrote :

FAILED: Continuous integration, rev:2145
https://unity8-jenkins.ubuntu.com/job/lp-unity8-1-ci/226/
Executed test runs:

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity8-1-ci/226/rebuild

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
Andrea Cimitan (cimi) wrote :

 * Did you perform an exploratory manual test run of the code change and any related functionality?
y
 * Did CI run pass? If not, please explain why.
requires other deps
 * Did you make sure that the branch does not contain spurious tags?
y

review: Approve
lp:~aacid/unity8/activtion-progress updated
2146. By Albert Astals Cid

Merge trunk

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2016-02-12 00:12:30 +0000
3+++ debian/control 2016-02-19 11:49:09 +0000
4@@ -134,7 +134,7 @@
5 unity-application-impl-13,
6 unity-notifications-impl-3,
7 unity-plugin-scopes | unity-scopes-impl,
8- unity-scopes-impl-9,
9+ unity-scopes-impl-10,
10 unity8-fake-env | unity-application-impl,
11 ${misc:Depends},
12 Breaks: unity8 (<< 7.86),
13
14=== modified file 'qml/Dash/GenericScopeView.qml'
15--- qml/Dash/GenericScopeView.qml 2016-02-04 13:36:51 +0000
16+++ qml/Dash/GenericScopeView.qml 2016-02-19 11:49:09 +0000
17@@ -47,7 +47,7 @@
18 style: scope ? scope.customizations : {}
19 }
20
21- readonly property bool processing: scope ? scope.searchInProgress || subPageLoader.processing : false
22+ readonly property bool processing: scope ? (scope.searchInProgress || scope.activationInProgress || subPageLoader.processing) : false
23
24 signal backClicked()
25
26
27=== modified file 'qml/Dash/ScopesList.qml'
28--- qml/Dash/ScopesList.qml 2015-10-26 08:53:52 +0000
29+++ qml/Dash/ScopesList.qml 2016-02-19 11:49:09 +0000
30@@ -24,7 +24,7 @@
31 property var scope: null
32
33 // Properties used by parent
34- readonly property bool processing: scope ? scope.searchInProgress : false
35+ readonly property bool processing: scope ? (scope.searchInProgress || scope.activationInProgress) : false
36
37 // Signals
38 signal backClicked()
39
40=== modified file 'tests/mocks/Unity/CMakeLists.txt'
41--- tests/mocks/Unity/CMakeLists.txt 2016-01-13 10:11:40 +0000
42+++ tests/mocks/Unity/CMakeLists.txt 2016-02-19 11:49:09 +0000
43@@ -8,7 +8,7 @@
44 add_subdirectory(Screens)
45
46 pkg_search_module(GOBJECT gobject-2.0 REQUIRED)
47-pkg_check_modules(SCOPES_API REQUIRED unity-shell-scopes=9)
48+pkg_check_modules(SCOPES_API REQUIRED unity-shell-scopes=10)
49
50 include_directories(
51 ${CMAKE_CURRENT_BINARY_DIR}
52
53=== modified file 'tests/mocks/Unity/fake_scope.cpp'
54--- tests/mocks/Unity/fake_scope.cpp 2015-10-14 12:46:35 +0000
55+++ tests/mocks/Unity/fake_scope.cpp 2016-02-19 11:49:09 +0000
56@@ -87,6 +87,11 @@
57 return m_searching;
58 }
59
60+bool Scope::activationInProgress() const
61+{
62+ return false;
63+}
64+
65 bool Scope::favorite() const
66 {
67 return m_favorite;
68
69=== modified file 'tests/mocks/Unity/fake_scope.h'
70--- tests/mocks/Unity/fake_scope.h 2015-10-14 12:46:35 +0000
71+++ tests/mocks/Unity/fake_scope.h 2016-02-19 11:49:09 +0000
72@@ -42,6 +42,7 @@
73 QString searchHint() const override;
74 QString shortcut() const override;
75 bool searchInProgress() const override;
76+ bool activationInProgress() const override;
77 bool favorite() const override;
78 unity::shell::scopes::CategoriesInterface* categories() const override;
79 QString searchQuery() const override;

Subscribers

People subscribed via source and target branches