sddm: Don't make the users list visibility depend on the input method

It induces a focus loop where we end up changing between 2 text fields
and the virtual keyboard goes bonkers.
wilder-5.25
Aleix Pol 4 years ago committed by Aleix Pol Gonzalez
parent 3177cb77ff
commit 804f3cec04
  1. 4
      sddm-theme/Main.qml

@ -176,7 +176,7 @@ PlasmaCore.ColorScope {
showUserList: { showUserList: {
if (!userListModel.hasOwnProperty("count") if (!userListModel.hasOwnProperty("count")
|| !userListModel.hasOwnProperty("disableAvatarsThreshold")) { || !userListModel.hasOwnProperty("disableAvatarsThreshold")) {
return (userList.y + mainStack.y) > 0 return false
} }
if (userListModel.count === 0 ) { if (userListModel.count === 0 ) {
@ -187,7 +187,7 @@ PlasmaCore.ColorScope {
return false return false
} }
return userListModel.count <= userListModel.disableAvatarsThreshold && (userList.y + mainStack.y) > 0 return userListModel.count <= userListModel.disableAvatarsThreshold
} }
notificationMessage: { notificationMessage: {

Loading…
Cancel
Save