Cancelling sign-in after grading review says "Submitting now…" forever
Bug #745638 reported by
Matthew Paul Thomas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Ubuntu Software Centre 3.1.24.3, Ubuntu Natty daily 20110327
software-
Ubuntu Software Center 5.1.14.1, Ubuntu Precise
0. In a new user account, launch USC.
1. Find a software review.
2. Next to "Was this review helpful?" click "Yes" or "No".
3. In the sign-in dialog, click "Cancel".
What happens:
2. A spinner and "Submitting now…" appears.
3. The spinner and text remain.
What should happen: The spinner and "Submitting now…" text don't appear until you've signed in.
description: | updated |
Changed in software-center (Ubuntu): | |
status: | Opinion → In Progress |
assignee: | nobody → Aaron Peachey (aaronp) |
tags: | added: client-server |
Changed in software-center (Ubuntu): | |
status: | In Progress → Confirmed |
assignee: | Aaron Peachey (aaronp) → nobody |
importance: | Undecided → Low |
description: | updated |
tags: | added: ubuntu-sso |
To post a comment you must log in.
Hi mpt, firstly, the fact that pressing cancel doesn't remove the 'submitting now...' message and return the UI to the 'pre-click' state is an issue that we need to fix.
In regards to the 'what should happen' in yout bug report:
When the user presses on Yes/No to submit usefuleness it spawns the submit usefulness app. This app signs in first before submitting the vote. If the user is already signed in, then the sign in process is just a verification (but distinct from the submitting of the vote), doesn't take very long and doesn't bother the user with additional UI.
However, if they need to sign in then the login window appears.
The issue I have with not showing the spinner and text until you've signed in is that we would be leaving the Yes/No links visible while that sign in process happens. For a user who is already signed in, the time between when they click Yes/No and the time when the spawned app is actually signed in and has commenced submitting the review may confuse them into thinking that their click didn't work and they may try to click again and subsequently spawn another instance of the submit usefulness app.
My reasoning behind implementing 'submitting now...' from the moment they clicked the button was so that the 'background' process was transparent to them (i.e. the distinction between sign in and submit is irrelevant if they don't need to interact - because they're already signed in) and they can simply keep reading reviews while the submit happens.
My suggestion would be to leave it as-is now, but just ensure that we return the usefulness UI to it's original state when the user cancels the sign-in dialog.