@@ -30,6 +30,7 @@ StyledItem {
3030 property bool locked
3131 property bool waiting
3232 property alias boxVerticalOffset: highlightItem.y
33+ property string _realName
3334
3435 readonly property alias passwordInput: passwordInput
3536 readonly property int numAboveBelow: 4
@@ -136,6 +137,17 @@ StyledItem {
136137 }
137138
138139 height: root.highlightedHeight
140+ Label {
141+ // HACK: Work around https://github.com/ubports/unity8/issues/185
142+ text: _realName ? _realName : LightDMService.greeter.authenticationUser
143+ visible: userList.count == 1
144+ anchors {
145+ left: parent.left
146+ top: parent.top
147+ topMargin: units.gu(2)
148+ leftMargin: units.gu(2)
149+ }
150+ }
139151 }
140152
141153 ListView {
@@ -193,6 +205,7 @@ StyledItem {
193205
194206 FadingLabel {
195207 objectName: "username" + index
208+ visible: userList.count != 1 // HACK Hide username label until someone sorts out the anchoring with the keyboard-dismiss animation, Work around https://github.com/ubports/unity8/issues/185
196209
197210 anchors {
198211 left: parent.left
@@ -207,6 +220,8 @@ StyledItem {
207220 color: userList.currentIndex !== index ? theme.palette.normal.raised
208221 : theme.palette.normal.raisedText
209222
223+ Component.onCompleted: _realName = realName
224+
210225 Behavior on anchors.topMargin { NumberAnimation { duration: root.moveDuration; easing.type: Easing.InOutQuad; } }
211226
212227 Rectangle {