[users] change button should be unactive by default

Bug #1290808 reported by Vasil Yakauleu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-control-center (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Ubuntu 14.04 Fresh install of daily build iso of 9March2014 + updates. Reproducible in VM and on real machine

Steps to reproduce:
1. Navigate to the System Settings
2. Choose User Accounts
3. Click on Password field to change user password (without Unlocking)
4. Enter correctly old password and New password and Confirmation for new password

Actual result:
3. Change button is available when nothing entered for old and new password fields
4. "Change" button is inactive (not clickable) - see screenshot attached

Expected result:
3. "Change" button should not be available when nothing entered for old and new password fields
4. "Change" button should be available and when clicked then user password should be changed

About Unlocking:
User do not need to unlock dialog when s/he wants to change his/her own password. When user wants to change password for another user - only then s/he need to Unlock dialog
It is implemented so and works as expected

About asking user password when s/he wants to change his/her own password:
When user wants to change his/her own password, then there is no sence to ask user to enter his/her password to perform password changing operation, because user has already entered it for old password field

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unity-control-center 14.04.3+14.04.20140310-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-16.36-generic 3.13.5
Uname: Linux 3.13.0-16-generic i686
ApportVersion: 2.13.3-0ubuntu1
Architecture: i386
CurrentDesktop: Unity
Date: Tue Mar 11 14:00:51 2014
ExecutablePath: /usr/bin/unity-control-center
InstallationDate: Installed on 2014-03-10 (1 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20140309)
SourcePackage: unity-control-center
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_unity-control-center:
 activity-log-manager 0.9.7-0ubuntu10
 deja-dup 29.5-0ubuntu2

Related branches

Revision history for this message
Vasil Yakauleu (vasilbelarus) wrote :
Revision history for this message
Jörg Frings-Fürst (jff-de) wrote :

Hi Vasil,

you must first press "unlock" (top right)

Jörg

Changed in unity-control-center (Ubuntu):
status: New → Invalid
Revision history for this message
Vasil Yakauleu (vasilbelarus) wrote :

My bad, now I see.

Revision history for this message
Vasil Yakauleu (vasilbelarus) wrote :

But why this new window opens if password cannot be changed without unlocking first?

Revision history for this message
Vasil Yakauleu (vasilbelarus) wrote :

Finaly - it is not my bad!!!
Bug exists - user do not need to unlock this page firs - see steps below:
1. Navigate to the System Settings
2. Choose User Accounts
3. Click on Password field to change user password (without unlocking)
4. Click "Change" button > user prompted to enter password
5. Enter correctly old password and New password and Confirmation for new password and click "Change" button again

Actual result:
4. Change button is available when nothing entered for old and new password fields
5. Button is working and password changed

Expected result:
4. Button should not be available - it is a separate bug, because after you start typing this button will turn unavailable until passwords correct.
5. Now it works as expected, but only if on step 4 "Change" button clicked. When you start typing without clicking "Change" button first then this button will never get available

Changed in unity-control-center (Ubuntu):
status: Invalid → New
description: updated
description: updated
Revision history for this message
Vasil Yakauleu (vasilbelarus) wrote :

Found one more problem here, see below
1. Navigate to the System Settings
2. Choose User Accounts
3. Click on Password field to change user password (without unlocking)
4. Click "Change" button > user prompted to enter password
5. Enter correctly old password and New password (make sure you know it and can remember for later use) and Confirmation for new password and click "Change" button again
!!!On the next step your password will be changed to the new one entered abowe!!!
6. When asked for password click cancel and do not enter your current password

Actual result:
6. User was asked for password, but proceed successfully without entering password at all

description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, your bug report is a bit confusing and your comments seems to describe similar but different issues. Reading through it, it seems the main issue is that the "change" button is active by default when it should only work once the infos are entered (the other issues are side effect of you clicking on it without entering the details, that shouldn't be possible to do)

summary: - Cannot change user password in System Settings. Button inactive
+ [users] change button should be unactive by default
Changed in unity-control-center (Ubuntu):
importance: Undecided → High
status: New → Confirmed
tags: added: ubuntu-desktop-trusty
Revision history for this message
Vasil Yakauleu (vasilbelarus) wrote :

To summ up all information:

Issue-1: "change" button is active by default when it should only work once the infos are entered

Issue-2: User promted to enter password and can proceed successfully without entering password. See steps below:
1. Navigate to the System Settings
2. Choose User Accounts
3. Click on Password field to change user password (without unlocking)
4. Enter correctly old password and New password (make sure you know it and can remember for later use) and Confirmation for new password and click "Change" button again
!!!On the next step your password will be changed to the new one entered abowe
5. When asked for password click cancel and do not enter your current password
Actual result:
5. User was asked for password, but proceed successfully without entering password

Revision history for this message
Sebastien Bacher (seb128) wrote :

Can you open another bug for the second issue?

Revision history for this message
Vasil Yakauleu (vasilbelarus) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-control-center - 14.04.3+14.04.20140319-0ubuntu1

---------------
unity-control-center (14.04.3+14.04.20140319-0ubuntu1) trusty; urgency=low

  [ Sebastien Bacher ]
  * users: set the change password button to inactive by default (LP:
    #1290808)
  * users: don't make accountsservice calls when not needed (LP:
    #1293705)
  * users: don't display the ecryptfs-verify output on stdout

unity-control-center (14.04.3+14.04.20140317-0ubuntu2) trusty; urgency=low

  * Disable the input/output bar when no input/output devices (LP: #1291862)
 -- Ubuntu daily release <email address hidden> Wed, 19 Mar 2014 14:43:40 +0000

Changed in unity-control-center (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.