[Lock Screen] Do not try to unlock when unvisible

Authored by thsurrel on Oct 15 2018, 10:19 AM.

Description

[Lock Screen] Do not try to unlock when unvisible

Summary:
In the lock screen, pressing the enter key while the UI is not yet
visible ends up trying to unlock (and would usually fail because the
password field is empty).
Ensure that the UI is visible before unlocking.

BUG: 395671

Test Plan:
Lock the session, press enter. The UI should appear without any
"Unlocking failed" message.

Reviewers: Plasma, VDG, ngraham, davidedmundson

Reviewed By: Plasma, VDG, ngraham, davidedmundson

Subscribers: ngraham, davidedmundson, abetts, filipf, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D16219

Details

Committed
thsurrelOct 17 2018, 8:53 PM
Reviewer
Plasma
Differential Revision
D16219: [Lock Screen] Do not try to unlock when unvisible
Parents
R120:c7e9f1242aea: Update version number for 5.14.1 GIT_SILENT
Branches
Unknown
Tags
Unknown