This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 181707

Summary: Master password dialog text should indicate whether new or existing password is required
Product: platform Reporter: Vladimir Kvashin <vkvashin>
Component: Options&SettingsAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal CC: anebuzelsky
Priority: P3 Keywords: UI
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173413    

Description Vladimir Kvashin 2010-03-09 10:23:13 UTC
Many users experienced the same difficulty with keyring:
when a master password dialog appears, it's unclear whether user is asked for a password to check or just to enter it first time.

From end user point of view these cases are quite different. In the case it's first time, "change" option does not make sense at all; user should think out a good password and enter it. On subsequent calls user should remember, which password has (s)he once entered and enter it exactly.

This really irritated each user I knew who faced this dialog.
Comment 1 Jesse Glick 2010-03-23 20:33:36 UTC
The dialog already says to either enter a new password or type in the same password you entered before. But should be able to change UI according to whether one has been entered before; may need to change how EncryptionProvider works a bit to differentiate between the two cases.
Comment 2 Jesse Glick 2010-03-23 20:35:08 UTC
Anyway this dialog is only used for platforms which lack a native keyring, which should be quite rare (just Solaris 10, tracked separately).
Comment 3 Jesse Glick 2010-04-12 21:59:20 UTC
Disabling "Change..." section the first time the dialog is shown. Should suffice in combination with explanatory text.

core-main #e2ff718237b5
Comment 4 Quality Engineering 2010-04-13 17:35:51 UTC
Integrated into 'main-golden', will be available in build *201004131450* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e2ff718237b5
User: Jesse Glick <jglick@netbeans.org>
Log: #181707: different GUI in case no master password has yet been set.