Commit b9f9581f authored by David Edmundson's avatar David Edmundson
Browse files

Show lockscreen controls when hitting a modifier

Summary:
I tend to press left control to wake my screen. This doesn't reveal the controls
which I found mildly annoying.

Test Plan:
Locked screen pressed random letter, it removed blur and appeared in textbox
Locked screen pressed shift, it removed blur and didn't alter textbox. It timed out as before
Pressed escape. Toggles as before

Reviewers: #plasma, broulik, ngraham

Reviewed By: #plasma, broulik, ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D12494
parent bcde7130
......@@ -107,6 +107,10 @@ PlasmaCore.ColorScope {
mainBlock.mainPasswordBox.text = "";
}
}
Keys.onPressed: {
uiVisible = true;
event.accepted = false;
}
Timer {
id: fadeoutTimer
interval: 10000
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment