| Ticket UUID: | 1642050 | |||
| Title: | PasswdDlg <Return> traversal wrong when -passwdstate disable | |||
| Type: | Bug | Version: | None | |
| Submitter: | cbascom | Created on: | 2007-01-23 00:09:37 | |
| Subsystem: | bwidget | Assigned To: | damonc | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2009-06-11 22:29:12 | |
| Resolution: | Accepted | Closed By: | oehhar | |
| Closed on: | 2009-06-11 15:29:12 | |||
| Description: |
Create a PasswdDlg with -passwdstate disabled. Type in the login name and hit Return. It should destroy the dialog and perform the login, but instead it sets focus to the disabled password entry field. I believe the problem is that the -command option for the login entry is always set to [list PasswdDlg::_verifonpasswd $path $frame.labpass] regardless of the value of the -passwdstate option. If the -passwdstate is disabled, the -command option for the login entry should be [list PasswdDlg::_verifonlogin $path $frame.lablog] instead. | |||
| User Comments: |
oehhar added on 2009-06-11 22:29:12:
Bug and reason confirmed. Proposed solution: Check password widget if state disable, confirm if so, otherwise change focus This is in cvs now. Test cases: PasswdDlg .p -passwdstate disabled PasswdDlg .p cbascom added on 2007-01-23 07:09:37: File Added - 212615: diff.txt | |||
Attachments:
- diff.txt [download] added by cbascom on 2007-01-23 07:09:37. [details]
