Bug 344823

Summary: Lockscreen: Password field does not have focus
Product: [Plasma] ksmserver Reporter: Ragnar Thomsen <rthomsen6>
Component: lockscreenAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: aspotashev, bugs.kde.org, christiandehne, demm, fxrh, glenn.mccarthy, hrvoje.senjan, ingmar, jkt, kde, kensington, lukas.schneiderbauer, mail, mellotanica, nbigaouette, rdieter, s2, samuel.brack, sebas, thomas.luebking, tromzy
Priority: NOR    
Version: 5.2.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 5.3

Description Ragnar Thomsen 2015-03-04 12:44:21 UTC
After upgrading from plasma 5.2.0 to 5.2.1 the password field in the Breeze lock screen does not get focus automatically. You have to click on it or use the tab key.
Comment 1 Elias Probst 2015-03-04 13:24:03 UTC
Affects also current 'master'.
Comment 2 Sebastian Kügler 2015-03-04 14:01:55 UTC
The window doesn't seem  to get focus initially, the problem is not in the lockscreen's QML code.
Comment 3 Bhushan Shah 2015-03-07 07:38:43 UTC
*** Bug 344929 has been marked as a duplicate of this bug. ***
Comment 4 Jan Kundrát 2015-03-09 13:45:00 UTC
*** Bug 344781 has been marked as a duplicate of this bug. ***
Comment 5 Bhushan Shah 2015-03-14 04:09:47 UTC
*** Bug 345125 has been marked as a duplicate of this bug. ***
Comment 6 Kai Uwe Broulik 2015-03-14 21:16:20 UTC
Is there a particular reason all the setFocus() calls in the screenlocker greeter have been commented?
//         w->setFocus(Qt::OtherFocusReason); // FIXME
Comment 7 Thomas Lübking 2015-03-18 08:52:42 UTC
Apparently because QWidget was turned into QWindow
-> "w->requestActivate();"

Some genius managed to nuke the commit history *grrrrrr*
Comment 8 Bhushan Shah 2015-03-25 15:47:09 UTC
Git commit a476e1b6bf6f683bd74000bb30076868c9f92371 by Bhushan Shah.
Committed on 25/03/2015 at 15:40.
Pushed by bshah into branch 'master'.

Workaround the lockscreen password field focus issue

SDDM theme is also doing this.
Approved by notmart and d__ed
FIXED-IN: 5.3

M  +8    -0    lookandfeel/contents/lockscreen/LockScreen.qml

http://commits.kde.org/plasma-workspace/a476e1b6bf6f683bd74000bb30076868c9f92371
Comment 9 Bhushan Shah 2015-03-25 16:34:12 UTC
*** Bug 345469 has been marked as a duplicate of this bug. ***
Comment 10 Ingmar Vanhassel 2015-06-01 10:43:13 UTC
This doesn't seem fixed in 5.3.1.
Whenever my screen locks, the password field isn't in focus.