Bug 17073

Summary: sddm - keyboard/input focus not on correct field initially
Product: Mageia Reporter: Frank Griffin <ftg>
Component: RPM PackagesAssignee: Florian Hubold <doktor5000>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: doktor5000
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/sddm/sddm/issues/501
Whiteboard:
Source RPM: sddm CVE:
Status comment:

Description Frank Griffin 2015-11-03 03:07:39 CET
When SDDM initializes, the focus is never on the correct field.

At the first use of a freshly-installed system, the User field is not filled in, and the focus should be on that field, but it is not.  Moreover, the Password field is filled in with a non-blank value containing god-knows-what (it displays only as bullet glyphs).

After a successful login, the last-logged-in user is filled in in the User field, and the Password field is blank.  In this case, the focus should be on the Password field, but it is not.

In both cases, it isn't clear where the focus actually is, but typing doesn't enter data in any modifiable field on the screen.

Reproducible: 

Steps to Reproduce:
David Walser 2015-11-03 23:40:15 CET

Assignee: bugsquad => doktor5000

Comment 1 Florian Hubold 2015-11-05 19:25:35 CET
That is with which theme, and what sddm version?

Can reproduce that on a single-user system, the only user is filled in in User field, but password field will be empty, no glyph filled in. Focus is on no field at all, and tab will not cycle through input areas.

There may be an issue with multi-monitor setup: https://github.com/sddm/sddm/issues/514 but to me this issue sounds like https://github.com/sddm/sddm/issues/501

I'll try to play a little with the workaround for the theme mentioned in which seems to enable the focus. See https://github.com/sddm/sddm/issues/501#issuecomment-147101026 and https://github.com/sddm/sddm/issues/501#issuecomment-153084546

Thanks for the report.

Status: NEW => ASSIGNED
URL: (none) => https://github.com/sddm/sddm/issues/501
CC: (none) => doktor5000
Hardware: x86_64 => All
Summary: focus not on correct field initially => sddm - keyboard/input focus not on correct field initially

Comment 2 Florian Hubold 2015-11-05 19:35:38 CET
FWIW, the originally expected behaviour regarding focus seems described here: https://github.com/sddm/sddm/issues/197 but seems this is somehow working differently since the move to Qt5, but have to mess around with the themes more.
Comment 3 Florian Hubold 2015-11-05 20:26:45 CET
After a short test, the workaround to enable autofocus works fine. I've just submitted sddm-0.12.0-4.mga6, please test once it hits your mirror.
Comment 4 Frank Griffin 2015-11-06 01:35:02 CET
sddm-0.12.0-3.mga6.x86_64.rpm and whatever the default theme is.

I agree, both links (the bug and the expected behavior) are spot on, thanks.
Comment 5 Frank Griffin 2015-11-16 15:17:03 CET
This appears to be fixed now.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED