Merge lp:~mikemc/ubuntuone-credentials/faster-spinner into lp:ubuntuone-credentials
Status: | Merged |
---|---|
Approved by: | Mike McCracken |
Approved revision: | 59 |
Merged at revision: | 57 |
Proposed branch: | lp:~mikemc/ubuntuone-credentials/faster-spinner |
Merge into: | lp:ubuntuone-credentials |
Prerequisite: | lp:~mikemc/ubuntuone-credentials/improve-fontsize-spacing |
Diff against target: |
81 lines (+33/-17) 2 files modified
online-accounts-provider/Main.qml (+16/-0) online-accounts-provider/NewAccount.qml (+17/-17) |
To merge this branch: | bzr merge lp:~mikemc/ubuntuone-credentials/faster-spinner |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Diego Sarmentero (community) | Approve | ||
Roberto Alsina (community) | Approve | ||
Review via email: mp+183776@code.launchpad.net |
Commit message
- Provide faster visual feedback of activity after clicking 'continue'
Description of the change
- Provide faster visual feedback of activity after clicking 'continue'
Use a timer to delay calling slow login/register functions until after the runloop shows the activity indicator.
TO TEST ON SAUCY desktop:
sudo apt-get build-dep ubuntuone-
branch this , cd into it
mkdir build
cmake -DLIB_SUFFIX=
sudo make install
run system-settings.
- click on "accounts" then "Add account", then "Ubuntu One"
try logging in to u1 with a bogus password/username. (make it valid enough to hit the server)
look for the spinner!
it should be in the middle and it should show up right away.
You shouldn't do: width: parent.width, height: parent.height. In that case you should do: anchors.fill: parent, it's faster (for the loadingOverlay rectangle).