Merge lp:~dandrader/unity8/post-prompts-in-prompts-tweaks into lp:unity8

Proposed by Daniel d'Andrada
Status: Merged
Approved by: Nick Dedekind
Approved revision: 1259
Merged at revision: 1275
Proposed branch: lp:~dandrader/unity8/post-prompts-in-prompts-tweaks
Merge into: lp:unity8
Diff against target: 72 lines (+12/-13)
2 files modified
tests/qmltests/Stages/RecursingChildSessionControl.qml (+1/-1)
tests/qmltests/Stages/tst_ApplicationWindow.qml (+11/-12)
To merge this branch: bzr merge lp:~dandrader/unity8/post-prompts-in-prompts-tweaks
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Nick Dedekind (community) Approve
Review via email: mp+233377@code.launchpad.net

Commit message

Some ApplicationWindow test improvements

Description of the change

Some fixes that didn't make into https://code.launchpad.net/~nick-dedekind/unity8/prompts-in-prompts/+merge/232362

* Are there any related MPs required for this MP to build/function as expected? Please list.
No

* 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?
Not applicable

* If you changed the UI, has there been a design review?
Not applicable

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1234. By Launchpad Translations on behalf of unity-team

Launchpad automatic translations update.

1235. By Launchpad Translations on behalf of unity-team

Launchpad automatic translations update.

1236. By Launchpad Translations on behalf of unity-team

Launchpad automatic translations update.

1237. By Nick Dedekind

Support for nested prompt session. Fixes: 1358388, 1363081
Approved by: Michał Sawicz, Daniel d'Andrada

1238. By Albert Astals Cid

Remove unused hasAttributes variable
Approved by: Ying-Chun Liu

1239. By Albert Astals Cid

Disable dash overview if in temp scope preview
Approved by: Michał Sawicz, Andrea Cimitan

1240. By Michał Sawicz

Use a single white pixel instead of the heavier checkers image.
Approved by: Andrea Cimitan

1241. By Diego Sarmentero

- Reset button state on cancel Fixes: 1362622
Approved by: Michał Sawicz

1242. By Albert Astals Cid

Block mouse events under scope overview bottombar Fixes: 1362206
Approved by: Andrea Cimitan

1243. By Michael Terry

Don't show greeter when screen turns off during a call, even if proximity sensor isn't active. Fixes: 1347001
Approved by: Michał Sawicz, Albert Astals Cid

1244. By Albert Astals Cid

Fix regression in focus handling due to SDK change
Approved by: Michael Zanetti, PS Jenkins bot

1245. By Albert Astals Cid

Fix warning 'Background.qml:81:21: Unable to assign bool to QUrl'

Approved by: Michael Zanetti

1246. By Michael Terry

Add support to unlock-device for the new adbd coming down the pipeline. Also fix autopilot tests and run scripts for that.
Approved by: Gerry Boland

1247. By Albert Astals Cid

Fix launcher internationalization

Call textdomain and use X-Ubuntu-Gettext-Domain

bindtextdomain doesn't set the text domain, only the folder the domain has to be looked for. Fixes: 1354516
Approved by: Michael Zanetti

1248. By Albert Astals Cid

Make swipe and home button press in the launcher dismiss the overview

Moved the logic that does not change the current scope on swipe from the shell to the dash Fixes: 1355359
Approved by: Michael Zanetti

1249. By Michael Zanetti

open the application when clicking on the title entry in the quicklist Fixes: 1336380
Approved by: Albert Astals Cid

1250. By Albert Astals Cid

GSV: Use proper variable since altnav renames
Approved by: Michał Sawicz

1251. By Albert Astals Cid

Fix some "Cannot read property 'luminance' of null" warnings

Approved by: Michał Sawicz

1252. By Michał Sawicz

Make LVWPH non interactive while on header animation

Otherwise the contentY change fights with the animation also wanting to change contentY Fixes: 1251597, 1355473
Approved by: Michał Sawicz

1253. By Michał Sawicz

Improve references to scope/scopeStyle in PreviewListView and PageHeader, add tests.
Approved by: Andrea Cimitan, PS Jenkins bot

1254. By Mirco Müller

Implemented the needed visual updates on notifications requested by Design for RTM. Fixes: 1348092, 1365987
Approved by: Daniel d'Andrada

1255. By Michael Zanetti

Don't animate x while dragging apps from the left edge Fixes: 1360105
Approved by: Daniel d'Andrada

1256. By PS Jenkins bot

Releasing 8.00+14.10.20140908.1-0ubuntu1

1257. By PS Jenkins bot

Resync trunk

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

Please run http://people.canonical.com/~msawicz/unity8/strip-u8-tags.py on this branch and any local checkouts you might have.

1258. By Launchpad Translations on behalf of unity-team

Launchpad automatic translations update.

1259. By Daniel d'Andrada

Some test improvements

Revision history for this message
Nick Dedekind (nick-dedekind) wrote :

 * 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 - test succeeds on my machine. Waiting for new CI build

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: 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
Albert Astals Cid (aacid) wrote :

Any reason this is approved but not top approved?

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/qmltests/Stages/RecursingChildSessionControl.qml'
2--- tests/qmltests/Stages/RecursingChildSessionControl.qml 2014-08-29 14:50:49 +0000
3+++ tests/qmltests/Stages/RecursingChildSessionControl.qml 2014-09-10 16:06:39 +0000
4@@ -93,7 +93,7 @@
5 onCheckedChanged: {
6 if (checked) {
7 root.session.createSurface();
8- } else if (root.session.surface) {
9+ } else if (root.session && root.session.surface) {
10 ApplicationTest.removeSurface(root.session.surface);
11 }
12 }
13
14=== modified file 'tests/qmltests/Stages/tst_ApplicationWindow.qml'
15--- tests/qmltests/Stages/tst_ApplicationWindow.qml 2014-09-02 23:25:33 +0000
16+++ tests/qmltests/Stages/tst_ApplicationWindow.qml 2014-09-10 16:06:39 +0000
17@@ -52,20 +52,15 @@
18 application: fakeApplication
19 }
20 }
21- FocusScope {
22- id: appFocus
23+ Loader {
24+ id: applicationWindowLoader
25 anchors {
26 top: parent.top
27 bottom: parent.bottom
28 left: parent.left
29 }
30 width: units.gu(40)
31-
32- Loader {
33- id: applicationWindowLoader
34- anchors.fill: parent
35- sourceComponent: applicationWindowComponent
36- }
37+ sourceComponent: applicationWindowComponent
38 }
39
40 Rectangle {
41@@ -73,7 +68,7 @@
42 anchors {
43 top: parent.top
44 bottom: parent.bottom
45- left: appFocus.right
46+ left: applicationWindowLoader.right
47 right: parent.right
48 }
49
50@@ -384,15 +379,19 @@
51 verify(stateGroup.state === "void");
52 }
53
54- // should be forcing active focus when interactive changes,
55- // which will cause a FocusScope higher in the object hierarchy tp be given the focus
56 function test_forceActiveFocusFollowsInterative() {
57 fakeApplication.createSession();
58 applicationWindowLoader.item.interactive = false;
59 applicationWindowLoader.item.interactive = true;
60 fakeSession.createSurface();
61
62- compare(appFocus.focus, true);
63+ compare(fakeSession.surface.activeFocus, true);
64+
65+ applicationWindowLoader.item.interactive = false;
66+ compare(fakeSession.surface.activeFocus, false);
67+
68+ applicationWindowLoader.item.interactive = true;
69+ compare(fakeSession.surface.activeFocus, true);
70 }
71 }
72 }

Subscribers

People subscribed via source and target branches