Merge lp://staging/~csurbhi/ubuntu/natty/plymouth/plymouth.bug-fix566818 into lp://staging/ubuntu/natty/plymouth
Proposed by
Surbhi Palande
Status: | Merged |
---|---|
Merge reported by: | Steve Langasek |
Merged at revision: | not available |
Proposed branch: | lp://staging/~csurbhi/ubuntu/natty/plymouth/plymouth.bug-fix566818 |
Merge into: | lp://staging/ubuntu/natty/plymouth |
Diff against target: |
158 lines (+105/-5) 5 files modified
debian/changelog (+12/-0) debian/patches/details_removeSeparator.patch (+17/-0) debian/patches/series (+2/-0) debian/patches/ubuntu_details.patch (+47/-0) src/plugins/splash/details/plugin.c (+27/-5) |
To merge this branch: | bzr merge lp://staging/~csurbhi/ubuntu/natty/plymouth/plymouth.bug-fix566818 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Langasek | Needs Fixing | ||
Ubuntu branches | Pending | ||
Review via email: mp+58131@code.staging.launchpad.net |
Description of the change
At boot the user passsword for a crypted device is captured by plymouth when it is available. By default the "details" plugin is used in text based logins. On every key stroke, the "details" plugin in plymouth clears only the current line before overwriting it with the password prompt. If the prompt is multilined then the last line ends up being overwritten but the previous lines are repeated. Reprinting only the last line of the password prompt string on every key press.
Tested on kvm.
Please consider this change for natty.
To post a comment you must log in.
Following are some details of the patch:
1) The patch prints the entire prompt the first time (i.e when number of bullets to be printed is zero). It prints only the last line when the user presses a key (i.e bullets > 0)
2) The patch removes the independent printing of ':' as this is included in the prompt. No other plugin prints the ':' separately. So it makes sense to remove it from here and add it to the default prompt or expect it in the user defined prompt (just like in other plugins)