[SDDM Theme] Select all and focus password field on error
ClosedPublic

Authored by broulik on Sep 14 2016, 6:51 AM.

Details

Summary

When logging in failed, focus the password field and select all, so you can start typing a new password thereafter. I did the same in the lock screen.

There's a workaround for a bug which draws focus away from the password field on login but never put it back if logging in failed.

Test Plan

qmlscene

Entered something, pressed return, waited for error, password field was focused and selected and I could start typing a new password.

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik updated this revision to Diff 6711.Sep 14 2016, 6:51 AM
broulik retitled this revision from to [SDDM Theme] Select all and focus password field on error.
broulik updated this object.
broulik edited the test plan for this revision. (Show Details)
broulik added a reviewer: Plasma.
broulik set the repository for this revision to R120 Plasma Workspace.
Restricted Application added a project: Plasma. · View Herald TranscriptSep 14 2016, 6:51 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.Sep 14 2016, 9:33 AM
mart added a reviewer: mart.
This revision is now accepted and ready to land.Sep 14 2016, 9:33 AM
This revision was automatically updated to reflect the committed changes.