[Bug 980201] New: Opensuse sddm theme always selects password textfield
http://bugzilla.opensuse.org/show_bug.cgi?id=980201 Bug ID: 980201 Summary: Opensuse sddm theme always selects password textfield Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE Workspace (Plasma) Assignee: opensuse-kde-bugs@opensuse.org Reporter: luizluca@tre-sc.jus.br QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hello, When loginPrompt.showUserList is false (a login textfield is shown), sddm theme always selects the password field. This is annoying for the first login or when the last user login is not saved. This affects all distributions that uses sddm (42.1, tumbleweed) I changed the UserPasswordPrompt component to conditionally focus one or other component. --- /usr/share/sddm/themes/breeze/components/UserPasswordPrompt.qml 2016-03-27 14:06:41.000000000 -0300 +++ /usr/share/sddm/themes/breeze/components/UserPasswordPrompt.qml 2016-05-16 16:38:47.349625894 -0300 @@ -38,7 +38,7 @@ Timer { interval: 200 running: parent.visible - onTriggered: passwordInput.forceActiveFocus() + onTriggered: userModel.lastUser && (userModel.lastUser.length != 0) ? passwordInput.forceActiveFocus() : usernameInput.forceActiveFocus() } //end hack This seems to work ;-) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=980201 http://bugzilla.opensuse.org/show_bug.cgi?id=980201#c1 Fabian Vogt <fabian@ritter-vogt.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |fabian@ritter-vogt.de Resolution|--- |FIXED --- Comment #1 from Fabian Vogt <fabian@ritter-vogt.de> --- The new sddm theme (Plasma 5.8+) has this already: focus: showUsernamePrompt && !lastUserName //if there's a username prompt it gets focus first, otherwise password does -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com