Merge lp:~brandontschaefer/unity/lp.1201631-fix into lp:unity

Proposed by Brandon Schaefer
Status: Merged
Approved by: Brandon Schaefer
Approved revision: no longer in the source branch.
Merged at revision: 3461
Proposed branch: lp:~brandontschaefer/unity/lp.1201631-fix
Merge into: lp:unity
Diff against target: 13 lines (+0/-3)
1 file modified
dash/DashView.cpp (+0/-3)
To merge this branch: bzr merge lp:~brandontschaefer/unity/lp.1201631-fix
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Christopher Townsend Approve
Review via email: mp+175670@code.launchpad.net

Commit message

Don't make the ScopeView/DashView/ScrollView Visible on start up (bool wise, causing things to think its ok to render)

Description of the change

The problem is, on start up the home scope is being set to active. Which cause the DashView/ScopeView/ScrollView to all get set to Visible. If the scroll view is visible the Overlay Scroll bar thinks its ok to draw, because it thinks its being rendered... This is not the case.

** Possible regression **

The commit on the code being removed mentioned it fixed dash focus on first start. After testing, I still get focus on first start, but would love someone else to test it out!

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Christopher Townsend (townsend) wrote :

The overlay scrollbar is gone and upon login and opening the Dash, the Dash still has focus and accepts input.

LGTM. +1

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) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'dash/DashView.cpp'
2--- dash/DashView.cpp 2013-07-01 21:19:33 +0000
3+++ dash/DashView.cpp 2013-07-18 20:10:36 +0000
4@@ -1252,9 +1252,6 @@
5 }
6 preview_state_machine_.ActivatePreview(model); // this does not immediately display a preview - we now wait.
7 });
8-
9- if (!active_scope_view_)
10- scope_bar_->Activate(scope->id);
11 }
12
13 void DashView::OnScopeBarActivated(std::string const& id)