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

Proposed by Albert Astals Cid
Status: Merged
Approved by: Daniel d'Andrada
Approved revision: 1303
Merged at revision: 1340
Proposed branch: lp:~aacid/unity8/fix_left_swipe_temp_scope_overview
Merge into: lp:unity8
Diff against target: 33 lines (+10/-1)
2 files modified
qml/Dash/Dash.qml (+2/-1)
qml/Dash/ScopesOverview.qml (+8/-0)
To merge this branch: bzr merge lp:~aacid/unity8/fix_left_swipe_temp_scope_overview
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Daniel d'Andrada (community) Approve
Review via email: mp+236552@code.launchpad.net

Commit message

Close overview temp scope on show dash

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
Daniel d'Andrada (dandrader) wrote :

Dash overview flickers for a moment when you do the left edge drag over a non-favorite scope.

It's better than what happens now (described in the bug), but still it's not nice.

review: Needs Fixing
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

> Dash overview flickers for a moment when you do the left edge drag over a non-
> favorite scope.
>
> It's better than what happens now (described in the bug), but still it's not
> nice.

Video showing the flicker:
https://www.dropbox.com/s/tez3cjl7qrodj5i/video20140930_154640862.mp4?dl=0

1303. By Albert Astals Cid

Do the overview temp closing later to prevent a quick show of the overview and don't animate either if we are on the overview temp scope

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

> Dash overview flickers for a moment when you do the left edge drag over a non-
> favorite scope.
>
> It's better than what happens now (described in the bug), but still it's not
> nice.

Should be fixed now, please re-check.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

it's ok now

review: Approve
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes. It's fine.

* Did CI run pass? If not, please explain why.
No. Seem to be unrelated failures

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

1304. By Albert Astals Cid

Merge

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)

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 2014-10-06 08:00:45 +0000
3+++ qml/Dash/Dash.qml 2014-10-06 15:57:12 +0000
4@@ -41,8 +41,9 @@
5 if (window.active) {
6 dashContentCache.scheduleUpdate();
7 }
8- overviewController.enableAnimation = window.active;
9+ overviewController.enableAnimation = window.active && !scopesOverview.showingNonFavoriteScope;
10 overviewController.progress = 0;
11+ scopesOverview.closeTempScope();
12 }
13 }
14 }
15
16=== modified file 'qml/Dash/ScopesOverview.qml'
17--- qml/Dash/ScopesOverview.qml 2014-09-18 21:23:55 +0000
18+++ qml/Dash/ScopesOverview.qml 2014-10-06 15:57:12 +0000
19@@ -98,6 +98,14 @@
20 value: progress === 1
21 }
22
23+ function closeTempScope() {
24+ if (tempScopeItem.scope) {
25+ root.scope.closeScope(tempScopeItem.scope);
26+ tempScopeItem.scope = null;
27+ tempScopeItem.backClicked()
28+ }
29+ }
30+
31 function animateDashFromAll(scopeId) {
32 var currentScopePos = allScopeCardPosition(scopeId);
33 if (currentScopePos) {

Subscribers

People subscribed via source and target branches