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

Proposed by Albert Astals Cid
Status: Merged
Approved by: Michael Zanetti
Approved revision: 1524
Merged at revision: 1547
Proposed branch: lp:~aacid/unity8/bottomEdgeArrow1401869
Merge into: lp:unity8
Diff against target: 14 lines (+2/-2)
1 file modified
qml/Dash/Dash.qml (+2/-2)
To merge this branch: bzr merge lp:~aacid/unity8/bottomEdgeArrow1401869
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Michael Zanetti (community) Approve
Andrea Cimitan Pending
Review via email: mp+245721@code.launchpad.net

Commit message

Don't show the manage dash pull up arrow on temp scopes

Description of the change

 * Are there any related MPs required for this MP to build/function as expected?
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?
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
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Andrea Cimitan (cimi) wrote :

would it be possible to add a test for this? like from a temp scope test, add a check for the opacity.
otherwise, seems to work fine

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

There's a problem with adding a test, between clicking the temporary scope and the scope being shown, there's some cycles in between spent in the scope backend in scope.activate so i can not add a compare() call just after the click because it will fail.

I can add a tryCompare call but then it would still pass without the patch because it did eventually go back to 0 opacity.

So i did not find a sane way to test this patch actually does something :/

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?

yes

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

no. unrelated AP failure

 * 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)
1525. By Albert Astals Cid

Merge lp:unity8

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'qml/Dash/Dash.qml'
2--- qml/Dash/Dash.qml 2015-01-09 10:39:55 +0000
3+++ qml/Dash/Dash.qml 2015-01-12 08:31:44 +0000
4@@ -304,8 +304,8 @@
5 Image {
6 source: "graphics/overview_hint.png"
7 anchors.horizontalCenter: parent.horizontalCenter
8- opacity: (scopeItem.scope ? scopeItem.pageHeaderTotallyVisible : scopes.count == 0 || dashContent.pageHeaderTotallyVisible) &&
9- (overviewDragHandle.enabled || bottomEdgeController.progress != 0) ? 1 : 0
10+ opacity: !scopeItem.scope && (scopes.count == 0 || dashContent.pageHeaderTotallyVisible) &&
11+ (overviewDragHandle.enabled || overviewDragHandle.status.progress != 0) ? 1 : 0
12 Behavior on opacity {
13 enabled: bottomEdgeController.progress == 0
14 UbuntuNumberAnimation {}

Subscribers

People subscribed via source and target branches