Summary:
Similar to D4893, use a state machine to track the status of the
keyboard and animate the open/close.
this improves also the layout on low and weird resolutions when
there isn't much available space
Test Plan:
tested with many different window sizes, to make sure it
behaves better than before
Reviewers: #plasma, davidedmundson, graesslin, broulik
Reviewed By: #plasma, broulik
Subscribers: apol, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D5254
Summary:
Just like in the lock screen this adds support for virtual keyboard.
Note: this requires adjustments in sddm, the greeter must specify the
env variable QT_IM_MODULE=qtvirtualkeyboard to have the virtual keyboard
shown.
If the virtual keyboard is not available, the button to enable it will
not be shown.
Test Plan: run in qmlscene
Reviewers: #plasma
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D5061
Summary:
take into account the size of the empty area before the
user icons, make the clock disappear when there isn't
enough room for it anymore, as user icons
are more important. Same change in queue for
the lock screen as well
Test Plan:
tested in sddm test ui, resized the window to different sizes
to veryfy the layout looks sane in different conditions and
that disappears first the clock, then the user list and the
input fields always stay uncovered
replaces D5063
Reviewers: #plasma, graesslin, davidedmundson
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D5126
When we default to the user input we would not remember the user name.
CHANGELOG: Login screen now remembers the last user name for domain logins where the user list is unavailable
Differential Revision: https://phabricator.kde.org/D3462
Summary:
If the user list is empty (for example, because regular users are hidden
or sddm's configuration includes something like MinimumUid=2000)
show directly the username/password textboxes instead of an empty
user list.
Test Plan:
I edited /etc/sddm.conf and added MinimumUid=2000 to the [Users] group,
then restarted sddm.
Reviewers: #plasma, davidedmundson
Reviewed By: #plasma, davidedmundson
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D3128
This patch reworks the Background component in the SDDM theme to
support distinct "image" and "color" modes, with a background image
being displayed in the former mode and a solid colour in the latter.
It further adds the background colour and the background type to
the configuration file.
Fixes D2983
Summary:
Renamed userPrompt to userPromptComponent and add an id
(userListComponent) to the initialItem Login component.
Disable user list when there are too many users in the system
In sddm 0.14, there's a userModel.disableAvatarsThreshold property
that defines how many users are "too many" in the system so loading of
avatars should be disabled. This commit honors that property, so if
there are more than disableAvatarsThreshold users, then the user list
is disabled and a prompt is shown to ask for a username and password.
If the property is not available (for example, because sddm 0.13 is
being used) then it works as usual.
This threshold is specially useful for large enterprises with NFS
automounted home directories. In such environments, using sddm while
avatars are enabled results in all remote home directories being
mounted in the system before one user is able to log in. This has been
reported to take hours in cases with thousands of users.
By default the threshold has a value of 7, but it can be modified
in sddm.conf, under the Theme section, in the
UsersThresholdToDisableAvatars variable.
Reviewers: #plasma, davidedmundson
Reviewed By: #plasma, davidedmundson
Subscribers: davidedmundson, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D2874
Summary:
Restore the previous hack we had in old themes; but now it's
investigated properly.
Interestingly, a completely different bug to the lock screen.
Reviewers: #plasma
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D2559
Summary:
Implements the new SDDM theme
Code is written with the intention to easily port the lock screen
All SDDM related code is now shifted into Main with Login.qml acting as
an abstraction layer.
Test Plan: Ran it, against the awesome mock data.
Reviewers: #plasma, mart
Reviewed By: mart
Subscribers: bshah, mart, apol, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D2399
Summary:
Currently we install sddm theme twice, once where sddm expects theme and
another in look&feel package. This duplicate installation is not really
a good idea because one in look-and-feel is completely unused.
Reviewers: davidedmundson, mart, sitter
Reviewed By: sitter
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D2351
This is a part from yet another new login screen design which I find much nicer.
It's pretty late in the cycle so let's just only add the new clock and then
do the rest later.
Also minute align the clock data engine and only poll every 60s instead of every second
Summary: Implemented the new login screen as designed by Andreas
Test Plan: As there is a dummydata folder, simply run qmlscene Main.qml
to test
Reviewers: #plasma
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D1670
Display the grey login strip in sddm on every screen separated instead
of displaying one strip that goes over all screens.
The latter could result in a password promt or user selection that is
subdivided into two parts on two screens.
This commit displays the strip on every screen (like the background
image) so it won't be subdivided anymore.
REVIEW: 123124