Summary: | Set the focus to password textbox in User Bar theme. | ||
---|---|---|---|
Product: | [Plasma] lightdm | Reporter: | Rafael <EagleScreen> |
Component: | greeter | Assignee: | David Edmundson <kde> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | michal |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 0.2.2 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Rafael
2012-05-08 21:50:41 UTC
I don't want to just assign focus to the password box. If you're logging in you need to have focus to select the user first, otherwise you'd have to unselect from the password box to something that logically comes first. However the problem you have is still valid, so what I've done is the following: - focus is on the user selection - if you press a key that is not "left" or "right" cursors it puts focus on the password box, and copies across the letter you pressed What this means is if you're already selected the correct user you can just start typing. Or you can press left/right and then just start typing a password. Pressing enter straight away will focus the password box. Typing and then pressing enter will start a login. (needs to go through review, will then merge) *** Bug 300383 has been marked as a duplicate of this bug. *** > Git commit 87c84950216d779af139c15b051a6e8cd24bee93 by David Edmundson. > Committed on 30/07/2012 at 12:05. > Pushed by davidedmundson into branch 'master'. > > Improve keyboard handling in Userbar theme > > When pressing any character whilst the user selection has focus, this character will be passed to the password input > When pressing escape in the password input, focus is returned to the user selection > > REVIEW: 105789 > > M +24 -0 themes/userbar/main.qml > > http://commits.kde.org/lightdm/87c84950216d779af139c15b051a6e8cd24bee93 |