checkbox-cli doesn't wait for password before filling the screen with dots while "gathering information"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
High
|
Unassigned |
Bug Description
When the user runs checkbox-cli, the user gets the intro prompt saying "Press any key to continue..."
Once the user hits a key, the next prompt is "Gathering information from your system..." at which point gksu or whatever is run to get the sudo privileges from the user to run the root level jobs. The problem is that, while on checkbox-gtk, the user gets a separate password popup, on cli, the progress meter (the dots that are printed to screen to indicate checkbox is doing something) can end up covering over the prompt for the password, making for a very confusing ui. For example, my screen looked like this:
Gathering information from your system...
.[sudo[ password for bladernr: .......
.......
The line of "."'s had gotten well across the screen before I was ever ready to enter the password.
So I think that either the sudo part should be moved to happen immediately before the "gathering info" appears, or at the least, the progress dots should not start until after the user password or sudo privileges have been obtained.
I also took a picture of my actual monitor showing what happened... for clarity sake.
Related branches
- Brendan Donegan (community): Disapprove
- Zygmunt Krynicki (community): Approve
- Jeff Lane : Pending requested
-
Diff: 26 lines (+3/-2)2 files modifiedcheckbox_cli/cli_interface.py (+1/-2)
debian/changelog (+2/-0)
- Brendan Donegan (community): Approve
- Daniel Manrique (community): Needs Resubmitting
-
Diff: 115 lines (+25/-7)2 files modifiedcheckbox_cli/cli_interface.py (+22/-7)
debian/changelog (+3/-0)
Changed in checkbox: | |
milestone: | 0.13.5 → 0.13.6 |
Changed in checkbox: | |
assignee: | nobody → Brendan Donegan (brendan-donegan) |
status: | Confirmed → In Progress |
Changed in checkbox: | |
assignee: | Brendan Donegan (brendan-donegan) → nobody |
Changed in checkbox: | |
status: | In Progress → Fix Committed |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
Here's a photo of my monitor taken before I actually had a chance to enter my password to continue with checkbox