1st login when purchasing software does not remember username
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Fix Released
|
High
|
Michael Vogt | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When a user is purchasing software the first login screen does not remember the username that was previously used to login, this can be provided as a hint since we know the username in the client and open the login.
TEST CASE:
- use precise
- click "buy" a zero-cost application like "knightstour"
- verify that the email field is not populated
- install the version from precise-proposed
- click on "enable recommendations" in the main lobby view (to trigger a login that in turn will trigger entering the mail address)
- click on "buy" for a zero-cost or for-purchase application
- verify that this time the email field is not blank
Regression potential: If that breaks, the user will have to manually enter his/her email.
Related branches
- Gary Lasker (community): Approve
-
Diff: 147 lines (+61/-2)5 files modifiedsoftwarecenter/backend/ubuntusso.py (+5/-0)
softwarecenter/config.py (+5/-0)
softwarecenter/ui/gtk3/views/purchaseview.py (+2/-0)
softwarecenter/ui/gtk3/widgets/webkit.py (+28/-0)
tests/gtk3/test_webkit.py (+21/-2)
Changed in software-center (Ubuntu): | |
importance: | Undecided → High |
Changed in software-center (Ubuntu): | |
status: | New → In Progress |
Changed in software-center (Ubuntu): | |
assignee: | nobody → Michael Vogt (mvo) |
Changed in software-center (Ubuntu): | |
status: | In Progress → Fix Committed |
description: | updated |
description: | updated |
Changed in software-center (Ubuntu Quantal): | |
status: | New → Fix Released |
What we have readily availabe in the gnome-keyring is the openid ID of the user. This could be send to the server.
Alternatively we can cache the username in the config and use that.